[Libguestfs] [PATCH] p2v: un-duplicate common dependencies

Pino Toscano ptoscano at redhat.com
Fri Mar 17 12:39:56 UTC 2017


Move all the dependencies with the same name in all the distributions to
a single list at the end.

There should be no change to the package list used to build the p2v ISO.
---
 p2v/dependencies.m4 | 72 ++++++++++++++++-------------------------------------
 1 file changed, 21 insertions(+), 51 deletions(-)

diff --git a/p2v/dependencies.m4 b/p2v/dependencies.m4
index 21541b4..e590f57 100644
--- a/p2v/dependencies.m4
+++ b/p2v/dependencies.m4
@@ -29,27 +29,12 @@ ifelse(REDHAT,1,
   dnl Run as external programs by the p2v binary.
   /usr/bin/ssh
   /usr/bin/qemu-nbd
-  gawk
-  curl
-  ethtool
-  util-linux
   which
-  xterm
-  pciutils
-  lsscsi
-  usbutils
 
   dnl Generally useful tools to use within xterm
-  less
   vim-minimal
 
-  dnl The hwdata package contains PCI IDs, used by virt-p2v to display
-  dnl network vendor information (RHBZ#855059).
-  hwdata
-
   dnl Useful disk and diagnostic utilities.
-  hdparm
-  smartmontools
   iscsi-initiator-utils
 
   dnl X11 environment
@@ -81,20 +66,8 @@ ifelse(DEBIAN,1,
   libdbus-1-3
   openssh-client
   qemu-utils
-  gawk
-  curl
-  ethtool
-  util-linux
   debianutils
-  xterm
-  pciutils
-  lsscsi
-  usbutils
-  less
   vim-tiny
-  hwdata
-  hdparm
-  smartmontools
   open-iscsi
   xorg
   xserver-xorg-video-all
@@ -114,20 +87,8 @@ ifelse(ARCHLINUX,1,
   dbus
   openssh
   qemu
-  gawk
-  curl
-  ethtool
-  util-linux
   which
-  xterm
-  pciutils
-  lsscsi
-  usbutils
-  less
   vim-tiny
-  hwdata
-  hdparm
-  smartmontools
   open-iscsi
   xorg-xinit
   xorg-server
@@ -148,20 +109,8 @@ ifelse(SUSE,1,
   libdbus-1-3
   qemu-tools
   openssh
-  gawk
-  curl
-  ethtool
-  util-linux
   dnl /usr/bin/which is in util-linux on SUSE
-  xterm
-  pciutils
-  lsscsi
-  usbutils
-  less
   vim
-  hwdata
-  hdparm
-  smartmontools
   open-iscsi
   xinit
   xorg-x11-server
@@ -175,3 +124,24 @@ ifelse(SUSE,1,
   libyui-qt
   SuSEfirewall2
 )
+
+dnl Run as external programs by the p2v binary.
+curl
+ethtool
+gawk
+lsscsi
+pciutils
+usbutils
+util-linux
+xterm
+
+dnl Generally useful tools to use within xterm
+less
+
+dnl The hwdata package contains PCI IDs, used by virt-p2v to display
+dnl network vendor information (RHBZ#855059).
+hwdata
+
+dnl Useful disk and diagnostic utilities.
+hdparm
+smartmontools
-- 
2.9.3




More information about the Libguestfs mailing list