Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] kernel.bbclass: add non-santized kernel provides
@ 2012-07-06 15:52 Bruce Ashfield
  2012-07-06 15:52 ` [PATCH] " Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2012-07-06 15:52 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

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



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

end of thread, other threads:[~2012-07-09 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 15:52 [RFC PATCH 0/1] kernel.bbclass: add non-santized kernel provides Bruce Ashfield
2012-07-06 15:52 ` [PATCH] " Bruce Ashfield
2012-07-09 16:54   ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox