From: Thomas Glanzmann Date: Wed, 23 Feb 2022 22:58:44 +0000 (+0100) Subject: use another detection method X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/5bd8c45bc4000403e2797f87c54960cabcf1ce04?ds=sidebyside;hp=00dd11b52b1609e077dda4c89978f54b814fbd9f use another detection method --- diff --git a/bootstrap.sh b/bootstrap.sh index dc9641b..4fe57bf 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -78,8 +78,6 @@ build_rootfs() cd testing - sudo rm etc/fstab - sudo mkdir -p boot/efi sudo bash -c 'echo live > etc/hostname' @@ -132,7 +130,6 @@ 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 diff --git a/files/rc.local b/files/rc.local index 68ebbc0..e6f9c6d 100755 --- a/files/rc.local +++ b/files/rc.local @@ -86,7 +86,6 @@ generate_fstab open(FSTAB, '>', '/etc/fstab') || die ("Can not open fstab"); print FSTAB <