Topics

Any way to enable automatic package-index if rpms are changed?

Joel A Cohen
 

One of my most frequent annoying mistakes is to forget to run package index.

It would be nice if I could INHERIT += "auto-package-index" or something like that.

Is there a hook that such a class would easily be able to hook into?

--Aaron

Alexander Kanavin
 

Not really, I don’t think bitbake has a way to build a recipe after all other recipes.

Alex 

On Mon 6. Apr 2020 at 5.09, Joel A Cohen <aaron@...> wrote:
One of my most frequent annoying mistakes is to forget to run package index.

It would be nice if I could INHERIT += "auto-package-index" or something like that.

Is there a hook that such a class would easily be able to hook into?

--Aaron

Ross Burton
 

On Mon, 6 Apr 2020 at 04:09, Joel A Cohen <aaron@...> wrote:
One of my most frequent annoying mistakes is to forget to run package index.

It would be nice if I could INHERIT += "auto-package-index" or something like that.

Is there a hook that such a class would easily be able to hook into?
I did start implementing this:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=ross/index

I think it mostly worked but wasn't quite finished. If you're
interested please do grab those top three patches and give it a go
(INHERIT += "package-index").

Ross