From 0190ebf09310261b1988c0a36d5be764370c4d95 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 23 Feb 2022 23:32:21 +0100 Subject: [PATCH] remove fstab in dd and add it to live stick to prevent bootloader configuration --- bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 5deb705..6b39d2d 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -78,6 +78,8 @@ build_rootfs() cd testing + rm etc/fstab + mkdir -p boot/efi sudo bash -c 'echo live > etc/hostname' @@ -130,6 +132,7 @@ build_dd() tune2fs -O extents,uninit_bg,dir_index -m 0 -c 0 -i 0 media sudo mount -o loop media mnt sudo cp -a testing/* mnt/ + sudo touch /mnt/etc/fstab sudo rm mnt/init sudo umount mnt tar cf - media | pigz > m1.tgz -- 2.39.5