]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rootfs-postcommands.bbclass: fix echo + '\n' in 'no password' banner
authorChen Qi <Qi.Chen@windriver.com>
Thu, 4 Dec 2025 08:32:07 +0000 (08:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Dec 2025 11:04:29 +0000 (11:04 +0000)
commit6dfb6c79588ae5542260047c2cd10e9c0cec43be
tree15896d08bf10ec2cf82187da089a9ee87e5dfb80
parent25b53bbf2f8a0ae7fae89812c3ee3f0c84836072
rootfs-postcommands.bbclass: fix echo + '\n' in 'no password' banner

The '\n' means hostname instead of new line in /etc/issues.

bash and dash have different behavior on echo + '\n'.
So we avoid this '\n' and use an extra echo "" instead.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/rootfs-postcommands.bbclass