On Mon, Aug 23, 2021 at 3:53 AM Andrei Gherzan <and...@gherzan.com> wrote: > > From: Leif Middelschulte <leif.middelschu...@klsmartin.com> > > Using backslashes in file:// URIs was broken. > Either the resolver would fail or the subsequent `cp` command. > Try to avoid this by putting the filenames into quotes. > > Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=8161 > > (Bitbake rev: aa857fa2e9cf3b0e43a9049b04ec4b0b3c779b11)
Patches for bitbake should be sent to: bitbake-de...@lists.openembedded.org I tried applying this patch, but found that it caused errors on the autobuilder: https://errors.yoctoproject.org/Errors/Build/129189/ Steve > Signed-off-by: Leif Middelschulte <leif.middelschu...@klsmartin.com> > Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> > --- > 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 dc99914cd9..ece07f611c 100644 > --- a/bitbake/lib/bb/fetch2/__init__.py > +++ b/bitbake/lib/bb/fetch2/__init__.py > @@ -1525,7 +1525,7 @@ class FetchMethod(object): > if urlpath.find("/") != -1: > destdir = urlpath.rsplit("/", 1)[0] + '/' > bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir)) > - cmd = 'cp -fpPRH %s %s' % (file, destdir) > + cmd = 'cp -fpPRH "%s" "%s"' % (file, destdir) > > if not cmd: > return > -- > 2.31.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#155221): https://lists.openembedded.org/g/openembedded-core/message/155221 Mute This Topic: https://lists.openembedded.org/mt/85085599/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-