mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
./run: chcon the tmp directory in the builddir.
Not just some random tmp directory which happens to be in the local directory.
This commit is contained in:
2
run.in
2
run.in
@@ -60,7 +60,7 @@ export T
|
||||
export LIBGUESTFS_TMPDIR="$b/tmp"
|
||||
export LIBGUESTFS_CACHEDIR="$b/tmp"
|
||||
mkdir -p "$b/tmp"
|
||||
chcon --reference=/tmp tmp 2>/dev/null ||:
|
||||
chcon --reference=/tmp "$b/tmp" 2>/dev/null ||:
|
||||
|
||||
# Only set path if the appliance was enabled.
|
||||
if [ "x@ENABLE_APPLIANCE@" = "xyes" ]; then
|
||||
|
||||
Reference in New Issue
Block a user