[yocto] Remove nfs packages from image
Alexander Kanavin
alexander.kanavin at linux.intel.com
Fri Feb 2 02:33:05 PST 2018
On 02/02/2018 12:24 PM, Alexander Kanavin wrote:
>> I think it gets included by default using DISTRO_FEATURES_DEFAULT. So
>> using DISTRO_FEATURES_remove = " nfs" should work. However, you may also
>> want to define your own set of values for your distro for
>> DISTRO_FEATURES.
>>
>> https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-features-distro
>>
>
> DISTRO_FEATURES generally influence how packages get built, not what
> packages get installed into images.
Actually that's wrong, sorry for confusion. 'nfs' in DISTRO_FEATURES
adds rpcbind and nfs kernel module to packages. 'nfs-client' in
IMAGE_FEATURS adds nfs-utils-client, 'nfs-server' also adds nfs-utils.
Dropping nfs-related stuff from both DISTRO_FEATURES and IMAGE_FEATURES
should be enough.
Alex
More information about the yocto
mailing list