tfix findloopmapp - 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 abbbd2ae522ddb380e5b25827d744d80779da3bc
DIR parent 5e8bb400d70ad0e915438ef6dd5e314e8e36b7f0
HTML Author: parazyd <parazyd@dyne.org>
Date: Fri, 30 Sep 2016 14:27:34 +0200
fix findloopmapp
Diffstat:
M config | 2 +-
M zlibs/helpers | 2 ++
M zlibs/imaging | 2 --
3 files changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/config b/config
t@@ -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
DIR diff --git a/zlibs/helpers b/zlibs/helpers
t@@ -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() {
DIR diff --git a/zlibs/imaging b/zlibs/imaging
t@@ -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}