All of lore.kernel.org
 help / color / mirror / Atom feed
* PR server doesn't always work?
@ 2014-04-14 15:47 Gary Thomas
  2014-04-23 11:41 ` Laurentiu Palcu
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2014-04-14 15:47 UTC (permalink / raw)
  To: Yocto Project

I'm using a local PR server and for the most part, it works great!
No more messing about with PR and PRINC and ...

However, I have a situation where it doesn't do what I expect.
Here's my scenario:
  * Build some package X
  * Rebuild package database (bitbake package-index)
  * Update package database on target
  * Install package X on target
  * Update the RRECOMMENDS_${PN} in the recipe and rebuild.
    I can see that the package is updated - everything from
    do_package onwards is updated.
  * Rebuild package database (bitbake package-index)
  * Update package database on target
  * Try to install/update package X.  I'm told that it is up
    to date.

I can see that the package _was_ updated on the build host even
if the PR value was not changed because if I remove package X
and reinstall it, the new RRECOMMENDS_${PN} packages are also
being installed.

Am I missing something?  Shouldn't this work and the PR value
be bumped by the PR server, even if all that happened was the
list of recommendations was changed?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PR server doesn't always work?
  2014-04-14 15:47 PR server doesn't always work? Gary Thomas
@ 2014-04-23 11:41 ` Laurentiu Palcu
  0 siblings, 0 replies; 2+ messages in thread
From: Laurentiu Palcu @ 2014-04-23 11:41 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

Hi Gary,

Sorry for the late reply. It could be possible that the packages index
files are not re-generated when you run 'bitbake package-index'.
Depending on the PM you use, can you please try to remove the index
files in all the directories in tmp/deploy/(ipk|deb|rpm)? So, before
"Rebuild package database (bitbake package-index)" step, remove the
index files.

Does it work after that?

laurentiu

On Mon, Apr 14, 2014 at 09:47:34AM -0600, Gary Thomas wrote:
> I'm using a local PR server and for the most part, it works great!
> No more messing about with PR and PRINC and ...
> 
> However, I have a situation where it doesn't do what I expect.
> Here's my scenario:
>   * Build some package X
>   * Rebuild package database (bitbake package-index)
>   * Update package database on target
>   * Install package X on target
>   * Update the RRECOMMENDS_${PN} in the recipe and rebuild.
>     I can see that the package is updated - everything from
>     do_package onwards is updated.
>   * Rebuild package database (bitbake package-index)
>   * Update package database on target
>   * Try to install/update package X.  I'm told that it is up
>     to date.
> 
> I can see that the package _was_ updated on the build host even
> if the PR value was not changed because if I remove package X
> and reinstall it, the new RRECOMMENDS_${PN} packages are also
> being installed.
> 
> Am I missing something?  Shouldn't this work and the PR value
> be bumped by the PR server, even if all that happened was the
> list of recommendations was changed?
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-23 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-14 15:47 PR server doesn't always work? Gary Thomas
2014-04-23 11:41 ` Laurentiu Palcu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.