libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit a25b54612fe3bc28dc5ceb05f275eeec1c4f82f5
parent 291ed626bd2c08e8eb11f9cca70d4a5eae2db909
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 30 Sep 2016 12:28:17 +0200

try for a fix

Diffstat:
Mzlibs/imaging | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 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() {