Skip to contentSkip to conversation

nfs-utils: Ensure that the Kernel modules are include

PATCH In review Saul Wold 2 participants 3 messages Oct 15, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 nfs-utils: Ensure that the Kernel modules are include

This fixes the issue when booting a kernel with out the kernel modules included.

starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory). Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem

---
 .../nfs-utils/nfs-utils_1.2.3.bb                   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb +1 -0
index 5a4a7e7..5c9eb2b 100644
@@ -27,6 +27,7 @@ PARALLEL_MAKE = ""
 
 # Only kernel-module-nfsd is required here (but can be built-in)  - the nfsd module will
 # pull in the remainder of the dependencies.
+KERNEL_FEATURES_append " nfsd"
 
 INITSCRIPT_NAME = "nfsserver"
 # The server has no dependencies at the user run levels, so just put
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 2 lines · Saul Wold

This fixes the issue when booting a kernel with out the kernel modules included.

[...]

Quoted 3 lines

# Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will

 # pull in the remainder of the dependencies.
+KERNEL_FEATURES_append " nfsd"

Er, really? I'm a bit surprised that this even parses successfully, let alone fixes anything. Is this definitely the patch you meant to send?

p.

author
#2 lore raw
Quoted 11 lines · Phil Blundell
Quoted 2 lines · Saul Wold

This fixes the issue when booting a kernel with out the kernel modules included.

[...]

Quoted 3 lines

# Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will

  # pull in the remainder of the dependencies.
+KERNEL_FEATURES_append " nfsd"

Er, really? I'm a bit surprised that this even parses successfully, let alone fixes anything. Is this definitely the patch you meant to send?

Nope, a little hasty on the send button!

Fixed in my testing branch.

Sau!

Quoted 5 lines

p.