[OE-core] [PATCH V2] rootfs.py: allow removal of support packages

Burton, Ross ross.burton at intel.com
Mon Jul 11 13:44:05 UTC 2016


On 8 July 2016 at 17:33, Stephano Cetola <stephano.cetola at linux.intel.com>
wrote:

> +            unneeded_pkgs = ["update-rc.d", "base-passwd", "shadow",
> +                    "update-alternatives", "run-postinsts",
> +                    self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True)]
>

The getVar() will return a string, so whilst this currently works (as all
package manager classes end up joining the passed list of packages into a
single string) I think the getVar() should be ran through split and then
appended to the list just in case the implementation changes.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160711/b7901889/attachment-0002.html>


More information about the Openembedded-core mailing list