mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
Update packer.sh
try fatpack
This commit is contained in:
parent
88759c64fd
commit
3b3b25c8ab
1 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ if [ "${ARCH}" == "arm" ] && [ "${TYPE}" == "min" ]; then
|
||||||
PACKERFINALFILE="raspiblitz-min-v${codeVersion}-${dateString}.img"
|
PACKERFINALFILE="raspiblitz-min-v${codeVersion}-${dateString}.img"
|
||||||
elif [ "${ARCH}" == "arm" ] && [ "${TYPE}" == "fat" ]; then
|
elif [ "${ARCH}" == "arm" ] && [ "${TYPE}" == "fat" ]; then
|
||||||
PACKERTARGET="arm64-rpi-fatpack-image"
|
PACKERTARGET="arm64-rpi-fatpack-image"
|
||||||
PACKERBUILDPATH="./raspiblitz/ci/arm64-rpi/packer-builder-arm/TODO" #TODO
|
PACKERBUILDPATH="./raspiblitz/ci/arm64-rpi/packer-builder-arm/raspiblitz-arm64-rpi-fat.img"
|
||||||
PACKERFINALFILE="raspiblitz-fat-v${codeVersion}-${dateString}.img"
|
PACKERFINALFILE="raspiblitz-fat-v${codeVersion}-${dateString}.img"
|
||||||
elif [ "${ARCH}" == "x86" ] && [ "${TYPE}" == "min" ]; then
|
elif [ "${ARCH}" == "x86" ] && [ "${TYPE}" == "min" ]; then
|
||||||
PACKERTARGET="amd64-lean-server-legacyboot-image"
|
PACKERTARGET="amd64-lean-server-legacyboot-image"
|
||||||
|
@ -188,7 +188,7 @@ echo "# moving build to timestamped folder ./${BUILDFOLDER}"
|
||||||
cd ..
|
cd ..
|
||||||
mkdir "${BUILDFOLDER}" 2>/dev/null
|
mkdir "${BUILDFOLDER}" 2>/dev/null
|
||||||
|
|
||||||
#check that Build folder exists
|
# check that Build folder exists
|
||||||
if [ ! -d "./${BUILDFOLDER}" ]; then
|
if [ ! -d "./${BUILDFOLDER}" ]; then
|
||||||
echo "# FAILED CREATING BUILD FOLDER: ./${BUILDFOLDER}"
|
echo "# FAILED CREATING BUILD FOLDER: ./${BUILDFOLDER}"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue