Actualizar build-liveiso.sh

This commit is contained in:
2026-07-17 06:03:39 +00:00
parent 9ff5f682dd
commit c2df57bbc3
+8
View File
@@ -78,6 +78,14 @@ INITRD="$(ls "$ROOTFS"/boot/initrd.img-* | head -n1)"
cp "$KERNEL" "$ISO/live/vmlinuz"
cp "$INITRD" "$ISO/live/initrd"
echo "=== Unmounting file systems ==="
umount -R "$ROOTFS" 2>/dev/null || true
umount -lf "$ROOTFS/dev/pts" 2>/dev/null || true
umount -lf "$ROOTFS/dev/shm" 2>/dev/null || true
umount -lf "$ROOTFS/dev" 2>/dev/null || true
umount -lf "$ROOTFS/proc" 2>/dev/null || true
umount -lf "$ROOTFS/sys" 2>/dev/null || true
echo "=== Building SquashFS ==="