mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
improve packer doc
This commit is contained in:
parent
b02db0b46c
commit
c5fedf71c2
2 changed files with 7 additions and 4 deletions
|
@ -9,12 +9,15 @@
|
||||||
* Make sure the packer script is in root of the 128GB-USBDrive
|
* Make sure the packer script is in root of the 128GB-USBDrive
|
||||||
* If it is not there download:
|
* If it is not there download:
|
||||||
* `curl -O -L https://raw.githubusercontent.com/raspiblitz/raspiblitz/dev/ci/packer.sh`
|
* `curl -O -L https://raw.githubusercontent.com/raspiblitz/raspiblitz/dev/ci/packer.sh`
|
||||||
* Security read/check script and then start build with (replace parameters):
|
* Security read/check script and compare checksum:
|
||||||
* `sudo bash ./packer.sh [BRANCH] [arm|x86] [min|fat] [?LASTCOMMITHASH]`
|
* `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
|
* `BRANCH` = the branch name on this repo of which the image should be build
|
||||||
* `[arm|x86]` = The architecture the image is targeting (RaspberryPi = `arm`)
|
* `[arm|x86]` = The architecture the image is targeting (RaspberryPi = `arm`)
|
||||||
* `[min|fat]` = lean or fatpack (fatpack prepackages lots of apps already with the image)
|
* `[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?
|
### What is the process of creating a new RaspberryPi SD card image release manually?
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
|
|
||||||
# by input
|
# by input
|
||||||
read -p "Press ENTER to continue or CTRL+C to exit"
|
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 architecture to build (arm|x86): " ARCH
|
||||||
read -p "Enter the type to build (min|fat): " TYPE
|
read -p "Enter the type to build (min|fat): " TYPE
|
||||||
read -p "Enter the last commit hash to check (optional): " COMMITHASH
|
read -p "Enter the last commit hash to check (optional): " COMMITHASH
|
||||||
|
|
Loading…
Add table
Reference in a new issue