[yocto] How to remove packages from Image coming because of RDEPENDS

Priyanshu Sharma ms.priyanshu.sharma at gmail.com
Tue Apr 23 03:07:40 PDT 2019


Hi,

How can we remove inclusion of any package which comes because some other
package RDPENDS on it?

For example, rpcbind recipe RDEPENDS on shadow and libpam packages, because
of which if IMAGE_INSTALL+="rpcbind" is mentioned in recipe ( even though
shadow and libpam are not added like this explicilty) , shadow and libpam
packages get packaged in Image rootfs.
This even includes any bin/sbin provided by shadow/libpam, even when they
are not needed in rootfs.

Is there an optimum way to control inclusion of RDEPENDS packages?
One way is to use ROOTFS_POST_PROCESS and remove specific files after
do_rootfs task is done.
But is there a way to remove entire package, instead of removing each file ?

Warm Regards,
Priyanshu Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190423/8eb3d030/attachment.html>


More information about the yocto mailing list