Some people compile and run stuff from /tmp.

Signed-off-by: Felipe Contreras <[email protected]>
---
 lua_scripts/pathmaps/simple/00_default.lua |   10 ++--------
 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},
-- 
1.6.2

_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to