[OE-core] [PATCH v2] shadow-securetty: allow root logins on usb serial gadget device

Steve Sakoman steve at sakoman.com
Wed Feb 1 17:24:48 UTC 2012


Existing tty list does not include ttyGS0, add it

Signed-off-by: Steve Sakoman <steve at sakoman.com>
---
Changes in this version:
 - set PR to r1
 
 meta/recipes-extended/shadow/files/securetty       |    3 +++
 .../shadow/shadow-securetty_4.1.4.3.bb             |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/shadow/files/securetty b/meta/recipes-extended/shadow/files/securetty
index 28fa0af..a06dc44 100644
--- a/meta/recipes-extended/shadow/files/securetty
+++ b/meta/recipes-extended/shadow/files/securetty
@@ -25,6 +25,9 @@ ttyUSB0
 ttyUSB1
 ttyUSB2
 
+# USB serial gadget
+ttyGS0
+
 # PowerMac
 ttyPZ0
 ttyPZ1
diff --git a/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb
index e391d24..c7a206e 100644
--- a/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 INHIBIT_DEFAULT_DEPS = "1"
 
+PR = "r1"
+
 SRC_URI = "file://securetty"
 
 # Since we deduce our arch from ${SERIAL_CONSOLE}
-- 
1.7.1





More information about the Openembedded-core mailing list