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

Martin Jansa martin.jansa at gmail.com
Fri Oct 29 14:55:36 UTC 2010


On Fri, Oct 29, 2010 at 05:08:54PM +0300, Alex Ferguson wrote:
> Rationale: In Jlime we ship a package called jlime-extras which
> contains several files (configuration files, scripts, etc.), some
> of which conflict with files provided by other packages. This is
> intentional, and is for distro customization purposes. For example
> we ship a modified version of the /usr/bin/startx script, some
> alternative icons for applications, some modified .desktop files
> and so on. Building an image with this jlime-extras package fails,
> of course, due to conflicting files.

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

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.

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-devel mailing list