[PATCH openbmc 2/7] Allow login on ttyS4

OpenBMC Patches patches at stwcx.xyz
Tue Oct 13 01:16:35 AEDT 2015


From: Brad Bishop <bradleyb at us.ibm.com>

---
 .../recipes-extended/shadow/shadow-securetty/securetty.patch   | 10 ++++++++++
 .../common/recipes-extended/shadow/shadow-securetty_%.bbappend |  4 ++++
 meta-phosphor/common/recipes.txt                               |  4 +++-
 3 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 meta-phosphor/common/recipes-extended/shadow/shadow-securetty/securetty.patch
 create mode 100644 meta-phosphor/common/recipes-extended/shadow/shadow-securetty_%.bbappend

diff --git a/meta-phosphor/common/recipes-extended/shadow/shadow-securetty/securetty.patch b/meta-phosphor/common/recipes-extended/shadow/shadow-securetty/securetty.patch
new file mode 100644
index 0000000..6533e4a
--- /dev/null
+++ b/meta-phosphor/common/recipes-extended/shadow/shadow-securetty/securetty.patch
@@ -0,0 +1,10 @@
+--- a/securetty
++++ b/securetty
+@@ -7,6 +7,7 @@ ttyS0
+ ttyS1
+ ttyS2
+ ttyS3
++ttyS4
+ 
+ # ARM AMBA SoCs
+ ttyAM0
diff --git a/meta-phosphor/common/recipes-extended/shadow/shadow-securetty_%.bbappend b/meta-phosphor/common/recipes-extended/shadow/shadow-securetty_%.bbappend
new file mode 100644
index 0000000..70ab435
--- /dev/null
+++ b/meta-phosphor/common/recipes-extended/shadow/shadow-securetty_%.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://securetty.patch"
+
diff --git a/meta-phosphor/common/recipes.txt b/meta-phosphor/common/recipes.txt
index c2c88b7..8ebedf8 100644
--- a/meta-phosphor/common/recipes.txt
+++ b/meta-phosphor/common/recipes.txt
@@ -1 +1,3 @@
-recipes-phosphor      - Phosphor OpenBMC applications and configuration
+recipes-extended     - Applications which whilst not essential add features compared to the alternatives in
+                       core. May be needed for full tool functionality or LSB compliance.
+recipes-phosphor     - Phosphor OpenBMC applications and configuration
-- 
2.6.0




More information about the openbmc mailing list