From a25b54612fe3bc28dc5ceb05f275eeec1c4f82f5 Mon Sep 17 00:00:00 2001 From: parazyd Date: Fri, 30 Sep 2016 12:28:17 +0200 Subject: [PATCH] try for a fix --- zlibs/imaging | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/zlibs/imaging b/zlibs/imaging index 3651a19..ebce840 100644 --- a/zlibs/imaging +++ b/zlibs/imaging @@ -48,13 +48,15 @@ image_partition_raw_dos() { ## get loopdevice and mapper device (see ./helpers) findloopmapp - mappdevice="/dev/mapper/$mappdevice" + mappdevice="/dev/mapper/${mappdevice}" bootpart=${mappdevice}p1 rootpart=${mappdevice}p2 + sleep 1 + notice "formatting partitions..." - sudo mkfs.vfat $bootpart - sudo mkfs.ext4 $rootpart + sudo mkfs.vfat ${bootpart} + sudo mkfs.ext4 ${rootpart} } image_partition_raw_gpt() { @@ -78,7 +80,7 @@ image_partition_raw_gpt() { rootpart=${mappdevice}p2 notice "formatting partitions..." - sudo mkfs.ext4 -L rootfs $rootpart + sudo mkfs.ext4 -L rootfs ${rootpart} } image_pack_dist() {