mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
* ci: use uefi for amd64 image, debian 12.1.0 * build: add amd64 legacyboot image action * ci: store var values in config, update readme * fix: add raspi repo on aarch64 only fixes: https://github.com/raspiblitz/raspiblitz/issues/4029 * docs: guide to extend the root partition
13 lines
456 B
Bash
13 lines
456 B
Bash
#!/bin/bash -e
|
|
|
|
# set vars
|
|
source <(../set_variables.sh "$@")
|
|
|
|
# build the image in docker
|
|
echo -e "\nBuild the image..."
|
|
# from https://hub.docker.com/r/mkaczanowski/packer-builder-arm/tags
|
|
command="docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build \
|
|
mkaczanowski/packer-builder-arm@sha256:0ff8ce0cf33e37be6c351c8bcb2643835c7f3525b7f591808b91c04238d45695 \
|
|
build ${vars} build.arm64-rpi.pkr.hcl"
|
|
echo "# Running: $command"
|
|
$command || exit 1
|