summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua_scripts/pathmaps/tools/00_default.lua9
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},