From 930003064d14f776e0f9c38c97358a113c3cf8db Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Mon, 4 Jul 2022 17:26:01 +0000 Subject: [PATCH 1/2] linux-raspberrypi: Enable NFSv4 config Changelog-entry: linux-raspberrypi: Enable NFSv4 config Signed-off-by: Kyle Harding --- .../recipes-kernel/linux/linux-raspberrypi_5.10.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend b/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend index bd144493a..b7fc4ad41 100644 --- a/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend +++ b/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend @@ -185,6 +185,14 @@ BALENA_CONFIGS[rtrpi300cfgs] = " \ CONFIG_CH432T_SPI=m \ " +BALENA_CONFIGS:append = " nfsfs" +BALENA_CONFIGS[nfsfs] = " \ + CONFIG_NFS_FS=m \ + CONFIG_NFS_V2=m \ + CONFIG_NFS_V3=m \ + CONFIG_NFS_V4=m \ +" + # The Pi3-64 and Pi4-64 are the only boards very low on rootfs space for now # so we add this as per https://github.com/balena-os/meta-balena/pull/2411 BALENA_CONFIGS:append:raspberrypi4-64 = " optimize-size" From 40d21a36820f46735ab58877aeaa20c89fd9766c Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Thu, 7 Jul 2022 13:45:13 +0000 Subject: [PATCH 2/2] linux-raspberrypi: Enable NFS_V4 server support Previous commit enables NFS_V4 client support, let's also add server support as later requested by the user. Signed-off-by: Alexandru Costache --- .../recipes-kernel/linux/linux-raspberrypi_5.10.bbappend | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend b/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend index b7fc4ad41..01c2e814d 100644 --- a/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend +++ b/layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.10.bbappend @@ -188,9 +188,12 @@ BALENA_CONFIGS[rtrpi300cfgs] = " \ BALENA_CONFIGS:append = " nfsfs" BALENA_CONFIGS[nfsfs] = " \ CONFIG_NFS_FS=m \ - CONFIG_NFS_V2=m \ - CONFIG_NFS_V3=m \ - CONFIG_NFS_V4=m \ + CONFIG_NFS_V2=y \ + CONFIG_NFS_V3=y \ + CONFIG_NFS_V4=y \ + CONFIG_NFSD=m \ + CONFIG_NFSD_V3=y \ + CONFIG_NFSD_V4=y \ " # The Pi3-64 and Pi4-64 are the only boards very low on rootfs space for now