1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

copy ars before shifting

This commit is contained in:
Jason N. 2024-03-04 18:43:06 -05:00
parent f9b5b6273e
commit fa53488780

View file

@ -5,6 +5,8 @@ set -ex
# Create /dev/loop0 if it doesn't already exist. `losetup` has an issue creating it during the first run
mknod -m 0660 /dev/loop0 b 7 0 2>/dev/null || true
args=$@
while (( "$#" ))
do
export "$1"
@ -15,10 +17,10 @@ done
make container/${IMAGE_NAME}-${IMAGE_TAG} $@
# Build base ISO
make boot.iso $@
make boot.iso $args
# Add container to ISO
make build/deploy.iso $@
make build/deploy.iso $args
# Make output dir in github workspace
mkdir /github/workspace/build || true