commit 7b9e09795fcd43a55cd93cebd4fa96ab946ce5b9
parent 647e0f65c6ff2984c65c25d6ae2a93fc4f33feb6
Author: gryrmln <gryrmln@localhost>
Date: Fri, 2 Apr 2021 11:48:32 +0100
Fix ckreq variables (zlibs/imaging)
Signed-off-by: gryrmln <gryrmln@localhost>
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/zlibs/imaging b/zlibs/imaging
@@ -21,7 +21,7 @@ vars+=(bootpart rootpart loopdevice)
strapdir_to_image()
{
fn strapdir_to_image
- req=(workdir strapdir bootpart rootpart loopdevice)
+ req=(workdir strapdir)
ckreq || return 1
notice "Copying strapdir to image ..."
@@ -130,8 +130,6 @@ image_format_partitions()
image_connect_raw()
{
fn image_connect_raw
- req=(workdir image_name)
- ckreq || return 1
notice "Connecting raw image to loop device"
@@ -166,7 +164,7 @@ image_connect_qcow2()
image_partition_dos()
{
fn image_partition_dos
- req=(loopdevice bootpart rootpart dos_boot dos_root)
+ req=(loopdevice dos_boot dos_root)
ckreq || return 1
notice "Partitioning dos image"
@@ -228,7 +226,7 @@ image_mount()
image_umount()
{
fn image_umount
- req=(workdir bootpart rootpart)
+ req=(workdir loopdevice)
ckreq || return 1
notice "Umounting image from $workdir/mnt"