mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-26 01:46:18 -05:00
Updating pi-gen readme to include branch instructions.
This commit is contained in:
parent
3d12c29cf2
commit
6c04e63637
1 changed files with 14 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue