[Libguestfs] [PATCH 3/3] customize: add support for the xbps package manager
Richard W.M. Jones
rjones at redhat.com
Tue May 24 16:25:46 UTC 2016
On Tue, May 24, 2016 at 06:21:59PM +0200, Pino Toscano wrote:
> ---
> customize/customize_run.ml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/customize/customize_run.ml b/customize/customize_run.ml
> index 4b3e13c..c9d9d7d 100644
> --- a/customize/customize_run.ml
> +++ b/customize/customize_run.ml
> @@ -114,6 +114,7 @@ exec >>%s 2>&1
> | "pisi" -> sprintf "pisi it %s" quoted_args
> | "pacman" -> sprintf "pacman -S %s" quoted_args
> | "urpmi" -> sprintf "urpmi %s" quoted_args
> + | "xbps" -> sprintf "xbps-install -Sy %s" quoted_args
> | "yum" -> sprintf "yum -y install %s" quoted_args
> | "zypper" -> sprintf "zypper -n in -l %s" quoted_args
>
> @@ -141,6 +142,7 @@ exec >>%s 2>&1
> | "pisi" -> "pisi upgrade"
> | "pacman" -> "pacman -Su"
> | "urpmi" -> "urpmi --auto-select"
> + | "xbps" -> "xbps-install -Suy"
> | "yum" -> "yum -y update"
> | "zypper" -> "zypper -n update -l"
>
ACK series.
Thanks,
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
More information about the Libguestfs
mailing list