diff options
author | Geoff Parker <geoffhp@gmail.com> | 2020-09-11 20:07:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-22 23:34:40 +0100 |
commit | 99d2fe86386096504ca82853dd54757729f9b3d8 (patch) | |
tree | c85693f2649c8be1bbe869dded54abe96632728d /meta/recipes-core/initrdscripts/initramfs-framework/init | |
parent | 2cc334afbf2eebe838e6ba71d4cdfbe03a88829c (diff) | |
download | poky-99d2fe86386096504ca82853dd54757729f9b3d8.tar.gz |
systemd-serialgetty: Replace sed quoting using ' with " to allow var expansion
A recent commit added single quotes around the sed regex's. This prevented the
expansion of $default_baudrate in do_install(), and ended up with systemd's'
serial-getty@.service file having a literal $default_baudrate.
This broke the serial console getty service.
serial-getty@.service was getting a line which looked like this:
ExecStart=-/sbin/agetty -8 -L %I $default_baudrate $TERM
Rather than:
ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM
Fixed by repacing the single quotes with double quotes in the sed expressions.
(From OE-Core rev: 1cc94a6b9b6a9d12f782471053448ad9795944bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80b721bfa4fe300a2f52f233f44fa2835426d304)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-framework/init')
0 files changed, 0 insertions, 0 deletions