diff options
| author | Steve Sakoman <steve@sakoman.com> | 2012-02-01 09:24:48 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-03 17:22:12 +0000 |
| commit | 3301dc44b2942a930875a261a203099bc9d09f73 (patch) | |
| tree | 216685f6480a8d8c49322eb6ad31e10915240d66 | |
| parent | 3b1ad76c871584bd7df0207ad4170fe65de229eb (diff) | |
| download | poky-3301dc44b2942a930875a261a203099bc9d09f73.tar.gz | |
shadow-securetty: allow root logins on usb serial gadget device
Existing tty list does not include ttyGS0, add it
(From OE-Core rev: 6ba9dc6460eb615e002e90ead0f4d5bc31856f22)
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/securetty | 3 | ||||
| -rw-r--r-- | meta/recipes-extended/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 28fa0afb72..a06dc4450e 100644 --- a/meta/recipes-extended/shadow/files/securetty +++ b/meta/recipes-extended/shadow/files/securetty | |||
| @@ -25,6 +25,9 @@ ttyUSB0 | |||
| 25 | ttyUSB1 | 25 | ttyUSB1 |
| 26 | ttyUSB2 | 26 | ttyUSB2 |
| 27 | 27 | ||
| 28 | # USB serial gadget | ||
| 29 | ttyGS0 | ||
| 30 | |||
| 28 | # PowerMac | 31 | # PowerMac |
| 29 | ttyPZ0 | 32 | ttyPZ0 |
| 30 | ttyPZ1 | 33 | 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 e391d24933..40b52a9631 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 | |||
| 6 | 6 | ||
| 7 | INHIBIT_DEFAULT_DEPS = "1" | 7 | INHIBIT_DEFAULT_DEPS = "1" |
| 8 | 8 | ||
| 9 | PR = "r1" | ||
| 10 | |||
| 9 | SRC_URI = "file://securetty" | 11 | SRC_URI = "file://securetty" |
| 10 | 12 | ||
| 11 | # Since we deduce our arch from ${SERIAL_CONSOLE} | 13 | # Since we deduce our arch from ${SERIAL_CONSOLE} |
