summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2012-02-01 09:24:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-03 17:22:01 +0000
commit6ba9dc6460eb615e002e90ead0f4d5bc31856f22 (patch)
tree12f500d0c553fb8d8ae81b4a73eb2b10696e9cae
parent41e92923a0b2fe047ecaa9f9ffb564d6069f784f (diff)
downloadopenembedded-core-6ba9dc6460eb615e002e90ead0f4d5bc31856f22.tar.gz
openembedded-core-6ba9dc6460eb615e002e90ead0f4d5bc31856f22.tar.bz2
openembedded-core-6ba9dc6460eb615e002e90ead0f4d5bc31856f22.tar.xz
openembedded-core-6ba9dc6460eb615e002e90ead0f4d5bc31856f22.zip
shadow-securetty: allow root logins on usb serial gadget device
Existing tty list does not include ttyGS0, add it Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/shadow/files/securetty3
-rw-r--r--meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb2
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/files/securetty b/meta/recipes-extended/shadow/files/securetty
index 28fa0afb7..a06dc4450 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 e391d2493..40b52a963 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}