Add python3 vmdkstream support

snap-tool-base-none
Dimitri John Ledkov 6 years ago
parent 89dee6610d
commit a77ec4a9df
No known key found for this signature in database
GPG Key ID: E8E84908F903AFB5

1
debian/changelog vendored

@ -1,6 +1,7 @@
livecd-rootfs (2.562) UNRELEASED; urgency=medium livecd-rootfs (2.562) UNRELEASED; urgency=medium
* subiquity: make subiqutiy_config.mount optional * subiquity: make subiqutiy_config.mount optional
* Add python3 vmdkstream support
-- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 18 Feb 2019 10:26:53 +0100 -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 18 Feb 2019 10:26:53 +0100

3
debian/control vendored

@ -28,6 +28,7 @@ Depends: ${misc:Depends},
parted, parted,
procps, procps,
python-minimal | python, python-minimal | python,
python3-minimal | python3,
python3-apt, python3-apt,
python3-software-properties, python3-software-properties,
qemu-utils, qemu-utils,
@ -37,7 +38,7 @@ Depends: ${misc:Depends},
sudo, sudo,
u-boot-tools [armhf arm64], u-boot-tools [armhf arm64],
ubuntu-image, ubuntu-image,
vmdk-stream-converter [amd64 i386], python3-vmdkstream [amd64 i386] | vmdk-stream-converter [amd64 i386],
xz-utils, xz-utils,
zerofree zerofree
Breaks: ubuntu-defaults-builder (<< 0.32) Breaks: ubuntu-defaults-builder (<< 0.32)

@ -271,7 +271,7 @@ create_vmdk() {
cp ${src} ${scratch_d}/resize.img cp ${src} ${scratch_d}/resize.img
truncate --size=${size}M ${scratch_d}/resize.img truncate --size=${size}M ${scratch_d}/resize.img
python -m ${streamconverter} ${scratch_d}/resize.img ${destination} python3 -m ${streamconverter} ${scratch_d}/resize.img ${destination} || python2 -m ${streamconverter} ${scratch_d}/resize.img ${destination}
modify_vmdk_header ${destination} modify_vmdk_header ${destination}
qemu-img info ${destination} qemu-img info ${destination}

Loading…
Cancel
Save