Fix ckreq variables (zlibs/imaging)

Signed-off-by: gryrmln <gryrmln@localhost>
This commit is contained in:
gryrmln 2021-04-02 11:48:32 +01:00
parent 647e0f65c6
commit 7b9e09795f
No known key found for this signature in database
GPG Key ID: C90B6A0356F4DB7A
1 changed files with 3 additions and 5 deletions

View File

@ -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"