forked from pool/libguestfs
		
	Accepting request 319128 from home:cbosdonnat:branches:Virtualization
- Make sure gpg-agent isn't blocking unmount operations for fedora 22+ images. boo#939105 OBS-URL: https://build.opensuse.org/request/show/319128 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=340
This commit is contained in:
		@@ -28,13 +28,18 @@ index 7a4d43d..ceea593 100644
 | 
			
		||||
     ADD_ARG (argv, i, fs_buf);
 | 
			
		||||
     ADD_ARG (argv, i, NULL);
 | 
			
		||||
 
 | 
			
		||||
Index: libguestfs-1.26.9/customize/customize_run.ml
 | 
			
		||||
Index: libguestfs-1.26.10/customize/customize_run.ml
 | 
			
		||||
===================================================================
 | 
			
		||||
--- libguestfs-1.26.9.orig/customize/customize_run.ml
 | 
			
		||||
+++ libguestfs-1.26.9/customize/customize_run.ml
 | 
			
		||||
@@ -105,8 +105,7 @@ exec >>%s 2>&1
 | 
			
		||||
--- libguestfs-1.26.10.orig/customize/customize_run.ml
 | 
			
		||||
+++ libguestfs-1.26.10/customize/customize_run.ml
 | 
			
		||||
@@ -103,10 +103,11 @@ exec >>%s 2>&1
 | 
			
		||||
     | "urpmi" ->
 | 
			
		||||
       sprintf "urpmi %s" quoted_args
 | 
			
		||||
     | "yum" ->
 | 
			
		||||
       sprintf "yum -y install %s" quoted_args
 | 
			
		||||
-      sprintf "yum -y install %s" quoted_args
 | 
			
		||||
+      sprintf "
 | 
			
		||||
+        yum -y install %s
 | 
			
		||||
+        pkill gpg-agent" quoted_args
 | 
			
		||||
     | "zypper" ->
 | 
			
		||||
-      (* XXX Should we use -n option? *)
 | 
			
		||||
-      sprintf "zypper in %s" quoted_args
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,9 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jul 28 13:53:53 UTC 2015 - cbosdonnat@suse.com
 | 
			
		||||
 | 
			
		||||
- Make sure gpg-agent isn't blocking unmount operations for
 | 
			
		||||
  fedora 22+ images. boo#939105
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Fri Jul 24 12:33:51 UTC 2015 - ohering@suse.de
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package libguestfs
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
			
		||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | 
			
		||||
# Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com>
 | 
			
		||||
#
 | 
			
		||||
# All modifications and additions to the file contributed by third parties
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user