networkd's own currently has too many regressions.
Thanks to Stefan Lippers-Hollmann for investigating this!
Closes: #814566Closes: #814667Closes: #815586Closes: #815884Closes: #815793
bootchart now got removed from master, so move its autopkgtest below the
"NOUPSTREAM" section in debian/tests/control to speed up upstream tests.
Also drop the $TEST_UPSTREAM check from the autopkgtest as that's redundant
now.
bootchart is in the process of moving to a separate repository.
Only do that when testing in upstream mode. For the distro we want to assert
that bootchart is available for the time being.
... instead of 90-autopkgtest.cfg. The latter does not exist on non-x86
architectures and is not relevant for this test.
This should fix the non-rebooting ppc64el instances in Ubuntu CI.
This works on architectures which don't support CLOCK_BOOTTIME_ALARM. Fixes
FTBFS on many architectures.
Cherry-picked from upstream master commit 32c1f5a57998.
This is a script to replace the current source with a checkout of an upstream
pull request, branch, or commit, and remove debian/patches/. This also disables
autopkgtests which are not appropriate for testing upstream. Called from
debian/rules if $TEST_UPSTREAM is set.
This will be used for upstream CI.
debian/tests/control: Rearrange tests and avoid removing test dependencies to
minimize testbed resets. This considerably speeds up running the autopkgtests.
Wrap test dependencies.
Add a comment which ones should not be run for an upstream build: In
particular, systemd-fsckd relies on a downstream patch, and
cmdline-upstart-boot is not relevant for testing upstream.
- Drop check for kernel >= 2.6.32, which released in 2009.
- Drop restarting of some daemons due to the devtmpfs migration, which
happened before the above kernel even.
- Drop support for forcing upgrades on kernels known not to work via
/etc/udev/kernel-upgrade. Don't pretend that this would help, as users
could end up with a non-bootable system. Always fail early in preinst
when it's still possible to install a working kernel.
- Drop postinst test for "running in containers" -- it's actually possible
to run udev in containers if you mount /sys r/w and you know what you
are doing. Also, the init.d script and systemd service do that check
again.
- Keep the kernel feature and chroot checks, as these are still useful.
Simplify check_kernel_features() by eliminating some variables.
- Drop debconf templates. Two of them are obsolete, and having
CONFIG_SYSFS_DEPRECATED is now so implausible that this doesn't warrant
the overhead and translator efforts.
Make-run-lock-tmpfs-an-API-fs.patch: Drop /run/lock from tmpfiles.d/legacy.conf
to avoid the latter clobbering the permissions of /run/lock. Fixes fallout from
cleanup in -5 that resulted /run/lock to have 0755 permissions instead of 1777.
LP: #1541775
Revert the dynamism from commit 98ddec8f, and use the Ubuntu version. I. e.,
add systemd-sysv conflict to upstart-sysv, and version the upstart conflict.
This works with both Debian's and Ubuntu's upstart packages.