From 804dadf79f6373dd59b36ff23be4f77272d52742 Mon Sep 17 00:00:00 2001 From: Lauri Aarnio Date: Wed, 24 Sep 2008 11:35:18 +0300 Subject: 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 --- lua_scripts/pathmaps/maemo/00_default.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua_scripts') 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} } -- cgit v1.2.3