]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Make unneeded packages for a read-only rootfs configurable
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 31 Mar 2016 00:20:11 +0000 (02:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2016 12:18:20 +0000 (13:18 +0100)
commite3b881d4168e5b02ff00f5c470ba472ab8bbc747
tree3d03f7c72bc8af7e8735a126c6e4965181b7f30f
parent4d949da965a99ab33798af49e5584c8bb9f0f626
image.bbclass: Make unneeded packages for a read-only rootfs configurable

Previously the list of packages that are considered unneeded for a
read-only rootfs was hardcoded. This made it impossible to, e.g., have
shadow installed on a system with a read-only rootfs, but where /etc
is mounted writable.

This also lists ${VIRTUAL-RUNTIME_update-alternatives} rather than
update-alternatives (as was previously the case) since this should
actually remove the intended package.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/lib/oe/rootfs.py