[yocto] Problem to compile kernel (enable nfsd)

Paul Eggleton paul.eggleton at linux.intel.com
Thu May 30 02:03:52 PDT 2013


On Wednesday 29 May 2013 23:33:04 Bruce Ashfield wrote:
> On 13-05-29 3:05 PM, Caio wrote:
> > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES
> > # $KERNEL_FEATURES [2 operations]
> > KERNEL_FEATURES="features/nfsd/nfsd-enable.scc"
> 
> Aha. That's the problem with cutting and pasting patches, I missed this
> part of the fix:
> 
> diff --git a/meta/conf/machine/include/qemu.inc
> b/meta/conf/machine/include/qemu.inc
> index 7111926..b303191 100644
> --- a/meta/conf/machine/include/qemu.inc
> +++ b/meta/conf/machine/include/qemu.inc
> @@ -25,4 +25,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
>   EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
> 
>   # Provide the nfs server kernel module for all qemu images
> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc"
> +KERNEL_FEATURES-pn_linux-yocto_append = " features/nfsd/nfsd-enable.scc"

I'm afraid this is not correct either.

You need pn- instead of pn_, and I think in terms of ordering you also need 
_append_pn-linux-yocto instead of _pn-linux-yocto_append.

I'd really appreciate the final fix for this as soon as possible so I can 
integrate it into the dylan branch for the 1.4.1 release.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list