Allow to pass extra args to livecd-creator (e.g. pass location of cache and build directories in tmpfs)

master
Mikhail Novosyolov 3 years ago
parent d6fb2b45c9
commit 3ea9ed0946

@ -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/