wrolpi/pi-gen
2025-01-10 11:33:21 -07:00
..
stage2/04-wrolpi Using iostat to detect busy disk issues, reporting them in the UI. Detecting under-voltage/over-current issues using dmesg and reporting them in the UI. 2025-01-10 11:33:21 -07:00
build.sh Changing RPi WPA Country to avoid wifi warning. 2025-01-05 12:04:57 -07:00
config.txt Changing RPi WPA Country to avoid wifi warning. 2025-01-05 12:04:57 -07:00
README.md Converting map blob to use "custom" postgres dump format so restore can use multiple threads. Renaming map db blob from gis-map.dump.gz to map-db-gis.dump. 2025-01-02 12:04:03 -07:00

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/map-db-gis.dump
    
  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.