Clonezilla: warn while the default share password is in use; prepare-boot-tools.sh no longer fails on an empty tool folder
The final listing of an empty boot-tools/blancco (no Blancco ISO yet) failed under pipefail and made the script exit 1 after a good download.
This commit is contained in:
@@ -70,7 +70,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
ls -lh "$OUT_DIR/clonezilla/" 2>/dev/null | grep -E 'vmlinuz|initrd|squashfs|shimx64' | sed 's/^/ /'
|
||||
ls -lh "$OUT_DIR/clonezilla/" 2>/dev/null | grep -E 'vmlinuz|initrd|squashfs|shimx64' | sed 's/^/ /' || true
|
||||
# The shim must be Microsoft-signed (firmware trusts it) and the kernel
|
||||
# Debian-signed (the shim trusts that); otherwise Secure Boot refuses them.
|
||||
if command -v sbverify >/dev/null && [ -s "$OUT_DIR/clonezilla/shimx64.efi" ]; then
|
||||
@@ -108,7 +108,7 @@ else
|
||||
fi
|
||||
rm -rf "$TMPDIR"
|
||||
fi
|
||||
ls -lh "$OUT_DIR/clonezilla-i686/" 2>/dev/null | grep -E 'vmlinuz|initrd|squashfs' | sed 's/^/ /'
|
||||
ls -lh "$OUT_DIR/clonezilla-i686/" 2>/dev/null | grep -E 'vmlinuz|initrd|squashfs' | sed 's/^/ /' || true
|
||||
|
||||
# --- Blancco Drive Eraser ---
|
||||
echo ""
|
||||
@@ -307,7 +307,7 @@ else
|
||||
echo " Usage: $0 /path/to/DriveEraser.iso"
|
||||
fi
|
||||
|
||||
ls -lh "$OUT_DIR/blancco/" 2>/dev/null | grep -v '^total' | sed 's/^/ /'
|
||||
ls -lh "$OUT_DIR/blancco/" 2>/dev/null | grep -v '^total' | sed 's/^/ /' || true
|
||||
|
||||
# --- Summary ---
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user