[OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

Paul Eggleton paul.eggleton at linux.intel.com
Fri Jul 31 11:12:34 UTC 2015


Hi Nicolas,

On Friday 31 July 2015 13:09:29 Nicolas Dechesne wrote:
> On Fri, Jul 31, 2015 at 12:46 PM, Paul Eggleton
> 
> <paul.eggleton at linux.intel.com> wrote:
> >> I think that we should not remove any pkgs by default, we can add some
> >> interfaces/ways to let the user decide whether to remove them or any
> >> other pkgs, for example, add a REMOVE_PACKAGS variable, leave it as NULL
> >> or only add run-postinsts to it by default.
> > 
> > There is a reason for these not to be there by default when you don't have
> > runtime package management - the assumption is you won't be adding or
> > removing any users, thus the binaries that those packages install aren't
> > needed.
>
> I am not sure to understand the relationship between runtime package
> management, and adding/removing users? Why would no runtime package
> management, imply no need to add/remove users?

I guess the underlying assumption is that if you have no package manager, in a 
typical embedded context (if there is such a thing) that implies you won't be 
changing the system after setup.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list