]> git.ipfire.org Git - thirdparty/dracut.git/commit
Use TMPDIR if available
authorTopi Miettinen <toiwoton@gmail.com>
Sun, 1 Mar 2020 08:45:16 +0000 (10:45 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 6 Mar 2020 10:40:00 +0000 (11:40 +0100)
commitbc1e69b691e6d25722b64e1df58a35e3be977801
tree0cb994cefa64e8056017dd38d026bd31f17ff56e
parent0386e4627779cb51f4292b3c642d90586d5e71b4
Use TMPDIR if available

Use environment variable TMPDIR (typically /run/user/$UID) as default
temporary directory, if available. This should be more private
location than /var/tmp. Path specified with --tmpdir is takes
precedence over TMPDIR and /var/tmp is still used as last resort if
neither TMPDIR is set nor --tmpdir is used.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
dracut.sh