[PATCH 1/2] ./run: Make sure that the temporary directory exists so test scripts can produce output files
--- run.in | 1 + 1 file changed, 1 insertion(+) diff --git a/run.in b/run.in index ed4971b..548ac20 100644 --- a/run.in +++ b/run.in @@ -51,6 +51,7 @@ b=@abs_builddir@ # # chcon --reference=/tmp tmp export TMPDIR="$b/tmp" +mkdir -p "$b/tmp" # Set local environment relative to this script. export LIBGUESTFS_PATH="$b/appliance" -- 1.7.10.4
--- run.in | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 run.in diff --git a/run.in b/run.in old mode 100644 new mode 100755 index 548ac20..cdcfa29 --- a/run.in +++ b/run.in @@ -115,6 +115,10 @@ if libtool --help >/dev/null 2>&1; then libtool="libtool --mode=execute" fi +# Avoid GNOME keyring stupidity +export GNOME_KEYRING_CONTROL= +export GNOME_KEYRING_PID= + # Run the program. if [ -z "$test_mode" ]; then exec $libtool "$@" -- 1.7.10.4
On Thu, Sep 20, 2012 at 07:36:21PM +0200, Hilko Bengen wrote:
--- run.in | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 run.in
diff --git a/run.in b/run.in old mode 100644 new mode 100755 index 548ac20..cdcfa29 --- a/run.in +++ b/run.in @@ -115,6 +115,10 @@ if libtool --help >/dev/null 2>&1; then libtool="libtool --mode=execute" fi
+# Avoid GNOME keyring stupidity +export GNOME_KEYRING_CONTROL= +export GNOME_KEYRING_PID= + # Run the program. if [ -z "$test_mode" ]; then exec $libtool "$@" --
Thanks - I pushed all three patches. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
participants (2)
-
Hilko Bengen -
Richard W.M. Jones