[yocto] Customize login prompt text in Yocto

Rudolf Streif rudolf.streif at gmail.com
Sun Apr 24 14:06:30 PDT 2016


>
> 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; "
>


The more "yoctonic" way of setting this is to modify the DISTRO_NAME
variable, which is set in the distro configuration file e.g. poky.conf. If
you are building your own distro it you may want to derive your own distro
configuration file from the ones that Poky provides. There you can also set
other variables such as DISTRO_VERSION, MAINTAINER, etc.

Cheers,
Rudi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160424/a89ca5bd/attachment.html>


More information about the yocto mailing list