Re: [yocto] Remove nfs packages from image

2018-02-05 Thread Marek Słomiany
I have managed to track down what was including nfs-utils. What I have done is, I think, worth to mention for future: I have added BBMASK in my conf/local.conf to mask nfs-utils.bb recipe, than tried to build my image. As expected, build failed because nfs-utils recipe was required but not found.

Re: [yocto] Remove nfs packages from image

2018-02-02 Thread Alexander Kanavin
On 02/02/2018 03:23 PM, Marek Słomiany wrote: It's still on target: root@target# opkg list |grep nfs libnfsidmap0 - 0.25-r0 nfs-utils - 2.1.1-r0 nfs-utils-client - 2.1.1-r0 nfs-utils-mount - 2.1.1-r0 While checking for any nfs-things using "bitbake -e |grep -v ^# |grep -i nfs" the only

[yocto] Remove nfs packages from image

2018-02-02 Thread Marek Słomiany
> 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

Re: [yocto] Remove nfs packages from image

2018-02-02 Thread Anuj Mittal
On 02/02/2018 04:06 PM, Marek Słomiany wrote: > Hi, > > I am using yocto rocko, with custom distro (based on poky), and custom > image inheriting core-image bbclass. > I was asked to get rid of nfs-client and nfs-server (and generaly > nfs-anything) from our image. If I'm right it comes with

Re: [yocto] Remove nfs packages from image

2018-02-02 Thread Alexander Kanavin
On 02/02/2018 12:22 PM, Anuj Mittal 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.

Re: [yocto] Remove nfs packages from image

2018-02-02 Thread Alexander Kanavin
On 02/02/2018 10:06 AM, Marek Słomiany wrote: I am using yocto rocko, with custom distro (based on poky), and custom image inheriting core-image bbclass. I was asked to get rid of nfs-client and nfs-server (and generaly nfs-anything) from our image. If I'm right it comes with

Re: [yocto] Remove nfs packages from image

2018-02-02 Thread Alexander Kanavin
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.

[yocto] Remove nfs packages from image

2018-02-02 Thread Marek Słomiany
Hi, I am using yocto rocko, with custom distro (based on poky), and custom image inheriting core-image bbclass. I was asked to get rid of nfs-client and nfs-server (and generaly nfs-anything) from our image. If I'm right it comes with core-image.bbclass. I have tried using IMAGE_INSTALL_remove,