summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-09-13 13:32:17 -0400
committerMike Gilbert <floppym@gentoo.org>2015-09-13 13:33:04 -0400
commit0e8dfd6e336aee6cadd08f7ee472feb485549883 (patch)
tree39ca6bec8cb36d80019a90e5ba2974f3d352564d /sys-apps/systemd
parentMerge remote-tracking branch 'github/pr/87'. (diff)
downloadgentoo-0e8dfd6e336aee6cadd08f7ee472feb485549883.tar.gz
gentoo-0e8dfd6e336aee6cadd08f7ee472feb485549883.tar.bz2
gentoo-0e8dfd6e336aee6cadd08f7ee472feb485549883.zip
sys-apps/systemd: Allow tests to access kdbus
Package-Manager: portage-2.2.20
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/systemd-226.ebuild4
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-226.ebuild b/sys-apps/systemd/systemd-226.ebuild
index f84a4d74ed6f..6068bc697094 100644
--- a/sys-apps/systemd/systemd-226.ebuild
+++ b/sys-apps/systemd/systemd-226.ebuild
@@ -259,6 +259,10 @@ multilib_src_compile() {
multilib_src_test() {
multilib_is_native_abi || continue
+ # Needed for bus-related tests
+ local -x SANDBOX_WRITE=${SANDBOX_WRITE}
+ addwrite /sys/fs/kdbus
+
default
}
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index f84a4d74ed6f..6068bc697094 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -259,6 +259,10 @@ multilib_src_compile() {
multilib_src_test() {
multilib_is_native_abi || continue
+ # Needed for bus-related tests
+ local -x SANDBOX_WRITE=${SANDBOX_WRITE}
+ addwrite /sys/fs/kdbus
+
default
}