diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2009-02-12 17:37:59 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2009-02-16 11:50:38 +0200 |
commit | 7abeed74c8007eefc0f4f99375c8946b120c0c23 (patch) | |
tree | 222ccb74862164648fd4f3d49896f02c81a23378 /lua_scripts | |
parent | 62069df3295543a399a1aa4bb70e55a4be72cd2e (diff) |
"devel" and "emulate" modes: Added one Scratchbox1 compatibility rule
Diffstat (limited to 'lua_scripts')
-rw-r--r-- | lua_scripts/pathmaps/devel/00_default.lua | 7 | ||||
-rw-r--r-- | lua_scripts/pathmaps/emulate/00_default.lua | 7 |
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}, |