]> git.zerfleddert.de Git - m1-debian/commitdiff
remove fstab in dd and add it to live stick to prevent bootloader configuration
authorThomas Glanzmann <thomas@glanzmann.de>
Wed, 23 Feb 2022 22:32:21 +0000 (23:32 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Wed, 23 Feb 2022 22:32:21 +0000 (23:32 +0100)
bootstrap.sh

index 5deb705b0d2f11dbd954c596851fe2e47f89ab14..6b39d2db1ab5acc9353a9b9315b931b4c8b268df 100644 (file)
@@ -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
Impressum, Datenschutz