我使用 Buildroot(2022.08.x) 为 STM32MP157 目标构建了 Linux 内核和根文件系统。选择 SystemD 作为 init 系统。目标启动并出现登录提示,但我无法登录 shell。
我尝试将用户名设置为“root”,密码设置为“root”,但系统抱怨说“登录:无法设置组:”,如下所示。
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Socket Units.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting Dropbear SSH daemon...
[ OK ] Started Serial Getty on ttySTM0.
[ OK ] Reached target Login Prompts.
[ OK ] Started Dropbear SSH daemon.
[ OK ] Reached target Multi-User System.
Welcome to Buildroot
buildroot login: root
Password:
login: can't set groups:
Welcome to Buildroot
buildroot login:
有谁知道根本原因是什么以及如何解决这个问题?