https://github.com/raspberrypi/pi-gen-micro
A tool for building minimal Raspberry Pi OS-based operating systems, which do not contain apt or dpkg.
https://github.com/raspberrypi/pi-gen-micro
Last synced: 3 months ago
JSON representation
A tool for building minimal Raspberry Pi OS-based operating systems, which do not contain apt or dpkg.
- Host: GitHub
- URL: https://github.com/raspberrypi/pi-gen-micro
- Owner: raspberrypi
- License: apache-2.0
- Created: 2024-08-20T11:15:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-02-13T15:42:24.000Z (4 months ago)
- Last Synced: 2025-03-31T04:07:08.683Z (3 months ago)
- Language: Shell
- Homepage: https://www.raspberrypi.com/software
- Size: 628 KB
- Stars: 87
- Watchers: 8
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Pi-gen Micro
Richard Oliverpi-gen-micro is a system designed to build *tiny* embedded operating systems from the same package sources as Raspberry Pi OS.
Why? Because this means you get the latest hardware support and updates in line with a widely-used and tested OS.
== Installing
=== Build the package
Use the standard Debian `devscripts` package:
```
sudo apt install -y devscripts
debuild -uc -us
```=== Installing the package
```
sudo dpkg -i ../pi-gen-micro_0.0.1-1_arm64.deb
```== Usage
```
sudo pi-gen-micro ${CONFIGURATION_NAME}
```For example, the `fastboot` gadget used by `rpi-sb-provisioner`:
```
pushd $(mktemp -d)
sudo pi-gen-micro fastboot
```== Updating packages for use with `pi-gen-micro`
```
cd packages
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
```