From 3ea9ed0946dfcdfbeed40e8168a634bcb7c84b63 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Mon, 7 Jun 2021 16:36:38 +0300 Subject: [PATCH] Allow to pass extra args to livecd-creator (e.g. pass location of cache and build directories in tmpfs) --- build-iso-abf.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-iso-abf.sh b/build-iso-abf.sh index 2a682a0..f43f472 100755 --- a/build-iso-abf.sh +++ b/build-iso-abf.sh @@ -11,6 +11,9 @@ FS_LABEL="ROSA_2019.1_XFCE_Test_${BUILD_ID}" AARCH64="${AARCH64:-0}" SLEEP="${SLEEP:-0}" +# Allow to pass extra args like location of cache etc. +LIVECD_CREATOR_EXTRA_ARGS="${LIVECD_CREATOR_EXTRA_ARGS:-}" + conf="$(mktemp)" cp main.ks "$conf" repobase="$(mktemp)" @@ -47,6 +50,7 @@ mkdir -p /home/vagrant/results livecd-creator --verbose \ --compression-type=xz \ --config="$conf" \ + ${LIVECD_CREATOR_EXTRA_ARGS} \ --fslabel="$FS_LABEL" mv -v *.iso /home/vagrant/results/