Re: [OE-core] [PATCH] libcamera: Bump SRCREV and add libyaml to DEPENDS

2022-10-04 Thread Devendra Tewari
Please ignore it here. I’ve submitted it to openembedded-de...@lists.openembedded.org <mailto:openembedded-de...@lists.openembedded.org>. > On 4 Oct 2022, at 19:46, Devendra Tewari wrote: > > Signed-off-by: Devendra Tewari > --- > meta-multimedia/recipes-multimedia/libca

[OE-core] [PATCH] libcamera: Bump SRCREV and add libyaml to DEPENDS

2022-10-04 Thread Devendra Tewari
Signed-off-by: Devendra Tewari --- meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb index

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2022-08-22 Thread Devendra Tewari
Apr 2021, at 20:02, Devendra Tewari wrote: > > Understood - carrying patches is a burden for sure. I’ll maintain patches for > my own narrow use cases at my end, and perhaps submit them upstream. > > Thanks, > Devendra > >> On 28 Apr 2021, at 18:42, Richard Purdie >

Re: [OE-core] [oe] [meta-oe] android-tools: Add flag to enable adbd service (#147)

2021-11-16 Thread Devendra Tewari
> On 16 Nov 2021, at 15:47, Daniel Gomez wrote: > > On Tue, 16 Nov 2021 at 19:17, Devendra Tewari > wrote: >> >> Hi Daniel, >> >> Em 16 de nov. de 2021, à(s) 11:49, Daniel Gomez escreveu: >> >> Hi Devendra and Khem, >> >&

Re: [OE-core] [oe] [meta-oe] android-tools: Add flag to enable adbd service (#147)

2021-11-16 Thread Devendra Tewari
Hi Daniel, > Em 16 de nov. de 2021, à(s) 11:49, Daniel Gomez escreveu: > > Hi Devendra and Khem, > > I'd like to ask about the 'recent' commit you integrated in the > android-tools recipe a few months ago: >

Re: [OE-core] ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh

2021-08-18 Thread Devendra Tewari
Looks like update-alternatives --install is not happening at all for any packages during do_rootfs. Thanks, Devendra -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154912): https://lists.openembedded.org/g/openembedded-core/message/154912 Mute

Re: [OE-core] ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh

2021-08-09 Thread Devendra Tewari
To provide more context, these are the ALTERNATIVE variables in the recipe around ALTERNATIVE_LINK_NAME[sh] ALTERNATIVE:${PN} = "bash sh" ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash" ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash" ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"

[OE-core] ALTERNATIVE_LINK_NAME in bash recipe doesn't create /bin/sh

2021-08-09 Thread Devendra Tewari
Hello, I've added bash recipe (version 5.1.8) to a target but it does not seem to produce the /bin/sh link. I've checked that the recipe is supposed to provide the following link ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" Is that by itself sufficient to produce the link? If so, it does

[OE-core] override syntax for VIRTUAL-RUNTIME and PREFERRED_PROVIDER

2021-08-06 Thread Devendra Tewari
Does the override syntax change affect VIRTUAL-RUNTIME and PREFERRED_PROVIDER? If yes, will convert-overrides.py support changes to these? Thanks, Devendra -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154561):

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-28 Thread Devendra Tewari
Understood - carrying patches is a burden for sure. I’ll maintain patches for my own narrow use cases at my end, and perhaps submit them upstream. Thanks, Devendra > On 28 Apr 2021, at 18:42, Richard Purdie > wrote: > > On Wed, 2021-04-28 at 07:00 -0300, Devendra Tewari wrote:

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-28 Thread Devendra Tewari
the error. > On 27 Apr 2021, at 19:53, Devendra Tewari wrote: > > Looks like an old issue with overlayfs - > https://github.com/moby/moby/issues/25409. > >> On 27 Apr 2021, at 19:44, Devendra Tewari wrote: >> >> You’re absolutely right - I’ll inve

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-27 Thread Devendra Tewari
Looks like an old issue with overlayfs - https://github.com/moby/moby/issues/25409. > On 27 Apr 2021, at 19:44, Devendra Tewari wrote: > > You’re absolutely right - I’ll investigate whether this is something the > container overlay filesystem should be handling. Thanks! > &g

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-27 Thread Devendra Tewari
You’re absolutely right - I’ll investigate whether this is something the container overlay filesystem should be handling. Thanks! > On 27 Apr 2021, at 19:39, Richard Purdie > wrote: > > On Tue, 2021-04-27 at 11:59 -0300, Devendra Tewari wrote: >> I suspect this is an

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-27 Thread Devendra Tewari
repodata_path, g_strerror(errno)); } else { g_debug("Renamed %s -> %s", out_repo, old_repodata_path); old_repodata_renamed = TRUE; } I’ll try patching and report an issue to upstream project. > On 27 Apr 2021, at 08:57, Devendra Tewari wrote: > > These

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-27 Thread Devendra Tewari
ypi/build/tmp/work/raspberrypi0_wifi-poky-linux-gnueabi/core-image-base/1.0-r0/temp/log.do_rootfs.165072 ERROR: Task (/home/pi/docker-meta-raspberrypi/layers/poky/meta/recipes-core/images/core-image-base.bb:do_rootfs) failed with exit code '1' > On 21 Apr 2021, at 18:08, Devendra Tew

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-21 Thread Devendra Tewari
Separate patches for bitbake and oe-core, as requested I've assumed each will be applied to the master-next branch on top of the previous patch. Thanks, Devendra > On 21 Apr 2021, at 16:21, Richard Purdie > wrote: > > On Wed, 2021-04-21 at 16:15 -0300, Devendra Tewari wrot

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-21 Thread Devendra Tewari
. I'll update the patch. Thanks, Devendra > Em 21 de abr. de 2021, à(s) 15:10, Richard Purdie > escreveu: > > On Wed, 2021-04-21 at 11:43 -0300, Devendra Tewari wrote: >> I created an image for Raspberry Pi Zero W from code at >> https://github.com/tewarid/docker-meta

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-21 Thread Devendra Tewari
ed into a bit further, how was it tested ? > >> On Mon, Apr 19, 2021 at 11:43 AM Devendra Tewari >> wrote: >> >> >> >>>> On 30 Mar 2021, at 08:55, Devendra Tewari >>>> wrote: >>> >>> I understand that parallel tasks c

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-19 Thread Devendra Tewari
> On 30 Mar 2021, at 08:55, Devendra Tewari wrote: > > I understand that parallel tasks can result in such issues, but would expect > some kind of dependency graph that would prevent them from happening. I wish > I had more time to understand the issue fully. > > He

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-01 Thread Devendra Tewari
>From 57b633a93bd91b7b1aa21cce5ac7997b958ca917 Mon Sep 17 00:00:00 2001 From: Devendra Tewari Date: Thu, 1 Apr 2021 16:07:25 -0300 Subject: [PATCH] Use shutil.move when os.rename fails Incremental build in Docker fails with OSError: [Errno 18] Invalid cross-device link When sou

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-30 Thread Devendra Tewari
t you wanted. > Also, if a patch fixes existing bug in bugzilla, it needs to reference it in > commit message as well - [YOCTO#1234567] > > >> On Mon, Mar 29, 2021 at 12:37:45PM -0300, Devendra Tewari wrote: >> Also, this is due to https://bugzilla.yoctoproject.org/show

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-30 Thread Devendra Tewari
:00:00 2001 From: Devendra Tewari Date: Tue, 30 Mar 2021 08:27:40 -0300 Subject: [PATCH] Use shutil.move when os.rename fails Incremental build in Docker fails with OSError: [Errno 18] Invalid cross-device link When source and destination are on different overlay filesystems. This change handles

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-30 Thread Devendra Tewari
With the following patch From f29ec67239094a256fcfc119fb75be90923d3448 Mon Sep 17 00:00:00 2001 From: Devendra Tewari Date: Mon, 29 Mar 2021 21:11:56 -0300 Subject: [PATCH] Use shutil.move to rename sstate Incremental build in Docker fails with OSError: [Errno 18] Invalid cross-device link

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Devendra Tewari
Will do. Thanks. > On 29 Mar 2021, at 20:10, Andre McCurdy wrote: > > On Mon, Mar 29, 2021 at 4:07 PM Devendra Tewari > wrote: >> >> I did try that but got an error that does not happen when we try os.rename >> first. I'll try to reproduce it again. >&g

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Devendra Tewari
021, at 20:00, Andre McCurdy wrote: > > On Mon, Mar 29, 2021 at 3:45 PM Devendra Tewari > wrote: >> >> Thanks! My bad. The example I looked up in Python docs had a break and I >> just realized it was a looping example. >> >> Here’s the updated patch (or s

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Devendra Tewari
Thanks! My bad. The example I looked up in Python docs had a break and I just realized it was a looping example. Here’s the updated patch (or should I submit it again via git send-email?) >From 9deb390dcdcaef66cec2fae39454c7fb3c81c4e4 Mon Sep 17 00:00:00 2001 From: Devendra Tewari Date:

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Devendra Tewari
Also, this is due to https://bugzilla.yoctoproject.org/show_bug.cgi?id=1430. > On 29 Mar 2021, at 12:35, Devendra Tewari wrote: > > Sure. > > Would the following commit message be sufficient? > >Use shutil.move when os.rename fails > >Increm

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Devendra Tewari
cases ? >> If a change like this cases issues in the future, we need that extra >> information in the commit head for proper triage. >> Bruce >> On Mon, Mar 29, 2021 at 11:16 AM Devendra Tewari >> wrote: >>> >>> --- >>> meta/classes/s

[OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Devendra Tewari
--- meta/classes/sstate.bbclass | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index f579168162..f94aa96d70 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@