[Libguestfs] [PATCH] p2v: Add awk as a dependency.

Richard W.M. Jones rjones at redhat.com
Thu Mar 16 18:53:25 UTC 2017


The code to parse /proc/cpuinfo runs awk, but it was not included as a
specific dependency so the parsing code might silently fail.
---
 p2v/dependencies.m4 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/p2v/dependencies.m4 b/p2v/dependencies.m4
index bd62d34..21541b4 100644
--- a/p2v/dependencies.m4
+++ b/p2v/dependencies.m4
@@ -29,6 +29,7 @@ ifelse(REDHAT,1,
   dnl Run as external programs by the p2v binary.
   /usr/bin/ssh
   /usr/bin/qemu-nbd
+  gawk
   curl
   ethtool
   util-linux
@@ -80,6 +81,7 @@ ifelse(DEBIAN,1,
   libdbus-1-3
   openssh-client
   qemu-utils
+  gawk
   curl
   ethtool
   util-linux
@@ -112,6 +114,7 @@ ifelse(ARCHLINUX,1,
   dbus
   openssh
   qemu
+  gawk
   curl
   ethtool
   util-linux
@@ -145,6 +148,7 @@ ifelse(SUSE,1,
   libdbus-1-3
   qemu-tools
   openssh
+  gawk
   curl
   ethtool
   util-linux
-- 
2.10.2




More information about the Libguestfs mailing list