commit 46f32b43a4293b78530cb41dab6bf3d7f4293cef parent 09d62450cb6192e1102a65843beb0c850f064e0c Author: parazyd <parazyd@dyne.org> Date: Mon, 15 May 2017 17:08:41 +0200 no need for mappdevice in image_pack_dist Diffstat:
M | zlibs/imaging | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/zlibs/imaging b/zlibs/imaging @@ -87,14 +87,14 @@ image_partition_raw_gpt() { image_pack_dist() { fn image_pack_dist - req=(mappdevice loopdevice image_name strapdir workdir) + req=(loopdevice image_name strapdir workdir) ckreq || return 1 notice "packaging image for dist" act "rechecking filesystem" - sudo e2fsck -f ${mappdevice}p2 - sudo resize2fs ${mappdevice}p2 + sudo e2fsck -f ${loopdevice}p2 + sudo resize2fs ${loopdevice}p2 sleep 2