summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2009-03-19 16:31:43 +0200
committerLauri Leukkunen <lle@rahina.org>2009-03-23 01:37:48 +0200
commit0e70f99a714d39f52583ad3dce42ce2f5523d8d7 (patch)
tree41ff0b97d01c4651c4858f1db8b66dc91e089199
parent0a405718da6da1d404c1b2fbcb350e9adc288a6f (diff)
"devel" mode bugfix: More rules for perl & python
- Map /etc/perl* and /etc/python* just like /usr/lib/p...* are handled = conditionally, depending on active exec policy
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index c8a1fef..aabeee2 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -515,6 +515,10 @@ devel_mode_rules_etc = {
{prefix = "/etc/apt", map_to = target_root, readonly = true},
{prefix = "/etc/terminfo", actions = terminfo_test},
+ -- Perl & Python:
+ {prefix = "/etc/perl", actions = perl_lib_test},
+ {prefix = "/etc/python", actions = python_lib_test},
+
-- Files that must not be mapped:
{prefix = "/etc/resolvconf", use_orig_path = true,
readonly = true},