Blame SOURCES/0039-init-Add-comment-that-we-should-consider-using-proc-.patch

a30de4
From 630c80558888131c094c15d8854a527d3c41261f Mon Sep 17 00:00:00 2001
a30de4
From: "Richard W.M. Jones" <rjones@redhat.com>
a30de4
Date: Wed, 17 May 2017 11:38:05 +0200
a30de4
Subject: [PATCH] init: Add comment that we should consider using
a30de4
 /proc/consoles.
a30de4
a30de4
Although we can't use it at the moment because it is incorrect
a30de4
on at least s390x (RHBZ#1351968).
a30de4
a30de4
(cherry picked from commit fa6bc0fd83317d43df38c50bf94966b31024ca35)
a30de4
---
a30de4
 appliance/init | 1 +
a30de4
 1 file changed, 1 insertion(+)
a30de4
a30de4
diff --git a/appliance/init b/appliance/init
a30de4
index 2c9aecd5f..735ba8946 100755
a30de4
--- a/appliance/init
a30de4
+++ b/appliance/init
a30de4
@@ -179,6 +179,7 @@ else
a30de4
   # Run virt-rescue shell.
a30de4
 
a30de4
   # Get name of the serial port, from console= passed by libguestfs.
a30de4
+  # XXX Consider using /proc/consoles
a30de4
   guestfs_serial=$(grep -Eo 'console=[^[:space:]]+' /proc/cmdline |
a30de4
                    sed s/console=//)
a30de4
 
a30de4
-- 
a30de4
2.14.3
a30de4