aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Gervais, Francois <FGervais@distech-controls.com>2019-02-20 16:35:40 +0000
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-02-20 22:58:16 +0100
commit77c057939ddb669a65f4f10d9e927ad958d516cb (patch)
tree1f9397de289dfabfd504024730bd4f93ab4c221b
parent1f2d3000c450968ccc544379cdade8f2e03a3581 (diff)
downloadbuildroot-77c057939ddb669a65f4f10d9e927ad958d516cb.tar.gz
buildroot-77c057939ddb669a65f4f10d9e927ad958d516cb.tar.bz2
systemd: Remove instance name usage in a non-template unit file
console-getty.service is not a template unit file (it doesn't have the @ specifier), so %I doesn't get properly expanded in it. Thus, getty startup will fail due to invalid options and no getty prompt is launched on the console. Fixes: No getty prompt on boot Signed-off-by: Francois Gervais <fgervais@distech-controls.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/systemd/0001-fix-getty-unit.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/systemd/0001-fix-getty-unit.patch b/package/systemd/0001-fix-getty-unit.patch
index d546e1ab32..a12569f493 100644
--- a/package/systemd/0001-fix-getty-unit.patch
+++ b/package/systemd/0001-fix-getty-unit.patch
@@ -30,7 +30,7 @@ index 3c553240a..fd5ad9456 100644
# option to preserve environment (-p), followed by '--' for safety, and then
# the entered username.
-ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM
-+ExecStart=-/sbin/getty -L %I 115200 vt100
++ExecStart=-/sbin/getty -L console 115200 vt100
Type=idle
Restart=always
UtmpIdentifier=cons