From 5bd8c45bc4000403e2797f87c54960cabcf1ce04 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 23 Feb 2022 23:58:44 +0100 Subject: [PATCH] use another detection method --- bootstrap.sh | 3 --- files/rc.local | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) 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 <