在linux启动过程中,会启动Dropbear SSH server,生成一串密钥,耗费几秒钟的时间,为了减少linux开机时间,可以通过以下方法来禁止启动Dropbear SSH server:
1. 在/project-spec/meta-user/conf/petalinuxbsp.conf中添加:
IMAGE_INSTALL_remove = " dropbear"
IMAGE_FEATURES_remove = "ssh-server-dropbear"
2. petalinux-config -c rootfs的界面中关闭packagegroup-core-ssh-dropbear的使能