ttry for a fix - libdevuansdk - common library for devuan's simple distro kits
HTML git clone https://git.parazyd.org/libdevuansdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit a25b54612fe3bc28dc5ceb05f275eeec1c4f82f5
DIR parent 291ed626bd2c08e8eb11f9cca70d4a5eae2db909
HTML Author: parazyd <parazyd@dyne.org>
Date: Fri, 30 Sep 2016 12:28:17 +0200
ttry for a fix
Diffstat:
M zlibs/imaging | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
DIR diff --git a/zlibs/imaging b/zlibs/imaging
t@@ -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() {
t@@ -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() {