diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2009-02-14 20:02:44 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2009-02-16 11:50:38 +0200 |
commit | cc817ba72a05d3593219e052805908f4686a3431 (patch) | |
tree | 86d1fd80ebbd7d7990c52a6ff7e46fb5f367185c /lua_scripts | |
parent | b37055f7d8cc698b0272aa3caed707c6b2b96573 (diff) |
"tools" mode: Added one Scratchbox1 compatibility rule
- a similar rule already exists in "emulate" and "devel" modes
Diffstat (limited to 'lua_scripts')
-rw-r--r-- | lua_scripts/pathmaps/tools/00_default.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua_scripts/pathmaps/tools/00_default.lua b/lua_scripts/pathmaps/tools/00_default.lua index faec0d7..dc6bfc7 100644 --- a/lua_scripts/pathmaps/tools/00_default.lua +++ b/lua_scripts/pathmaps/tools/00_default.lua @@ -91,6 +91,15 @@ mapall_chain = { -- ----------------------------------------------- + -- "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}, + + -- ----------------------------------------------- + {path = "/var/lib/dpkg/status", replace_by = var_lib_dpkg_status_location, readonly = tools_root_is_readonly}, |