RK3566-ROC-PC NFS服务器安装报错
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript nfs-kernel-server, action "restart" failed.
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: inactive (dead)
4月 27 02:27:52 firefly systemd: Dependency failed for NFS server and services.
4月 27 02:27:52 firefly systemd: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
4月 27 02:27:55 firefly systemd: Dependency failed for NFS server and services.
4月 27 02:27:55 firefly systemd: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Failed to restart nfs-kernel-server, ignoring.
rk356x 内核默认没有开启 nfs 服务端 (CONFIG_NFSD)
需要在 SDK/kernel 中打开并重新编译烧录 进入SDK/kernel目录
make ARCH=arm64 firefly_linux_defconfig
make ARCH=arm64 menuconfig
按斜杠 / 搜索 NFSD
打开 NFSD 等一系列有关 NFS 服务端的选项
再搜索打开 OVERLAY_FS_NFS_EXPORT
选择save
然后执行 make ARCH=arm64 savedefconfig
mv defconfig arch/arm64/configs/firefly_linux_defconfig
编译内核
页:
[1]