build: Create new 'tmp' directory for tests.

Having a separate directory means:

(1) It's easy to clean up orphaned temporary files, the appliance,
    etc.

(2) You can put an SELinux label on this directory so that qemu can
    write to it when you're using sVirt and SELinux is enforcing:

    chcon --reference=/tmp tmp
This commit is contained in:
Richard W.M. Jones
2012-09-14 14:42:24 +01:00
parent aa9e0057b1
commit 834747a85d
5 changed files with 21 additions and 3 deletions

2
tmp/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/.guestfs-*
/guestfs.*