diff --git a/debian/changelog b/debian/changelog index 4db6be9a..59e4e416 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.449) UNRELEASED; urgency=medium + + * Use VMDKstream in a more future-proof way + + -- Balint Reczey Mon, 24 Jul 2017 20:39:35 +0200 + livecd-rootfs (2.448) artful; urgency=medium [ Balint Reczey ] diff --git a/live-build/functions b/live-build/functions index 028352ac..fee44f67 100644 --- a/live-build/functions +++ b/live-build/functions @@ -226,12 +226,12 @@ create_vmdk() { destination="$2" size="${3:-10240}" - streamconverter="/usr/lib/python2.7/dist-packages/VMDKstream.py" + streamconverter="VMDKstream" scratch_d=$(mktemp -d) cp ${src} ${scratch_d}/resize.img truncate --size=${size}M ${scratch_d}/resize.img - python ${streamconverter} ${scratch_d}/resize.img ${destination} + python -m ${streamconverter} ${scratch_d}/resize.img ${destination} modify_vmdk_header ${destination} qemu-img info ${destination}