mirror of
https://github.com/systemd/systemd
synced 2025-12-29 04:14:44 +01:00
Compare commits
No commits in common. "bf2d8c03c16f92e7e2b1414287e7d248bc9b6556" and "f1027d7c28dc246f9aa6e319fbbd6c735bb8a2be" have entirely different histories.
bf2d8c03c1
...
f1027d7c28
@ -85,6 +85,9 @@ EOF
|
|||||||
rm -rf debian/patches
|
rm -rf debian/patches
|
||||||
# disable autopkgtests which are not for upstream
|
# disable autopkgtests which are not for upstream
|
||||||
sed -i '/# NOUPSTREAM/ q' debian/tests/control
|
sed -i '/# NOUPSTREAM/ q' debian/tests/control
|
||||||
|
# temporarily disable timedated tests, as they cause timeouts
|
||||||
|
# see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975010
|
||||||
|
sed -i '/Tests:/s/timedated, //' debian/tests/control
|
||||||
# enable more unit tests
|
# enable more unit tests
|
||||||
sed -i '/^CONFFLAGS =/ s/=/= --werror -Dtests=unsafe -Dsplit-usr=true -Dslow-tests=true -Dfuzz-tests=true -Dman=true /' debian/rules
|
sed -i '/^CONFFLAGS =/ s/=/= --werror -Dtests=unsafe -Dsplit-usr=true -Dslow-tests=true -Dfuzz-tests=true -Dman=true /' debian/rules
|
||||||
# no orig tarball
|
# no orig tarball
|
||||||
|
|||||||
@ -1541,11 +1541,6 @@ int setup_namespace(
|
|||||||
if (root_directory)
|
if (root_directory)
|
||||||
root = root_directory;
|
root = root_directory;
|
||||||
else {
|
else {
|
||||||
/* /run/systemd should have been created by PID 1 early on already, but in some cases, like
|
|
||||||
* when running tests (test-execute), it might not have been created yet so let's make sure
|
|
||||||
* we create it if it doesn't already exist. */
|
|
||||||
(void) mkdir_p_label("/run/systemd", 0755);
|
|
||||||
|
|
||||||
/* Always create the mount namespace in a temporary directory, instead of operating
|
/* Always create the mount namespace in a temporary directory, instead of operating
|
||||||
* directly in the root. The temporary directory prevents any mounts from being
|
* directly in the root. The temporary directory prevents any mounts from being
|
||||||
* potentially obscured my other mounts we already applied.
|
* potentially obscured my other mounts we already applied.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user