mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-13 04:01:15 +00:00
Import patches-unapplied version 2.473 to ubuntu/artful-proposed
Imported using git-ubuntu import. Changelog parent: 5a3ccfef341d527c982edf3af372266b3b1be566 New changelog entries: [ Balint Reczey ] * Clean up dangling /boot/initrd.img symlink when needed * Revert ignoring failure of minimized autopkgtest on ppc64el * Use kvm kernel only on amd64 * Skip installing server task when building minimial images [ Steve Langasek ] * export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay, to work around apparmor not working reliably against aufs.
This commit is contained in:
parent
5a3ccfef34
commit
11ad200f2e
14
debian/changelog
vendored
14
debian/changelog
vendored
@ -1,3 +1,17 @@
|
||||
livecd-rootfs (2.473) artful; urgency=medium
|
||||
|
||||
[ Balint Reczey ]
|
||||
* Clean up dangling /boot/initrd.img symlink when needed
|
||||
* Revert ignoring failure of minimized autopkgtest on ppc64el
|
||||
* Use kvm kernel only on amd64
|
||||
* Skip installing server task when building minimial images
|
||||
|
||||
[ Steve Langasek ]
|
||||
* export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
|
||||
to work around apparmor not working reliably against aufs.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 11 Oct 2017 12:46:14 -0400
|
||||
|
||||
livecd-rootfs (2.472) artful; urgency=medium
|
||||
|
||||
[ Michael Hudson-Doyle ]
|
||||
|
10
debian/tests/minimized
vendored
10
debian/tests/minimized
vendored
@ -1,11 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
|
||||
failure_code=1
|
||||
if [ "$ARCH" = ppc64el ]; then
|
||||
# not a regression; don't block while debugging
|
||||
failure_code=0
|
||||
fi
|
||||
|
||||
env SELECTED_TRIPLETS=ubuntu-cpc:minimized:ubuntu-cpc debian/tests/default-bootstraps || exit $failure_code
|
||||
env SELECTED_TRIPLETS=ubuntu-cpc:minimized:ubuntu-cpc debian/tests/default-bootstraps
|
||||
|
@ -540,7 +540,7 @@ case $PROJECT in
|
||||
# linux-kvm is available since you control the
|
||||
# archive and can provide this metapackage as
|
||||
# necessary.
|
||||
if [ -z "$EXTRA_PPAS" ] && [ "$SUITE" != xenial ]; then
|
||||
if [ "$ARCH" != "amd64" ] || ([ -z "$EXTRA_PPAS" ] && [ "$SUITE" != xenial ]); then
|
||||
KERNEL_FLAVOURS=virtual
|
||||
else
|
||||
KERNEL_FLAVOURS=kvm
|
||||
@ -549,6 +549,11 @@ case $PROJECT in
|
||||
add_task install minimal standard cloud-image
|
||||
add_package install ubuntu-minimal
|
||||
KERNEL_FLAVOURS=virtual
|
||||
case $ARCH in
|
||||
armhf|arm64|ppc64el|powerpc)
|
||||
add_task install server
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
BINARY_REMOVE_LINUX=false
|
||||
@ -557,17 +562,9 @@ case $PROJECT in
|
||||
armhf)
|
||||
KERNEL_FLAVOURS=generic-lpae
|
||||
add_package install flash-kernel
|
||||
add_task install server
|
||||
;;
|
||||
arm64)
|
||||
add_package install flash-kernel
|
||||
add_task install server
|
||||
;;
|
||||
ppc64el)
|
||||
add_task install server
|
||||
;;
|
||||
powerpc)
|
||||
add_task install server
|
||||
;;
|
||||
esac
|
||||
OPTS="${OPTS:+$OPTS }--system=normal"
|
||||
|
@ -130,6 +130,11 @@ if [ -f "${rootd}/etc/overlayroot.conf" ] &&
|
||||
} > "${rootd}/etc/overlayroot.local.conf"
|
||||
fi
|
||||
|
||||
# previous steps may have left a dangling symlink here with
|
||||
# SUBPROJECT=minimized and that breaks lb_chroot_hacks step
|
||||
if [ -L "${rootd}/boot/initrd.img" ] && [ ! -e "${rootd}/boot/initrd.img" ]; then
|
||||
rm "${rootd}/boot/initrd.img"
|
||||
fi
|
||||
|
||||
#### END COMMON ARCH FUNCTIONS
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
Environment=NO_REEXEC=0
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
Environment=NO_REEXEC=0
|
Loading…
x
Reference in New Issue
Block a user