Skip to content

Commit 3964225

Browse files
committed
kernel configs: enable NFS client on the 3 kernels that lacked it (NFS rootfs)
A scan for NFS-root capability found 3 of 107 kernel configs with no NFS client at all, so a board on those kernels can't mount an NFS root (the initramfs has no nfs.ko to load): - linux-rockchip-vendor (network-filesystems menu was off) - linux-sun55iw3-syterkit-legacy (no network-filesystems lines) - linux-sun60iw2-vendor (# CONFIG_NFS_FS is not set) Enable CONFIG_NETWORK_FILESYSTEMS + CONFIG_NFS_FS=m (+ NFS_V3_ACL, NFS_V4), matching the mainline configs. NFS_V3 comes on by default; the initramfs (BOOT=nfs) brings up the NIC, so IP_PNP isn't required. Every kernel config now ships an NFS client. Signed-off-by: Igor Pecovnik <igor@armbian.com>
1 parent eda2d0d commit 3964225

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

config/kernel/linux-rockchip-vendor.config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,10 @@ CONFIG_PSTORE_CONSOLE=y
546546
CONFIG_PSTORE_RAM=y
547547
CONFIG_PSTORE_BOOT_LOG=y
548548
CONFIG_EROFS_FS=m
549-
# CONFIG_NETWORK_FILESYSTEMS is not set
549+
CONFIG_NETWORK_FILESYSTEMS=y
550+
CONFIG_NFS_FS=m
551+
CONFIG_NFS_V3_ACL=y
552+
CONFIG_NFS_V4=m
550553
CONFIG_NLS=y
551554
CONFIG_NLS_CODEPAGE_437=m
552555
CONFIG_NLS_ISO8859_1=m

config/kernel/linux-sun55iw3-syterkit-legacy.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,10 @@ CONFIG_SQUASHFS_LZO=y
554554
CONFIG_SQUASHFS_XZ=y
555555
CONFIG_SQUASHFS_ZSTD=y
556556
CONFIG_EROFS_FS=m
557+
CONFIG_NETWORK_FILESYSTEMS=y
558+
CONFIG_NFS_FS=m
559+
CONFIG_NFS_V3_ACL=y
560+
CONFIG_NFS_V4=m
557561
CONFIG_SMB_SERVER=m
558562
CONFIG_SMB_SERVER_KERBEROS5=y
559563
CONFIG_NLS_CODEPAGE_437=y

config/kernel/linux-sun60iw2-vendor.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7232,7 +7232,9 @@ CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
72327232
# CONFIG_UFS_FS is not set
72337233
# CONFIG_EROFS_FS is not set
72347234
CONFIG_NETWORK_FILESYSTEMS=y
7235-
# CONFIG_NFS_FS is not set
7235+
CONFIG_NFS_FS=m
7236+
CONFIG_NFS_V3_ACL=y
7237+
CONFIG_NFS_V4=m
72367238
# CONFIG_NFSD is not set
72377239
# CONFIG_CEPH_FS is not set
72387240
# CONFIG_CIFS is not set

0 commit comments

Comments
 (0)