mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
test-data: Use qemu-img instead of guestfish to create blank disks.
Since this step runs during make (not make check), guestfish hasn't been built yet. Fixes commitfa83b47876and commit74ded0dbc1.
This commit is contained in:
@@ -32,19 +32,19 @@ CLEANFILES += $(files)
|
||||
|
||||
# Blank disk images in various sizes and formats.
|
||||
blank-disk-1s.raw:
|
||||
$(top_builddir)/run guestfish disk-create $@ raw 512
|
||||
qemu-img create -f raw -o preallocation=off $@ 512
|
||||
|
||||
blank-disk-1s.qcow2:
|
||||
qemu-img create -f qcow2 -o preallocation=metadata $@ 512
|
||||
|
||||
blank-disk-1K.raw:
|
||||
$(top_builddir)/run guestfish disk-create $@ raw 1K
|
||||
qemu-img create -f raw -o preallocation=off $@ 1K
|
||||
|
||||
blank-disk-1K.qcow2:
|
||||
qemu-img create -f qcow2 -o preallocation=metadata $@ 1K
|
||||
|
||||
blank-disk-1M.raw:
|
||||
$(top_builddir)/run guestfish disk-create $@ raw 1M
|
||||
qemu-img create -f raw -o preallocation=off $@ 1M
|
||||
|
||||
blank-disk-1M.qcow2:
|
||||
qemu-img create -f qcow2 -o preallocation=metadata $@ 1M
|
||||
|
||||
Reference in New Issue
Block a user