Actualizar build-liveiso.sh
This commit is contained in:
@@ -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 ==="
|
||||
|
||||
|
||||
Reference in New Issue
Block a user