Accepting request 334812 from home:cbosdonnat:branches:Virtualization
- Add --gpg-auto-import-keys and -l to zypper for install and update. OBS-URL: https://build.opensuse.org/request/show/334812 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=349
This commit is contained in:
parent
8e5ba8d20f
commit
0d2e107c89
@ -42,10 +42,19 @@ Index: libguestfs-1.26.10/customize/customize_run.ml
|
|||||||
| "zypper" ->
|
| "zypper" ->
|
||||||
- (* XXX Should we use -n option? *)
|
- (* XXX Should we use -n option? *)
|
||||||
- sprintf "zypper in %s" quoted_args
|
- sprintf "zypper in %s" quoted_args
|
||||||
+ sprintf "zypper -n in %s" quoted_args
|
+ sprintf "zypper -n --gpg-auto-import-keys in -l %s" quoted_args
|
||||||
| "unknown" ->
|
| "unknown" ->
|
||||||
eprintf (f_"%s: --install is not supported for this guest operating system\n")
|
eprintf (f_"%s: --install is not supported for this guest operating system\n")
|
||||||
prog;
|
prog;
|
||||||
|
@@ -135,7 +136,7 @@ exec >>%s 2>&1
|
||||||
|
| "yum" ->
|
||||||
|
sprintf "yum -y update"
|
||||||
|
| "zypper" ->
|
||||||
|
- sprintf "zypper update"
|
||||||
|
+ sprintf "zypper -n --gpg-auto-import-keys update -l"
|
||||||
|
| "unknown" ->
|
||||||
|
eprintf (f_"%s: --update is not supported for this guest operating system\n")
|
||||||
|
prog;
|
||||||
Index: libguestfs-1.26.10/builder/downloader.ml
|
Index: libguestfs-1.26.10/builder/downloader.ml
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libguestfs-1.26.10.orig/builder/downloader.ml
|
--- libguestfs-1.26.10.orig/builder/downloader.ml
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 29 14:21:52 UTC 2015 - cbosdonnat@suse.com
|
||||||
|
|
||||||
|
- Add --gpg-auto-import-keys and -l to zypper for install and
|
||||||
|
update.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 14 11:27:19 UTC 2015 - cbosdonnat@suse.com
|
Mon Sep 14 11:27:19 UTC 2015 - cbosdonnat@suse.com
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user