From a6fc47946516096631dacbf8985ee9cd3e072f2a Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 23 Feb 2022 23:46:52 +0100 Subject: [PATCH 1/1] add missing sudos; use relative path --- bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 6b39d2d..dc9641b 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -78,9 +78,9 @@ build_rootfs() cd testing - rm etc/fstab + sudo rm etc/fstab - mkdir -p boot/efi + sudo mkdir -p boot/efi sudo bash -c 'echo live > etc/hostname' @@ -132,7 +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 touch mnt/etc/fstab sudo rm mnt/init sudo umount mnt tar cf - media | pigz > m1.tgz -- 2.39.5