diff --git a/image-recipe/build-auto-installer-iso.sh b/image-recipe/build-auto-installer-iso.sh index ee27bd37..f1bf1efe 100755 --- a/image-recipe/build-auto-installer-iso.sh +++ b/image-recipe/build-auto-installer-iso.sh @@ -494,7 +494,7 @@ if [ -f /installer/var/lib/apt/lists/*_Packages 2>/dev/null ]; then fi # Verify live-boot hooks are in place -if [ -d /installer/usr/share/initramfs-tools/scripts/live ]; then +if [ -e /installer/usr/share/initramfs-tools/scripts/live ]; then echo " [container] live-boot initramfs hooks: OK" else echo " [container] WARNING: live-boot hooks missing, trying dpkg extraction..." @@ -503,7 +503,7 @@ else dpkg-deb -x "$deb" /installer/ 2>/dev/null || true done rm -f live-boot*.deb 2>/dev/null || true - if [ -d /installer/usr/share/initramfs-tools/scripts/live ]; then + if [ -e /installer/usr/share/initramfs-tools/scripts/live ]; then echo " [container] live-boot hooks installed via dpkg extraction: OK" else echo " [container] FATAL: Could not install live-boot hooks!"