summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua15
1 files changed, 5 insertions, 10 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index 9a63158..1876b70 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -123,6 +123,9 @@ simple_chain = {
replace_by = sbox_dir.."/share/scratchbox2/scripts",
readonly = true},
+ -- tools_root should not be mapped twice.
+ {prefix = tools, use_orig_path = true, readonly = true},
+
-- -----------------------------------------------
-- 5. Maemo SDK+
@@ -343,8 +346,6 @@ simple_chain = {
{prefix = "/var/lib/dbus", map_to = target_root,
readonly = true},
- {prefix = "/var/run", map_to = target_root,
- readonly = true},
{prefix = "/var/log", map_to = target_root,
readonly = true},
@@ -407,16 +408,12 @@ simple_chain = {
-- the root directory must not be mapped:
{path = "/", use_orig_path = true},
- -- tools_root should not be mapped twice.
- {prefix = tools, use_orig_path = true, readonly = true},
-
-- "standard" directories are mapped to tools_root,
-- but everything else defaults to the host system
-- (so that things like /mnt, /media and /opt are
-- used from the host)
{prefix = "/bin", map_to = tools, readonly = true},
{prefix = "/etc", map_to = tools, readonly = true},
- {prefix = "/lib", map_to = tools, readonly = true},
{prefix = "/sbin", map_to = tools, readonly = true},
{prefix = "/usr", map_to = tools, readonly = true},
{prefix = "/var", map_to = tools, readonly = true},
@@ -452,7 +449,8 @@ qemu_chain = {
{path = "/etc/shadow",
use_orig_path = true, readonly = true},
- {prefix = tools, use_orig_path = true},
+ -- tools_root should not be mapped twice.
+ {prefix = tools, use_orig_path = true, readonly = true},
-- unmodified view of the rootstrap, can be used as destination
-- directory when installing stuff to the rootstrap
@@ -460,9 +458,6 @@ qemu_chain = {
{path = "/", use_orig_path = true},
- -- tools_root should not be mapped twice.
- {prefix = tools, use_orig_path = true, readonly = true},
-
-- "standard" directories are mapped to tools_root,
-- but everything else defaults to the host system
-- (so that things like /mnt, /media and /opt are