summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/prepare-root-partition.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh
index 71d64b3a..65577bdb 100755
--- a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh
+++ b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh
@@ -79,8 +79,8 @@ fi
# region scan partitions
read_only_device=""
-if utils.dependency_check qemu-img && ! qemu-img qemu-img info --output json \
- "$SLX_DNBD3_DEVICE" | grep '"format": "raw"'
+if utils.dependency_check qemu-img && ! qemu-img qemu-img info \
+ "$SLX_DNBD3_DEVICE" | grep 'file format: raw'
then
read_only_device="$(container-unpack-xmount $SLX_DNBD3_DEVICE)"
else