tworkaround img_mkimage - 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 5f767dd9b5385a4d6dd09e61da628ee3f85d4f66
DIR parent 76560688fd00a1c29c2707e79d7e3ca4ad4bbe16
HTML Author: parazyd <parazyd@dyne.org>
Date: Wed, 15 Jun 2016 18:42:28 +0200
workaround img_mkimage
Diffstat:
M zlibs/imaging | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
DIR diff --git a/zlibs/imaging b/zlibs/imaging
t@@ -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
t@@ -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
}