commit abbbd2ae522ddb380e5b25827d744d80779da3bc
parent 5e8bb400d70ad0e915438ef6dd5e314e8e36b7f0
Author: parazyd <parazyd@dyne.org>
Date: Fri, 30 Sep 2016 14:27:34 +0200
fix findloopmapp
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config b/config
@@ -29,7 +29,7 @@ mirror="http://auto.mirror.devuan.org/merged"
section="main"
image_name="$os_$release_$version_$arch"
-[[ -n $device_name ]] && image_name="${image_name}_${device_name}"
+[[ -n $device_name ]] && image_name+="_${device_name}"
core_packages=(
devuan-keyring
diff --git a/zlibs/helpers b/zlibs/helpers
@@ -70,6 +70,8 @@ findloopmapp() {
mappdevice=$(sudo kpartx -va $loopdevice | sed -E 's/.*(loop[0-9])p.*/\1/g' | sed 1q)
func "loopdevice: $loopdevice"
func "mappdevice: $mappdevice"
+
+ silly sleep 4
}
qemu_install_user() {
diff --git a/zlibs/imaging b/zlibs/imaging
@@ -52,8 +52,6 @@ image_partition_raw_dos() {
bootpart=${mappdevice}p1
rootpart=${mappdevice}p2
- sleep 1
-
notice "formatting partitions..."
sudo mkfs.vfat ${bootpart}
sudo mkfs.ext4 ${rootpart}