libdevuansdk

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

commit 5f767dd9b5385a4d6dd09e61da628ee3f85d4f66
parent 76560688fd00a1c29c2707e79d7e3ca4ad4bbe16
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 15 Jun 2016 18:42:28 +0200

workaround img_mkimage

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

diff --git a/zlibs/imaging b/zlibs/imaging @@ -27,11 +27,11 @@ vars+=(imgname imgpath) img_mkimage() { fn img_mkimage $@ - imgpath=${1:-${strapdir}.img} - local mbrtype="$2" - local bootfstype="$3" - local rootfstype="$4" - local imgsize=${5:-$imgsize} + imgpath=${strapdir}.img + local mbrtype="$1" + local bootfstype="$2" + local rootfstype="$3" + local imgsize="$4" req=(imgpath imgsize mbrtype bootfstype rootfstype) ckreq || return 1 @@ -54,7 +54,7 @@ img_mkimage() { img_mount img_rsync_strapdir - [[ -z $override_bootloader ]] && img_install_bootloader + # [[ -z $override_bootloader ]] && img_install_bootloader img_umount }