[oe] cloud9 patch incompatible with fedora patch utility

Tom Rini tom.rini at gmail.com
Sun Nov 6 16:55:39 UTC 2011


On Sat, Nov 5, 2011 at 3:13 PM, Peter Bigot <bigotp at acm.org> wrote:
> The patch in
> http://comments.gmane.org/gmane.comp.handhelds.openembedded.scm/49645includes
> /../ as a path component; as noted in
> http://lists.linuxtogo.org/pipermail/openembedded-users/2011-March/001249.htmland
> not resolved otherwise that I could find, this construct will not work
> on Fedora 14 or 15 because a security patch prevents application of patches
> that include up-directory components in the paths.
>
> My bitbake skills are not presently up to cleanly creating and applying a
> patch to a file outside the S directory; how should this be fixed?  (I'm
> hoping for something other than "don't use Fedora".)

Modify the patch so that it doesn't use '../' and then add
';patchdir=dir' to the line in SRC_URI.  dir here should be relative
to S, iirc.  A quick 'git grep' should show a few other examples of
this usage today.


-- 
Tom




More information about the Openembedded-devel mailing list