Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-17 Thread Richard Purdie
On Tue, 2024-04-16 at 09:48 +0800, Changqing Li wrote: > On 4/15/24 18:05, Richard Purdie wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the > > sender and know the content is safe. > > > > On Mon,

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-17 Thread Changqing Li
On 4/16/24 15:30, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. I'm not sure why files in DL_DIR would symlink to the local (pre)mirrors instead of

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-16 Thread Alexander Kanavin
I'm not sure why files in DL_DIR would symlink to the local (pre)mirrors instead of making an independent copy? Mirrors can indeed move or disappear altogether. Can you look into where the symlinking happens, and whether that can be modified or configured differently (maybe also the git history

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Changqing Li
On 4/15/24 18:05, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 2024-04-15 at 16:30 +0800, Changqing Li via lists.openembedded.org wrote: From:

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Richard Purdie
On Mon, 2024-04-15 at 16:30 +0800, Changqing Li via lists.openembedded.org wrote: > From: Changqing Li > > When there are tarballs in local mirror file://, do_fetch will > create symlink under DL_DIR, eg: > pseudo-prebuilt-2.33.tar.xz -> >

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Changqing Li
On 4/15/24 16:30, Changqing Li wrote: From: Changqing Li When there are tarballs in local mirrorfile://, do_fetch will create symlink under DL_DIR, eg: pseudo-prebuilt-2.33.tar.xz -> /project/path/to/localmirrorA/pseudo-prebuilt-2.33.tar.xz after user update path from localmirrorA to

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Martin Jansa
How does this work when sharing sstate between builders with different PREMIRRORS/MIRRORS? Doesn't this cause all signatures to be different as do_unpack does depend on do_fetch? On Mon, Apr 15, 2024 at 10:30 AM Changqing Li via lists.openembedded.org wrote: > > From: Changqing Li > > When