Paul and I had a discussion about this a couple weeks ago. We want to
allow for the removal of certain packages, regardless of the image
features containing "read-only-rootfs".

For example, if something has a runtime dependency on update-rc.d or
shadow, we need a way to remove these packages regardless of this
dependency.

Here is my idea for documenting the new variable:

FORCE_RO_REMOVE
Setting this variable to "1" will force the removal of the packages
listed in ROOTFS_RO_UNNEEDED during the generation of the rootfs.

I have purposely kept ROOTFS_RO_UNNEEDED from being easily
overridden, as this would have allowed users to remove packages on a
whim, which may be giving them just enough rope to hang themselves.

That being said, IMHO this patch adds some flexibility without adding
serious complexity or avenues for confusion.

Stephano Cetola (1):
  rootfs.py: allow removal of unneeded packages

 meta/lib/oe/rootfs.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.9.3

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to