summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-12-11 16:20:14 +0200
committerLauri Leukkunen <lle@rahina.org>2007-12-11 16:20:14 +0200
commitc828cfd67a476766d7853e3236f74240a43fd208 (patch)
treeed56fb4db24fb53f600f560b65925fe9b011d1cf
parent885b0d1c95d2547f2079a49be210f580bce115e7 (diff)
Let maemo mapping mode access host /dev, /proc etc
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
-rw-r--r--lua_scripts/pathmaps/maemo/00_default.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua_scripts/pathmaps/maemo/00_default.lua b/lua_scripts/pathmaps/maemo/00_default.lua
index 52f4fbc..412cc95 100644
--- a/lua_scripts/pathmaps/maemo/00_default.lua
+++ b/lua_scripts/pathmaps/maemo/00_default.lua
@@ -73,6 +73,10 @@ simple_chain = {
{path = "^/var/.*/apt.*", map_to = "="},
{path = "^/var/.*/dpkg.*", map_to = "="},
{path = "^/host_usr", map_to = "="},
+ {path = "^/tmp", map_to = nil},
+ {path = "^/dev", map_to = nil},
+ {path = "^/proc", map_to = nil},
+ {path = "^/sys", map_to = nil},
{path = ".*", map_to = tool_root}
}
}
@@ -84,6 +88,10 @@ qemu_chain = {
{path = "^/lib.*", map_to = "="},
{path = "^/usr/lib.*", map_to = "="},
{path = "^/usr/local/lib.*", map_to = "="},
+ {path = "^/tmp", map_to = nil},
+ {path = "^/dev", map_to = nil},
+ {path = "^/proc", map_to = nil},
+ {path = "^/sys", map_to = nil},
{path = ".*", map_to = tool_root}
}
}