diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 5792e3f..5bbb6d3 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -125,7 +125,7 @@ url[3]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz" #url[4]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz" url[4]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-4-latest.tar.gz" -fallocate -l $imageSize "$imageName" +fallocate -l "$imageSize" "$imageName" loopdev="$(losetup --find --show "${imageName}")" parted --script "${loopdev}" mklabel msdos mkpart primary fat32 0% 100M mkpart primary ext4 100M 100% mkfs.vfat -F32 "${loopdev}p1"