Updating pi-gen readme to include branch instructions.

This commit is contained in:
Roland 2024-10-02 20:39:45 -06:00
parent 3d12c29cf2
commit 6c04e63637
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -1,13 +1,23 @@
# Pi-Gen
This directory exists to facilitate the creation of WROLPI Raspberry Pi OS images.
See https://github.com/RPI-Distro/pi-gen
## Generate 64bit Raspberry Pi WROLPi image
1. Convert a map PBF file to your initial map DB dump:
* `docker run --rm -v /home/user/district-of-columbia-230111.osm.pbf:/data/region.osm.pbf lrnselfreliance/osm-map-dumper | gzip > pi-gen/stage2/04-wrolpi/files/gis-map.dump.gz`
2. Run the build.
* `sudo ./build.sh`
docker run --rm -v /home/user/district-of-columbia-230111.osm.pbf:/data/region.osm.pbf lrnselfreliance/osm-map-dumper | gzip > pi-gen/stage2/04-wrolpi/files/gis-map.dump.gz
2. Run the build (or, with a specific git branch)
* Build master branch
sudo ./build.sh
* Build specific branch
sudo ./build.sh -b release-candidate
3. The images are now in the `pi-gen` directory.