From 8ddbc72644ce972a3311064aa438fb2503176637 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 19 Mar 2019 21:46:39 +0100 Subject: [PATCH] Prevent extlinux.conf overwrites --- _vm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/_vm.sh b/_vm.sh index c854ddb..9ac94f0 100755 --- a/_vm.sh +++ b/_vm.sh @@ -78,6 +78,7 @@ mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b /mnt $(ls /mnt/lib/modules) # Update extlinux (ignore the errors) sed -i 's/rootfstype=ext4/rootfstype=ext4 cryptroot=\/dev\/sda2 cryptdm=system/' /mnt/etc/update-extlinux.conf chroot /mnt update-extlinux +sed -i 's/overwrite=1/overwrite=0/' /mnt/etc/update-extlinux.conf # Set time zone chroot /mnt setup-timezone -z Europe/Prague