mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 03:41:12 +00:00
Imported 2.666
No reason for CPC update specified.
This commit is contained in:
parent
a770c93592
commit
0b9436878a
14
debian/changelog
vendored
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
Normal file
3
debian/gbp.conf
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[DEFAULT]
|
||||
debian-branch=ubuntu/master
|
||||
debian-tag = %(version)s
|
@ -360,14 +360,14 @@ case $IMAGEFORMAT in
|
||||
case $MODEL in
|
||||
pc-amd64|pc-i386)
|
||||
if [ -z "${SUBARCH:-}" ]; then
|
||||
case $SUITE in
|
||||
xenial|bionic)
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M"
|
||||
;;
|
||||
*)
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 8G"
|
||||
;;
|
||||
esac
|
||||
case $SUITE in
|
||||
xenial|bionic)
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M"
|
||||
;;
|
||||
*)
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 8G"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
*) ;;
|
||||
|
@ -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…
x
Reference in New Issue
Block a user