summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua7
-rw-r--r--lua_scripts/pathmaps/emulate/00_default.lua7
2 files changed, 13 insertions, 1 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index c6a0d1c..f8dbaf3 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -553,6 +553,13 @@ devel_mode_rules_scratchbox1 = {
log_level = "warning",
readonly = true, virtual_path = true},
+ -- "policy-rc.d" checks if scratchbox-version exists,
+ -- to detect if it is running inside scratchbox..
+ {prefix = "/scratchbox/etc/scratchbox-version",
+ replace_by = "/usr/share/scratchbox2/version",
+ log_level = "warning",
+ readonly = true, virtual_path = true},
+
{prefix = "/scratchbox/tools/autotools/automake-1.7/share/automake-1.7",
replace_by = tools .. "/usr/share/automake-1.7",
log_level = "warning",
diff --git a/lua_scripts/pathmaps/emulate/00_default.lua b/lua_scripts/pathmaps/emulate/00_default.lua
index d7630a5..17c50d8 100644
--- a/lua_scripts/pathmaps/emulate/00_default.lua
+++ b/lua_scripts/pathmaps/emulate/00_default.lua
@@ -70,7 +70,12 @@ mapall_chain = {
{ path = "/etc/osso-af-init/dbus-systembus.sh",
map_to = sb1_compat_dir,
readonly = target_root_is_readonly},
-
+ -- "policy-rc.d" checks if scratchbox-version exists,
+ -- to detect if it is running inside scratchbox..
+ {prefix = "/scratchbox/etc/scratchbox-version",
+ replace_by = "/usr/share/scratchbox2/version",
+ readonly = true, virtual_path = true},
+
-- gdb wants to have access to our dynamic linker also.
{path = "/usr/lib/libsb2/ld-2.5.so", use_orig_path = true,
readonly = true},