[yocto] Customize login prompt text in Yocto

Peter Bergin peter.bergin at tritech.se
Sun Apr 24 01:06:40 PDT 2016


Hi,

On 04/24/2016 09:42 AM, Andreas Enbacka wrote:
Hello,

Normally, when building e.g., a console-based image using Yocto, you will get at caption text ”Poky Reference Distribution”... at the login prompt. Is it easily possible to change / customize this caption text,
and in such a case, which Yocto package / recipe requires change. Any information would be greatly appreciated.

Best regards,
Andreas Enbacka

the information shown is from the file /etc/issue. You can for example do post-processing on this file and change the information. You can add this to your image recipe.

update_issue() {
    echo "Your text" > ${IMAGE_ROOTFS}/etc/issue
}

ROOTFS_POSTPROCESS_COMMAND += " update issue; "

Best regards,
/Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160424/4706e5c6/attachment.html>


More information about the yocto mailing list