[bitbake-devel] [PATCH krogoth] bitbake: fetch: copy files with -H
akuster808
akuster808 at gmail.com
Tue Sep 27 18:43:02 UTC 2016
On 09/27/2016 01:13 AM, Stefan Lengfeld wrote:
> Hi,
>
> *ping.
>
> Is there a way I can help to speed up the backport of this patch to krogoth?
Good German beer might help ; )
I pulled this in and running a few local builds. it is my staging branch
- armin
> Should I send the patch to a different mailing list? Thanks.
>
> Mit freundlichen Grüßen / Kind regards,
> Stefan Lengfeld
>
> On Tue, Sep 20, 2016 at 02:12:08PM +0200, Stefan Lengfeld wrote:
>> From: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
>>
>> When using a PREMIRROR with plain (non-unpack) files, a SRC_URI like
>>
>> SRC_URI = "file://devmem2.c"
>>
>> will cause devmem2.c to be a symlink in the WORKDIR pointing to the
>> local PREMIRROR.
>>
>> Trying to apply a patch on this file will either modify the file on
>> the PREMIRROR or will fail due to sanity checks:
>>
>> ERROR: devmem2-1.0-r7 do_patch: Command Error: 'quilt --quiltrc /cache/build-ubuntu/sysroots/x86_64-oe-linux/etc/quiltrc push' exited with 1 Output:
>> Applying patch devmem2-fixups-2.patch
>> File devmem2.c is not a regular file -- refusing to patch
>>
>> (Bitbake rev: cfd481fe9799e7a4c6bfac32e56cc91cfcd81088)
>>
>> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
>> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>> ---
>> Hi,
>>
>> this patch was already applied on poky's master branch. Can you please backport
>> it to krogoth. The bug is there, too. I already posted a different patch some
>> time ago:
>>
>> http://lists.openembedded.org/pipermail/bitbake-devel/2016-June/007621.html
>>
>> Thanks.
>>
>> Kind regards,
>> Stefan Lengfeld
>> ---
>> bitbake/lib/bb/fetch2/__init__.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
>> index 6ef0c6f..7773c16 100644
>> --- a/bitbake/lib/bb/fetch2/__init__.py
>> +++ b/bitbake/lib/bb/fetch2/__init__.py
>> @@ -1424,7 +1424,7 @@ class FetchMethod(object):
>> if urlpath.find("/") != -1:
>> destdir = urlpath.rsplit("/", 1)[0] + '/'
>> bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir))
>> - cmd = 'cp -fpPR %s %s' % (file, destdir)
>> + cmd = 'cp -fpPRH %s %s' % (file, destdir)
>>
>> if not cmd:
>> return
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> bitbake-devel mailing list
>> bitbake-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
More information about the bitbake-devel
mailing list