about summary refs log tree commit diff stats
path: root/tools/iso/soso
diff options
context:
space:
mode:
Diffstat (limited to 'tools/iso/soso')
-rwxr-xr-xtools/iso/soso6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/iso/soso b/tools/iso/soso
index 327207cb..248820fa 100755
--- a/tools/iso/soso
+++ b/tools/iso/soso
@@ -23,9 +23,9 @@ LOOP=`losetup -f`
 sudo losetup $LOOP initrd.fat
 sudo mkfs.vfat $LOOP
 sudo mount $LOOP /mnt
-mv a.elf /mnt/init
-umount /mnt
-losetup -d $LOOP
+sudo mv a.elf /mnt/init
+sudo umount /mnt
+sudo losetup -d $LOOP
 sync
 chown $SUDO_USER:$SUDO_USER initrd.fat