From f7188da2ca22dfc49e6bc8979a9afcafa1c8bd41 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 12 Oct 2023 19:50:37 +0000 Subject: [PATCH] oe-go-mod-autogen: clarify need to update main SRCREV Signed-off-by: Bruce Ashfield --- scripts/README-oe-go-mod-autogen.txt | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/scripts/README-oe-go-mod-autogen.txt b/scripts/README-oe-go-mod-autogen.txt index 36f1d89e..80a35e52 100644 --- a/scripts/README-oe-go-mod-autogen.txt +++ b/scripts/README-oe-go-mod-autogen.txt @@ -6,12 +6,18 @@ Description: Example: - cmd: /meta-virtualization/scripts/oe-go-mod-autogen.py \ - --repo https://github.com/docker/compose --rev v2.20.3 - output: src_uri.inc, relocation.inc, modules.txt + a) generate - Copy these three generated files to replace the original ones, - then we only need update PV and SRCREV, and docker-compose is upgraded. + cmd: /meta-virtualization/scripts/oe-go-mod-autogen.py \ + --repo https://github.com/docker/compose --rev v2.20.3 + output: src_uri.inc, relocation.inc, modules.txt + + b) Copy the three generated files to replace the original ones. + + c) update SRCREV + + Edit the recipe to update PV and the main SRCREV, and + docker-compose is upgraded. See --help for more explanations and examples.