mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
Add python3 vmdkstream support
This commit is contained in:
parent
89dee6610d
commit
a77ec4a9df
1
debian/changelog
vendored
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
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…
x
Reference in New Issue
Block a user