Refresh ISO checksums after customizations

This commit is contained in:
Jino Jose 2026-06-24 19:41:01 +05:30
parent e589e48511
commit d6c9554b93

View File

@ -66,6 +66,20 @@ rsync -a --delete \
"$PACKAGE_DIR/" "$WORK_DIR/cezen-aipackage/" "$PACKAGE_DIR/" "$WORK_DIR/cezen-aipackage/"
echo "✓ Installer payload bundled" echo "✓ Installer payload bundled"
# ── Refresh installer checksum manifest ─────────────────
echo "→ Refreshing md5sum.txt..."
(
cd "$WORK_DIR"
rm -f md5sum.txt
find . -type f \
! -path './md5sum.txt' \
! -path './boot.catalog' \
-print0 \
| sort -z \
| xargs -0 md5sum > md5sum.txt
)
echo "✓ md5sum.txt refreshed"
# ── Patch GRUB ──────────────────────────────── # ── Patch GRUB ────────────────────────────────
echo "→ Patching GRUB config..." echo "→ Patching GRUB config..."
GRUB_CFG="$WORK_DIR/boot/grub/grub.cfg" GRUB_CFG="$WORK_DIR/boot/grub/grub.cfg"