[OE-core] PRServer's problem

Martin Jansa martin.jansa at gmail.com
Wed May 18 09:20:29 UTC 2016


On Wed, May 18, 2016 at 04:03:58PM +0800, Robert Yang wrote:
> Hi Martin,
> 
> On 05/18/2016 03:39 PM, Martin Jansa wrote:
> > See:
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=5970
> >
> > Just using recipe checksum wont work, because the main reason for PR bumps is to
> > automatically upgrade the packages when one of the dependencies changes .so
> > version, which you won't detect from recipe checksum of the app which is just
> > using the library.
> 
> For the development branch like master, yes, that would happen. But for
> the stable release like jethro and krogoth, it is unlikely that would
> happen, and if if does, the user can manually bump the impacted recipe's
> PR to fix the problem. The current problem is that when *all* recipes'
> PR are bumped, there is no way to fix the problem.

You can still stop using PR service and start doing manual PR bumps, but
it's quite annoying if you need to bump a lot of recipes you don't
control :).

> > On Wed, May 18, 2016 at 8:09 AM, Robert Yang <liezhi.yang at windriver.com
> > <mailto:liezhi.yang at windriver.com>> wrote:
> >
> >     The PRServer bumps PR according to do_package's task hash, that
> >     causes it bumps *all* packages' PR when recipes like pseudo-native
> >     and rpm-native is changed. It is a very bad user experience when we
> >     run "smart/opkg upgrade" on running target, for example, when we apply
> >     a CVE patch to pseudo-native or rpm-native, or do some slight changes
> >     in their do_compile, "smart/opkg upgrade" will download/install *all*
> >     the packages since all of the packages' PR are bumped.
> >
> >     Here are some rough suggestions to fix this problem, and please feel
> >     free to give your suggestions.
> >     1) Do not use do_package's task for bumping PR, the easiest way
> >         is simulate manually bump PR -- only bump PR when the recipe
> >         itself's checksum is changed.
> >
> >     2) Add a new task for PRServer, redefine its task hash for bumping
> >         PR, for example, this task hash only considers RDEPENDS (no
> >         DEPENDS), and drop any native dependencies.
> >
> >     I prefer the first way, and an alternative way maybe add a var so that
> >     the user can configure it:
> >     PR_CHECKSUM = "${BB_TASKHASH}" (current way)
> >     Or
> >     PR_CHECKSUM = "<recipe checksum>"
> >
> >     --
> >     Thanks
> >
> >     Robert
> >     --
> >     _______________________________________________
> >     Openembedded-core mailing list
> >     Openembedded-core at lists.openembedded.org
> >     <mailto:Openembedded-core at lists.openembedded.org>
> >     http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
> >

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160518/8d0a798a/attachment-0002.sig>


More information about the Openembedded-core mailing list