[yocto] Problem to compile kernel (enable nfsd)

Bruce Ashfield bruce.ashfield at gmail.com
Thu May 30 05:31:18 PDT 2013


On Thu, May 30, 2013 at 5:03 AM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> 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.

Heh. Well that wasn't the patch, that was me typing it in at 1AM based on
a modified line from the original :) My laptop with the real change decided
to drop of the network.

Bruce

>
> 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
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the yocto mailing list