From 0e8dfd6e336aee6cadd08f7ee472feb485549883 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 13 Sep 2015 13:32:17 -0400 Subject: [PATCH] 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 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 } -- 2.26.2