All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: strip "-native" from $S for native packages automatically (bug 1856)
@ 2008-01-25 11:33 Rolf Leggewie
  2008-01-26  0:51 ` Michael 'Mickey' Lauer
  0 siblings, 1 reply; 8+ messages in thread
From: Rolf Leggewie @ 2008-01-25 11:33 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I elicit your comments on bug 1856, especially comment3.

The bug is about stripping "-native" automatically from the S variable
for native packages since it will hardly ever occur that a tar ball will
unpack to $PN-native-$PV/  This would save us resetting $S manually for
native packages all the time.  Koen suggested the fix to go into
native.bbclass. When I revisited the bug today, I thought this must be
as easy to fix as simply adding

  export S=`echo $S|sed s/\-native\-/\-/`

to native.bbclass which is what I propose.  This might still have some
issues that I so far overlooked such as the need to further escape
special characters or something else, but the general idea should be
clear.  Please be aware that I have not yet tested this.  Any comments
as to why this should or should not work?

If there is no opposition, I'll make some simple tests to verify correct
functioning of the code before finally committing.

Regards

Rolf


PS: http://bugs.openembedded.org/show_bug.cgi?id=1856#c3




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

end of thread, other threads:[~2008-01-31 12:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 11:33 RFC: strip "-native" from $S for native packages automatically (bug 1856) Rolf Leggewie
2008-01-26  0:51 ` Michael 'Mickey' Lauer
2008-01-26 13:43   ` Richard Purdie
2008-01-27  0:20     ` Paul Sokolovsky
2008-01-27  0:23     ` Richard Purdie
2008-01-27  7:11       ` Michael 'Mickey' Lauer
2008-01-27 12:02       ` Paul Sokolovsky
2008-01-31 12:06       ` pHilipp Zabel

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.