summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-09-24 11:35:18 +0300
committerLauri Leukkunen <lle@rahina.org>2008-09-27 00:02:43 +0300
commit804dadf79f6373dd59b36ff23be4f77272d52742 (patch)
treedddc4132fd84ad6f9be316a140a8158a3061e5a2 /lua_scripts
parentd3989c7b65295d7035e352d33c9b40fd48839e4c (diff)
Maemo mode: added mapping "/target_root" => rootstrap - provides clear, unmodified view of the rootstrap. can be used as destination root directory when installing stuff to the rootstrap directly from maemo mode
Diffstat (limited to 'lua_scripts')
-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 6560bb1..ad98f3f 100644
--- a/lua_scripts/pathmaps/maemo/00_default.lua
+++ b/lua_scripts/pathmaps/maemo/00_default.lua
@@ -304,6 +304,10 @@ simple_chain = {
-- 95. Some virtual paths:
{prefix = "/host_usr", map_to = target_root},
+ -- unmodified view of the rootstrap, can be used as destination
+ -- directory when installing stuff to the rootstrap
+ {prefix = "/target_root", replace_by = target_root},
+
-- -----------------------------------------------
-- 98. Scratchbox 1 emulation rules
-- (some packages have hard-coded paths to the SB1 enviroment;
@@ -371,6 +375,10 @@ qemu_chain = {
{prefix = tools, use_orig_path = true},
+ -- unmodified view of the rootstrap, can be used as destination
+ -- directory when installing stuff to the rootstrap
+ {prefix = "/target_root", replace_by = target_root},
+
{path = "/", use_orig_path = true},
{prefix = "/", map_to = tools}
}