improve packer doc

This commit is contained in:
rootzoll 2024-03-07 18:55:49 +01:00
parent b02db0b46c
commit c5fedf71c2
2 changed files with 7 additions and 4 deletions

View file

@ -9,12 +9,15 @@
* Make sure the packer script is in root of the 128GB-USBDrive
* If it is not there download:
* `curl -O -L https://raw.githubusercontent.com/raspiblitz/raspiblitz/dev/ci/packer.sh`
* Security read/check script and then start build with (replace parameters):
* `sudo bash ./packer.sh [BRANCH] [arm|x86] [min|fat] [?LASTCOMMITHASH]`
* Security read/check script and compare checksum:
* `shasum -a 256 ./ci/packer.sh` or
* `shasum -a 256 packer.sh`
* Start build with:
* `sudo bash ./packer.sh` and enter:
* `BRANCH` = the branch name on this repo of which the image should be build
* `[arm|x86]` = The architecture the image is targeting (RaspberryPi = `arm`)
* `[min|fat]` = lean or fatpack (fatpack prepackages lots of apps already with the image)
* `LASTCOMMITHASH` (optional) = security check & copy the latest commit hash of the branch you want to build
* `LASTCOMMITHASH` (optional) = security check & copy the latest commit hash of the branch you want to build (substring is ok)
### What is the process of creating a new RaspberryPi SD card image release manually?

View file

@ -31,7 +31,7 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
# by input
read -p "Press ENTER to continue or CTRL+C to exit"
read -p "Enter the branch to build (default: dev): " BRANCH
read -p "Enter the branch to build: " BRANCH
read -p "Enter the architecture to build (arm|x86): " ARCH
read -p "Enter the type to build (min|fat): " TYPE
read -p "Enter the last commit hash to check (optional): " COMMITHASH