summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-03-07 14:32:58 +0200
committerLauri Leukkunen <lle@rahina.org>2009-03-07 16:06:24 +0200
commit08969758069ec73f171b98234ecca45674d434ba (patch)
treedf7f0f2e66cecb1bf017d70a52ae500bf5c75d54
parent14a0949e98ce99b067eb85553d439f8d3a6a44d1 (diff)
simple-mapping: use host tmp dir
Some people compile and run stuff from /tmp. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-rw-r--r--lua_scripts/pathmaps/simple/00_default.lua10
1 files changed, 2 insertions, 8 deletions
diff --git a/lua_scripts/pathmaps/simple/00_default.lua b/lua_scripts/pathmaps/simple/00_default.lua
index abbde03..32abdd9 100644
--- a/lua_scripts/pathmaps/simple/00_default.lua
+++ b/lua_scripts/pathmaps/simple/00_default.lua
@@ -47,10 +47,7 @@ simple_chain = {
{prefix = "/home/user", map_to = target_root},
{prefix = "/home", use_orig_path = true},
{prefix = "/host_usr", map_to = target_root},
-
- {prefix = session_dir, use_orig_path = true},
- {prefix = "/tmp", map_to = session_dir},
-
+ {prefix = "/tmp", use_orig_path = true},
{prefix = "/dev", use_orig_path = true},
{prefix = "/proc", custom_map_funct = sb2_procfs_mapper,
virtual_path = true},
@@ -69,10 +66,7 @@ qemu_chain = {
{prefix = "/lib", map_to = target_root},
{prefix = "/usr/lib", map_to = target_root},
{prefix = "/usr/local/lib", map_to = target_root},
-
- {prefix = session_dir, use_orig_path = true},
- {prefix = "/tmp", map_to = session_dir},
-
+ {prefix = "/tmp", use_orig_path = true},
{prefix = "/dev", use_orig_path = true},
{dir = "/proc", custom_map_funct = sb2_procfs_mapper,
virtual_path = true},