[OE-core] [RFC PATCH 0/1] kernel.bbclass: add non-santized kernel provides
Bruce Ashfield
bruce.ashfield at windriver.com
Fri Jul 6 15:52:40 UTC 2012
Richard/Saul,
I'm sending this out as a RFC, since I'm far from a packaging
expert. I've got all the details in the patch, but I ran into
a situation where the version string in utsrelease.h was being
santized for the kernel provides, and not in the kernel module
requires.
I tried several solutions:
- Changing the kernel module requires (more complex, more
code involved)
- Adding an extra provides in the kernel recipe with the
version string (only fixes my problem and doens't help
others)
- Changing the string to something that doesn't change
(aka run and hide)
- Adding a secondary provides in the kernel RPM so both
the sanitized and raw package name are present. This
was a small fix, works for my nasty version string, and
for the normal strings that I have elsewhere. It also
keeps existing provides intact in case something else I
can't see depends on the behaviour.
If the change seems reasonable, I can send a pull request
(or merge it directly if you want :) .. but I'm definitely open
to hearing about better solutions as well.
Cheers,
Bruce
More information about the Openembedded-core
mailing list