summaryrefslogtreecommitdiff
path: root/lua_scripts/pathmaps/devel
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-11-25 19:03:27 +0200
committerLauri Leukkunen <lle@rahina.org>2008-12-07 04:32:47 +0200
commit915cf341d15e7a0bb9adf79e2b90eab59d6929b1 (patch)
treed3bfb3ab54baec71df7a89101a7e6f2970121a23 /lua_scripts/pathmaps/devel
parentb41c43b6f489471f127db73609d3cfbc2d56f6a5 (diff)
"devel" mode: Minor fixes (reordered some rules, etc)
- based on results from an automatic rule checker prototype, there were some redundant rules and one case where the order could be improved. This commit fixes those minor problems.
Diffstat (limited to 'lua_scripts/pathmaps/devel')
-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