From: Stephano Cetola <stephano.cetola@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH V5] rootfs.py: allow removal of unneeded packages
Date: Wed, 17 Aug 2016 16:25:32 -0700 [thread overview]
Message-ID: <20160817232533.92478-1-stephano.cetola@linux.intel.com> (raw)
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
next reply other threads:[~2016-08-17 23:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-17 23:25 Stephano Cetola [this message]
2016-08-17 23:25 ` [PATCH V5] rootfs.py: allow removal of unneeded packages Stephano Cetola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160817232533.92478-1-stephano.cetola@linux.intel.com \
--to=stephano.cetola@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox