mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From 7f790117b1a5d6ce5d57dcae6e82517dfa8de350 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 27 Jun 2016 15:31:37 +0100
Subject: [PATCH] p2v: Add 'less' package to the ISO.

When running the xterm it is very useful to be able to do:

  dmesg | less

(cherry picked from commit 5f248dcd395907f80e5a7a1ccb0d5f56b3e2e015)
---
 p2v/dependencies.m4 | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/p2v/dependencies.m4 b/p2v/dependencies.m4
index 80d6c92..6acae8c 100644
--- a/p2v/dependencies.m4
+++ b/p2v/dependencies.m4
@@ -31,6 +31,7 @@ ifelse(REDHAT,1,
   curl
   ethtool
   util-linux
+  xterm
 
   dnl The hwdata package contains PCI IDs, used by virt-p2v to display
   dnl network vendor information (RHBZ#855059).
@@ -40,9 +41,9 @@ ifelse(REDHAT,1,
   pciutils
   hdparm
   smartmontools
+  less
 
   dnl X11 environment
-  xterm
   /usr/bin/xinit
   /usr/bin/Xorg
   xorg-x11-drivers
@@ -73,12 +74,13 @@ ifelse(DEBIAN,1,
   curl
   ethtool
   util-linux
+  xterm
   hwdata
   pciutils
   hdparm
   smartmontools
+  less
   xorg
-  xterm
   xserver-xorg-video-all
   fonts-dejavu
   metacity
@@ -98,11 +100,12 @@ ifelse(ARCHLINUX,1,
   curl
   ethtool
   util-linux
+  xterm
   hwdata
   pciutils
   hdparm
   smartmontools
-  xterm
+  less
   xorg-xinit
   xorg-server
   xf86-video-*
@@ -124,13 +127,14 @@ ifelse(SUSE,1,
   curl
   ethtool
   util-linux
+  xterm
   hwdata
   pciutils
   hdparm
   smartmontools
+  less
   xinit
   xorg-x11-server
-  xterm
   xf86-video-*
   dejavu-fonts
   NetworkManager
-- 
2.7.4