mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-28 03:01:32 +00:00
Backport the qcow2 ubuntu-core image generation for LXD support.
This commit is contained in:
parent
a0dea8f6e2
commit
bb44f093c9
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
livecd-rootfs (24.04.73) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Build qcow2 images for ubuntu-core LXD support (LP: #2072759).
|
||||||
|
|
||||||
|
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 11 Jul 2024 13:15:43 +0200
|
||||||
|
|
||||||
livecd-rootfs (24.04.72) noble; urgency=medium
|
livecd-rootfs (24.04.72) noble; urgency=medium
|
||||||
|
|
||||||
[ Heinrich Schuchardt ]
|
[ Heinrich Schuchardt ]
|
||||||
|
@ -37,6 +37,11 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ] \
|
|||||||
# we should be supporting more than one for models that
|
# we should be supporting more than one for models that
|
||||||
# define those.
|
# define those.
|
||||||
mv output/*.img "$PREFIX".img
|
mv output/*.img "$PREFIX".img
|
||||||
|
# For standard, non-platform-specific core images, prepare a
|
||||||
|
# qcow2 image as well for LXD consumption.
|
||||||
|
if [ -z "${SUBARCH:-}" ]; then
|
||||||
|
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2
|
||||||
|
fi
|
||||||
xz -0 -T4 "$PREFIX".img
|
xz -0 -T4 "$PREFIX".img
|
||||||
mv output/seed.manifest "$PREFIX".manifest
|
mv output/seed.manifest "$PREFIX".manifest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user