On Fri, 28 Nov 2025 at 10:16, Chen Qi via lists.openembedded.org <[email protected]> wrote: > It's possible that users use EXTRA_USERS_PARAMS to set password > for root or explicitly expire root password. So we need to check > these two cases to ensure the 'no password' banner is not misleading.
Wait. The check is for the 'empty-root-password' IMAGE_FEATURE, so is your setup having that feature enabled, and then setting a root password somewhere else anyway? I'd say the correct thing to do is to refuse to set a password if the feature is enabled. Can you show where and how it is done? > We need to ensure that the function runs after set_user_group function > from extrausers.bbclass. So change to use :append. Why? What does the function do, and why this needs to run after? > Besides the above check, the '\n' at the end of the banner is also > removed. The '\n' in /etc/issue means hostname instead of new line. Please do not bundle the unrelated changes, they should be all separate commits. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#226915): https://lists.openembedded.org/g/openembedded-core/message/226915 Mute This Topic: https://lists.openembedded.org/mt/116511225/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
