[bitbake-devel] [PATCH v2] bb/fetch2: fixes copying of file://dir; subdir=foo, bug 6128 and bug 6129

Sasha Shashkevich alex at stunpix.com
Wed Mar 9 16:54:16 UTC 2016


> On Mar 9, 2016, at 18:15, Alexander Shashkevich <alex at stunpix.com> wrote:
> 
> When in SRC_URI appears file://dir;subdir=foo unpacker copies 'dir' to ${WORKDIR}, not
> ${WORKDIR}/foo as it should be.
> 
> These changes are fixing following bugs as well:
> Bug 6128 - Incorrect wildcard unpack behaviour in fetcher
> Bug 6129 - Local directories unpack to a different location than local files
> 
> Signed-off-by: Alexander Shashkevich <alex at stunpix.com>
> --

Changes were tested on 1.8 and 2.0 branches for core-image-sato and meta-sdk images.

Additional changes since last sent patch:

 - New test cases were added to cover absolute paths in SRC_URI for local files.
 - Fixed recipe nativesdk-qemu-helper_1.0.bb: it was based on incorrect copying behavior which had been changed by this patch.

Please review my changes.

Regards,
Alexander


More information about the bitbake-devel mailing list