diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2009-02-12 18:32:11 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2009-02-16 11:50:38 +0200 |
commit | 93981375d16c1c412f2e97976f5888264cf5f056 (patch) | |
tree | 0962cd9359bf68a38c52a889a8eb4c023826f2c8 /lua_scripts | |
parent | 8fd8ded4823b8a6b5bfc7a609921fb1691ccf96b (diff) |
"devel" mode fix: Added SB1 compat.rules for /scratchbox/tools/bin/{perl,python}
- set exec_policy correctly for perl and python also when an incorrectly built
package wants to start them from /scratchbox/tools/bin. Hard dependencies
to the SB1 environment are not nice (but we are, aren't we? Because we are
trying to make all these compatibility rules, so that old badly behaving
packages could be build with SB2, too...)
Diffstat (limited to 'lua_scripts')
-rw-r--r-- | lua_scripts/pathmaps/devel/00_default.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua index f8dbaf3..c61228b 100644 --- a/lua_scripts/pathmaps/devel/00_default.lua +++ b/lua_scripts/pathmaps/devel/00_default.lua @@ -548,6 +548,21 @@ devel_mode_rules_scratchbox1 = { log_level = "warning", readonly = true, virtual_path = true}, + -- Scratchbox 1 tools/bin + -- + -- set exec_policy for perl & python: + {prefix = "/scratchbox/tools/bin/perl", + replace_by = tools .. "/usr/bin/perl", + exec_policy = exec_policy_tools_perl, + log_level = "warning", + readonly = true, virtual_path = true}, + {prefix = "/scratchbox/tools/bin/python", + replace_by = tools .. "/usr/bin/python", + exec_policy = exec_policy_tools_python, + log_level = "warning", + readonly = true, virtual_path = true}, + -- + -- Other tools: {prefix = "/scratchbox/tools/bin", replace_by = tools .. "/usr/bin", log_level = "warning", |