From 93981375d16c1c412f2e97976f5888264cf5f056 Mon Sep 17 00:00:00 2001 From: Lauri Aarnio Date: Thu, 12 Feb 2009 18:32:11 +0200 Subject: "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...) --- lua_scripts/pathmaps/devel/00_default.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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", -- cgit v1.2.3