From 6c04e6363716caaf9edf9d9f739176665feb6dce Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 2 Oct 2024 20:39:45 -0600 Subject: [PATCH] Updating pi-gen readme to include branch instructions. --- pi-gen/README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pi-gen/README.md b/pi-gen/README.md index cc6c0a34..757c5af7 100644 --- a/pi-gen/README.md +++ b/pi-gen/README.md @@ -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.