diff options
Diffstat (limited to 'meta/recipes-extended/shadow/shadow-securetty_4.6.bb')
-rw-r--r-- | meta/recipes-extended/shadow/shadow-securetty_4.6.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-extended/shadow/shadow-securetty_4.6.bb b/meta/recipes-extended/shadow/shadow-securetty_4.6.bb index c78f888cf4..85c04b6af1 100644 --- a/meta/recipes-extended/shadow/shadow-securetty_4.6.bb +++ b/meta/recipes-extended/shadow/shadow-securetty_4.6.bb | |||
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 | |||
5 | 5 | ||
6 | INHIBIT_DEFAULT_DEPS = "1" | 6 | INHIBIT_DEFAULT_DEPS = "1" |
7 | 7 | ||
8 | PR = "r3" | ||
9 | 8 | ||
10 | SRC_URI = "file://securetty" | 9 | SRC_URI = "file://securetty" |
11 | 10 | ||
@@ -18,7 +17,7 @@ do_install () { | |||
18 | # Ensure we add a suitable securetty file to the package that has | 17 | # Ensure we add a suitable securetty file to the package that has |
19 | # most common embedded TTYs defined. | 18 | # most common embedded TTYs defined. |
20 | install -d ${D}${sysconfdir} | 19 | install -d ${D}${sysconfdir} |
21 | install -m 0400 ${WORKDIR}/securetty ${D}${sysconfdir}/securetty | 20 | install -m 0400 ${S}/securetty ${D}${sysconfdir}/securetty |
22 | if [ ! -z "${SERIAL_CONSOLES}" ]; then | 21 | if [ ! -z "${SERIAL_CONSOLES}" ]; then |
23 | # Our SERIAL_CONSOLES contains a baud rate and sometimes extra | 22 | # Our SERIAL_CONSOLES contains a baud rate and sometimes extra |
24 | # options as well. The following pearl :) takes that and converts | 23 | # options as well. The following pearl :) takes that and converts |