[Libguestfs] [PATCH 3/3] customize: add support for the xbps package manager

Pino Toscano ptoscano at redhat.com
Tue May 24 16:21:59 UTC 2016


---
 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"
 
-- 
2.5.5




More information about the Libguestfs mailing list