summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-12-18 08:48:34 +0200
committerLauri Leukkunen <lle@rahina.org>2007-12-18 08:48:34 +0200
commit489afa14d33f6ba90ad9e3499c3bbc82f2f48c14 (patch)
tree7ce30a5c347d6c26e5811a0d13854a46c198a1af
parentf5ae2b7997945468d893d137f429e00f0a84a96b (diff)
Don't map /etc/resolv.conf for maemo ruleset1.99.0.21
Helps avoid having to copy host's resolv.conf to tools root every time network changes. Signed-off-by: Lauri Leukkunen <lle@rahina.org>
-rw-r--r--lua_scripts/pathmaps/maemo/00_default.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua_scripts/pathmaps/maemo/00_default.lua b/lua_scripts/pathmaps/maemo/00_default.lua
index 8652b8e..622b4a1 100644
--- a/lua_scripts/pathmaps/maemo/00_default.lua
+++ b/lua_scripts/pathmaps/maemo/00_default.lua
@@ -26,6 +26,7 @@ simple_chain = {
{path = "^/dev.*", map_to = nil},
{path = "^/proc.*", map_to = nil},
{path = "^/sys.*", map_to = nil},
+ {path = "^/etc/resolv.conf", map_to = nil},
{path = "^" .. tools .. ".*", map_to = nil},
{path = "^/$", map_to = nil},
{path = ".*", map_to = tools_root}
@@ -43,6 +44,7 @@ qemu_chain = {
{path = "^/dev", map_to = nil},
{path = "^/proc", map_to = nil},
{path = "^/sys", map_to = nil},
+ {path = "^/etc/resolv.conf", map_to = nil},
{path = "^" .. tools .. ".*", map_to = nil},
{path = "^/$", map_to = nil},
{path = ".*", map_to = tools_root}