Hi Alex, Without this patch:
In build directory: $ cat tmp/work/qemux86_64-poky-linux/core-image-full-cmdline/1.0/rootfs/etc/issue Poky (Yocto Project Reference Distro) 5.2.99+snapshot-0cd922ad0f9cf59226660c30b1db07e23c09460c \n \l Type 'root' to login with superuser privileges (no password will be asked).\n On target: Poky (Yocto Project Reference Distro) 5.2.99+snapshot-0cd922ad0f9cf59226660c30b1db07e23c09460c qemux86-64 ttyS0 Type 'root' to login with superuser privileges (no password will be asked).qemux86-64 Regards, Qi -----Original Message----- From: Alexander Kanavin <[email protected]> Sent: Saturday, November 29, 2025 9:20 PM To: Chen, Qi <[email protected]> Cc: [email protected]; [email protected] Subject: Re: [OE-core][PATCH V2 2/2] rootfs-postcommands.bbclass: remove the '\n' in 'no password' banner 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 (#226938): https://lists.openembedded.org/g/openembedded-core/message/226938 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]] -=-=-=-=-=-=-=-=-=-=-=-
