[oe] [PATCH] classes: Modify rootfs_ipk.bbclass for -force-overwrite.

Alex Ferguson thoughtmonster at gmail.com
Fri Oct 29 15:40:56 UTC 2010


First of all, thank you for your quick reply.

So,

On Fri, Oct 29, 2010 at 5:55 PM, Martin Jansa <martin.jansa at gmail.com>wrote:

> Why not modify the original files in corresponding recipes with distro
> override?
>

I understand this would be the best solution all around, but in most cases
this is impractical, as it is the case with icon themes. These
customizations change from
time to time and having to modify several packages (which will have to go
upstream),
is something I'd like to avoid.


> Problem with this kind of package overwritting other packages is when
> original package is upgraded (PR bump or even just DISTRO_PR) it forces
> user to also use -force-overwrite and then he will loose those
> customizations.
>
> I don't have problem with it as long as it's conditional, but I would be
> very carefull with using it. IMHO this is good only if you're building
> images which are not supposed to be upgraded by user with ie opkg on target<Martin.Jansa at gmail.com>
>

Our images are generally not upgraded but a simple workaround would be
pushing
the PR for jlime-extras along with other packages which might conflict,
although you
are correct as far as the user having to do -force-overwrite himself.

Thinking about it, it seems like a workaround, one which might cause some
issues down the road. I have nothing else for now and it certainly doesn't
hurt having the option there. I might just have to think of something better
for the future.

Thank you,

Alex Ferguson.



More information about the Openembedded-devel mailing list