commit: 0e8dfd6e336aee6cadd08f7ee472feb485549883
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 17:32:17 2015 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 17:33:04 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8dfd6e
sys-apps/systemd: Allow tests to access kdbus
Package-Manager: portage-2.2.20
sys-apps/systemd/systemd-226.ebuild | 4 ++++
sys-apps/systemd/systemd-9999.ebuild | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/sys-apps/systemd/systemd-226.ebuild
b/sys-apps/systemd/systemd-226.ebuild
index f84a4d7..6068bc6 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 f84a4d7..6068bc6 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
}