[OE-core] [PATCH] rootfs_ipk: respect ONLINE_PACKAGE_MANAGEMENT

Phil Blundell pb at pbcl.net
Tue May 17 14:50:33 UTC 2011


On Tue, 2011-05-17 at 15:24 +0100, Richard Purdie wrote:
> What's wrong with:
> 
> ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
> 
> as used in the minimal image? The nice thing about this is it works over
> several package backends too...

Well, conceptually it seems a bit nicer to have the rootfs constructor
obey the same variable that is used to control package management
functionality elsewhere (not that oe-core currently has any "elsewhere",
but oe master does and I would like to backport that functionality to
oe-core as well). 

There's also the minor issue that rootfs_ipk's implementation of
remove_packaging_data_files() does leave an empty directory behind,
which I don't especially want in the O_P_M=none case, so I'd end up
having to do some further cleanup of my own.

I guess I could teach remove_packaging_data_files() to not create the
empty directory if O_P_M=="none".  Would you be happier with that?

p.






More information about the Openembedded-core mailing list