Separate regen of squashfs and add enman phase on remaster_generic_inner_chroot_scripts

This commit is contained in:
Ettore Di Giacinto
2018-09-06 18:25:50 +02:00
parent 896e320934
commit 1db6e241f2
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
LIVECD_SQUASHFS="${CDROOT_DIR}/livecd.squashfs"
if [ -n "${DRACUT}" ] && [ -f "${LIVECD_SQUASHFS}" ]; then
if [ -n "${DRACUT}" ] && [ -n "${DRACUT_SQUASHFS}" ] && [ -f "${LIVECD_SQUASHFS}" ]; then
squash_dir=$(TMPDIR="/var/tmp" mktemp -d --suffix="dracut")
mkdir -p "${squash_dir}/LiveOS"
mkdir -p "${CDROOT_DIR}/LiveOS"