From: Gordon Hecker Date: Fri, 25 Jun 2010 14:15:32 +0000 (+0200) Subject: plugin support: store working directory at startup for use with plugins X-Git-Tag: e2factory-2.3.7pre1~2 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=d798967da76959c13fb4661c2fac4fdd961ab6eb;p=e2factory.git plugin support: store working directory at startup for use with plugins Signed-off-by: Gordon Hecker --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 6481396..9df3eb8 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -390,6 +390,9 @@ function local_init(path, tool) -- initialization info.current_tool = tool + -- provide the current working directory at tool startup + info.startup_cwd = e2util.cwd() + -- set the umask value to be used in chroot info.chroot_umask = 18 -- 0022 octal init_umask(info)