Skip to content

Commit

Permalink
framework: new VM-vmdk-file variable
Browse files Browse the repository at this point in the history
  • Loading branch information
niflostancu committed Dec 3, 2024
1 parent a983656 commit b1c2218
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework.mk
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ $(vm)_clean:
rm -rf "$(-vm-dest-dir)/" "$$($(vm)-edit-dir)"
#@ $(vm) vmdk conversion rule
$(vm)-vmdk-file := $(-vm-dest-dir)/$(-vm-dest-file:.qcow2=.vmdk)
$(vm)_vmdk: $(-vm-dest-timestamp)
$(vm)_vmdk: $$($(vm)-vmdk-file)
$$($(vm)-vmdk-file): $(-vm-dest-timestamp)
qemu-img convert -O vmdk "$(-vm-dest-image)" "$$($(vm)-vmdk-file)"
ls -lh "$$($(vm)-vmdk-file)"

Expand Down

0 comments on commit b1c2218

Please sign in to comment.