summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-11-13 13:45:22 +0200
committerLauri Leukkunen <lle@rahina.org>2008-12-07 04:32:46 +0200
commit89d6920a4770c56cec7ba65480419ac5b9390eb5 (patch)
tree8a639d192fc2338645c4009f5df6362a9ef4399e /lua_scripts
parent87d9f856fe6bfe193a8d20c16c6834eb49c4e79a (diff)
"devel" and "emulate" modes: Mapped /var/run to a session-specific directory
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua2
-rw-r--r--lua_scripts/pathmaps/emulate/00_default.lua3
2 files changed, 5 insertions, 0 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index b8440c4..bdf0503 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -319,6 +319,8 @@ simple_chain = {
-- -----------------------------------------------
-- 80. /var/*
+ {prefix = "/var/run", map_to = session_dir},
+
-- files from package "xkbutils":
{prefix = "/var/lib/xkb", map_to = target_root,
readonly = true},
diff --git a/lua_scripts/pathmaps/emulate/00_default.lua b/lua_scripts/pathmaps/emulate/00_default.lua
index 7631a67..cfc6d3d 100644
--- a/lua_scripts/pathmaps/emulate/00_default.lua
+++ b/lua_scripts/pathmaps/emulate/00_default.lua
@@ -78,6 +78,9 @@ mapall_chain = {
{path = "/usr/lib/libsb2/ld-2.5.so", use_orig_path = true,
readonly = true},
+ --
+ {prefix = "/var/run", map_to = session_dir},
+
--
{prefix = session_dir, use_orig_path = true},
{prefix = "/tmp", replace_by = tmp_dir_dest},