[bitbake-devel] [PATCH] fetch2: handle absolute paths in subdir

Christopher Larson clarson at kergoth.com
Wed Sep 21 21:09:03 UTC 2016


On Wed, Sep 21, 2016 at 9:48 AM, Ross Burton <ross.burton at intel.com> wrote:

> Currently if you use the subdir parameter in a SRC_URI and pass an
> absolute path
> then it gets appended to the unpack directory instead of being used
> directly.
> This is inconvenient as it may be useful to use ${S} when you want to
> unpack a
> file into the source tree.
>
> Change this behaviour so that absolute paths are used directly instead of
> being
> appended to the root directory.  To ensure that recipes cannot write files
> to an
> arbitrary location enforce that the subdir starts with the unpack root.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
>

Looks good to me, thanks for your work on this.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160921/89173db8/attachment-0002.html>


More information about the bitbake-devel mailing list