[yocto] Remove nfs packages from image

Alexander Kanavin alexander.kanavin at linux.intel.com
Fri Feb 2 05:43:21 PST 2018


On 02/02/2018 03:23 PM, Marek Słomiany wrote:

> It's still on target:
> root at 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 <image> -e |grep -v ^# 
> |grep -i nfs" the only interesting thing I got is this:
> EXCLUDE_FROM_WORLD_pn-unfs3_libc-musl="1"
> FEATURE_PACKAGES_nfs-client="packagegroup-core-nfs-client"
> FEATURE_PACKAGES_nfs-server="packagegroup-core-nfs-server"
> 
> from which first one is not the thing, and two following are 
> from /meta/classes/core-image.bbclass and if I'm correct it's just 
> defining what will happen when I add nfs-client or nfs-server to 
> IMAGE_FEATURES.
> Maybe I should delete manually some sstate or something?

I'd say first inspect log.do_rootfs for your image, and maybe there are 
clues in it as to why these packages get pulled in. You might have a 
depdendency on them somewhere else.

Alex



More information about the yocto mailing list