mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From 2212f2464c070f8117d4723cc668c081d5330a90 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Sat, 28 May 2016 22:45:41 +0100
Subject: [PATCH] p2v: Add xterm to the virt-p2v ISO.

You can run `xterm -display :0' at the virtual console in order to get
a shell in the graphical environment.

This is useful for debugging and doesn't have much overhead unlike
other terminals.

(cherry picked from commit d3b2a5bbd2491808148b10dba966d1e898078bf8)
---
 p2v/dependencies.m4 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/p2v/dependencies.m4 b/p2v/dependencies.m4
index 7acccaa..6cf2961 100644
--- a/p2v/dependencies.m4
+++ b/p2v/dependencies.m4
@@ -42,6 +42,7 @@ ifelse(REDHAT,1,
   util-linux
 
   dnl X11 environment
+  xterm
   /usr/bin/xinit
   /usr/bin/Xorg
   xorg-x11-drivers
@@ -77,6 +78,7 @@ ifelse(DEBIAN,1,
   smartmontools
   util-linux
   xorg
+  xterm
   xserver-xorg-video-all
   fonts-dejavu
   metacity
@@ -100,6 +102,7 @@ ifelse(ARCHLINUX,1,
   hdparm
   smartmontools
   util-linux
+  xterm
   xorg-xinit
   xorg-server
   xf86-video-*
@@ -127,6 +130,7 @@ ifelse(SUSE,1,
   util-linux
   xinit
   xorg-x11-server
+  xterm
   xf86-video-*
   dejavu-fonts
   NetworkManager
-- 
2.7.4