diff options
-rw-r--r-- | sys-libs/librtas/librtas-2.0.2-r2.ebuild (renamed from sys-libs/librtas/librtas-2.0.2-r1.ebuild) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/librtas/librtas-2.0.2-r1.ebuild b/sys-libs/librtas/librtas-2.0.2-r2.ebuild index 61863ff24d39..f43d44b267f5 100644 --- a/sys-libs/librtas/librtas-2.0.2-r1.ebuild +++ b/sys-libs/librtas/librtas-2.0.2-r2.ebuild @@ -27,4 +27,8 @@ src_configure() { src_install() { emake DESTDIR="${D}" install docdir="${EPREFIX}"/usr/share/doc/${PF} find "${D}" -name '*.la' -delete || die + # librtas_src/syscall_rmo.c: static const char *lockfile_path = "/var/lock/LCK..librtas"; + # this way we prevent sandbox violations in lscpu linked to rtas + dodir /etc/sandbox.d + echo 'SANDBOX_PREDICT="/run/lock/LCK..librtas"' > "${ED}"/etc/sandbox.d/50librtas || die } |