Imported 2.666

No reason for CPC update specified.
impish
CloudBuilder 5 years ago
parent a770c93592
commit 0b9436878a

14
debian/changelog vendored

@ -1,3 +1,17 @@
livecd-rootfs (2.666) groovy; urgency=medium
[ Balint Reczey ]
* debian/gbp.conf: Add minimal configuration for branch and tag naming
[ Michael Hudson-Doyle ]
* Call udevadm settle before kpartx -d
[ Dimitri John Ledkov ]
* Fixup indentation
* make-lxd-metadata: add riscv64 lxd architecture tag
-- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 12 May 2020 12:29:16 +0100
livecd-rootfs (2.665) groovy; urgency=medium
* Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.

3
debian/gbp.conf vendored

@ -0,0 +1,3 @@
[DEFAULT]
debian-branch=ubuntu/master
debian-tag = %(version)s

@ -14,18 +14,12 @@ clean_loops() {
local kpartx_stdout
if [ -n "${backing_img}" ]; then
# sync before removing loop to avoid "Device or resource busy" errors
# If something just finished writing to the device or a
# partition (e.g. the zerofree in umount_partition) udev might
# still be processing the device.
udevadm settle
sync
kpartx_ret=""
kpartx_stdout=$(kpartx -v -d "${backing_img}") || kpartx_ret=$?
echo "$kpartx_stdout"
if [ -n "$kpartx_ret" ]; then
if echo "$kpartx_stdout" | grep -q "loop deleted"; then
echo "Suppressing kpartx returning error (#860894)"
else
exit $kpartx_ret
fi
fi
kpartx -v -d "${backing_img}"
unset backing_img
fi

@ -17,6 +17,7 @@ lxd_arches = {
"powerpc": "ppc",
"ppc64el": "ppc64le",
"s390x": "s390x",
"riscv64": "riscv64",
}

Loading…
Cancel
Save