From 46f32b43a4293b78530cb41dab6bf3d7f4293cef Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 15 May 2017 17:08:41 +0200 Subject: [PATCH] no need for mappdevice in image_pack_dist --- zlibs/imaging | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zlibs/imaging b/zlibs/imaging index c5719f6..a5f8caf 100644 --- 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