From: Thomas Glanzmann Date: Wed, 23 Feb 2022 22:46:52 +0000 (+0100) Subject: add missing sudos; use relative path X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/a6fc47946516096631dacbf8985ee9cd3e072f2a?ds=sidebyside add missing sudos; use relative path --- 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