Hello,
What is the correct way to override poky.conf? I tried adding a new file custom-poky.conf into meta-yocto/conf/distro, including the poky.conf file and overriding e.g., DISTRO_VERSION. Is this the correct approach, or is some other changes required as well? Best regards, Andreas Enbacka From: Rudolf Streif [mailto:[email protected]] Sent: 25. huhtikuutata 2016 0:07 To: Peter Bergin <[email protected]> Cc: Andreas Enbacka <[email protected]>; [email protected] Subject: Re: [yocto] Customize login prompt text in Yocto 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
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
