Merge pull request #47718 from peterhoeg/f/fj
firejail: override files should be in /etc/firejail
This commit is contained in:
commit
a080e0a424
@ -37,6 +37,14 @@ stdenv.mkDerivation {
|
|||||||
sed -e "s@/etc/@$out/etc/@g" -e "/chmod u+s/d" -i Makefile
|
sed -e "s@/etc/@$out/etc/@g" -e "/chmod u+s/d" -i Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# We need to set the directory for the .local override files back to
|
||||||
|
# /etc/firejail so we can actually override them
|
||||||
|
postInstall = ''
|
||||||
|
sed -E -e 's@^include (.*)(/firejail/.*.local)$@include /etc\2@g' -i $out/etc/firejail/*.profile
|
||||||
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (s) version;
|
inherit (s) version;
|
||||||
description = ''Namespace-based sandboxing tool for Linux'';
|
description = ''Namespace-based sandboxing tool for Linux'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user