On Sat, 29 Nov 2025 at 04:54, Chen Qi via lists.openembedded.org
<[email protected]> wrote:
> The '\n' means hostname instead of new line in /etc/issues.
> -               echo "Type 'root' to login with superuser privileges (no 
> password will be asked).\n" >> ${IMAGE_ROOTFS}/etc/issue
> +               echo "Type 'root' to login with superuser privileges (no 
> password will be asked)." >> ${IMAGE_ROOTFS}/etc/issue

\n does not actually make it into /etc/issue and does get converted to
a newline (as intended) somewhere on the way:

alex@Zen2:/srv/storage/alex/yocto/build-64$ cat
tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs/etc/issue
Poky (Yocto Project Reference Distro)
5.2.99+snapshot-449cd68248749daedc9990c4094ef5577907ea3d \n \l

Type 'root' to login with superuser privileges (no password will be asked).

alex@Zen2:/srv/storage/alex/yocto/build-64$

Is that not the case in your build?

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226934): 
https://lists.openembedded.org/g/openembedded-core/message/226934
Mute This Topic: https://lists.openembedded.org/mt/116522682/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to