All of lore.kernel.org
 help / color / mirror / Atom feed
* crucible: Recipe update with go module fecher
@ 2025-09-17 18:37 Fabio Estevam
  2025-09-17 18:50 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2025-09-17 18:37 UTC (permalink / raw)
  To: Khem Raj, christian.lindeberg; +Cc: OpenEmbedded Devel List

Hi,

I'm trying to update the crucible recipe from 2023.11.02 to
2025.05.28, but I'm unsure how to generate crucible-go-mods.inc and
crucible-licenses.inc.

'devtool upgrade crucible' did not work:

  File "/opt/work/festevam/oe/poky/scripts/devtool", line 352, in <module>
    ret = main()
  File "/opt/work/festevam/oe/poky/scripts/devtool", line 338, in main
    ret = args.func(args, config, basepath, workspace)
  File "/opt/work/festevam/oe/poky/scripts/lib/devtool/upgrade.py",
line 605, in upgrade
    old_licenses = _extract_licenses(srctree_s,
(rd.getVar('LIC_FILES_CHKSUM') or ""))
  File "/opt/work/festevam/oe/poky/scripts/lib/devtool/upgrade.py",
line 509, in _extract_licenses
    with open(os.path.join(srcpath, path), 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory:
'/opt/work/festevam/oe/poky/build/workspace/sources/crucible/pkg/mod/cloud.google.com/go/compute/metadata@v0.2.3/LICENSE'


Does anyone have any suggestions?

Thanks,

Fabio Estevam


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: crucible: Recipe update with go module fecher
  2025-09-17 18:37 crucible: Recipe update with go module fecher Fabio Estevam
@ 2025-09-17 18:50 ` Khem Raj
  2025-09-17 23:40   ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2025-09-17 18:50 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: christian.lindeberg, OpenEmbedded Devel List

On Wed, Sep 17, 2025 at 11:38 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi,
>
> I'm trying to update the crucible recipe from 2023.11.02 to
> 2025.05.28, but I'm unsure how to generate crucible-go-mods.inc and
> crucible-licenses.inc.
>
> 'devtool upgrade crucible' did not work:
>
>   File "/opt/work/festevam/oe/poky/scripts/devtool", line 352, in <module>
>     ret = main()
>   File "/opt/work/festevam/oe/poky/scripts/devtool", line 338, in main
>     ret = args.func(args, config, basepath, workspace)
>   File "/opt/work/festevam/oe/poky/scripts/lib/devtool/upgrade.py",
> line 605, in upgrade
>     old_licenses = _extract_licenses(srctree_s,
> (rd.getVar('LIC_FILES_CHKSUM') or ""))
>   File "/opt/work/festevam/oe/poky/scripts/lib/devtool/upgrade.py",
> line 509, in _extract_licenses
>     with open(os.path.join(srcpath, path), 'rb') as f:
> FileNotFoundError: [Errno 2] No such file or directory:
> '/opt/work/festevam/oe/poky/build/workspace/sources/crucible/pkg/mod/cloud.google.com/go/compute/metadata@v0.2.3/LICENSE'
>
>
> Does anyone have any suggestions?

I am not sure devtool support for go mod fetcher is there and working.
You can do

rename recipe
bitbake <recipe>
Fix sha256 checksum
 bitbake -c update_modules <recipe>
bitbake <recipe>

>
> Thanks,
>
> Fabio Estevam


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: crucible: Recipe update with go module fecher
  2025-09-17 18:50 ` Khem Raj
@ 2025-09-17 23:40   ` Fabio Estevam
  2025-09-18 10:54     ` Christian Lindeberg
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2025-09-17 23:40 UTC (permalink / raw)
  To: Khem Raj; +Cc: christian.lindeberg, OpenEmbedded Devel List

Hi Khem,

On Wed, Sep 17, 2025 at 3:51 PM Khem Raj <raj.khem@gmail.com> wrote:

> I am not sure devtool support for go mod fetcher is there and working.
> You can do

Yes, devtool does not support updating via go mod fetcher, but
recipetool did the trick.

I have submitted the update; thank you.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: crucible: Recipe update with go module fecher
  2025-09-17 23:40   ` Fabio Estevam
@ 2025-09-18 10:54     ` Christian Lindeberg
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Lindeberg @ 2025-09-18 10:54 UTC (permalink / raw)
  To: Fabio Estevam, Khem Raj; +Cc: OpenEmbedded Devel List

Sorry, yes, you would have to use recipetool or manually update PV and 
SRCREV
and run the update_modules task for now.

Thanks,
Christian

On 18/09/2025 01:40, Fabio Estevam wrote:
> Hi Khem,
>
> On Wed, Sep 17, 2025 at 3:51 PM Khem Raj <raj.khem@gmail.com> wrote:
>
>> I am not sure devtool support for go mod fetcher is there and working.
>> You can do
> Yes, devtool does not support updating via go mod fetcher, but
> recipetool did the trick.
>
> I have submitted the update; thank you.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-18 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-17 18:37 crucible: Recipe update with go module fecher Fabio Estevam
2025-09-17 18:50 ` Khem Raj
2025-09-17 23:40   ` Fabio Estevam
2025-09-18 10:54     ` Christian Lindeberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.