oe-go-mod-autogen: clarify need to update main SRCREV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2023-10-12 19:50:37 +00:00
parent 9e8a6af947
commit f7188da2ca

View File

@ -6,12 +6,18 @@ Description:
Example: Example:
a) generate
cmd: <path_to>/meta-virtualization/scripts/oe-go-mod-autogen.py \ cmd: <path_to>/meta-virtualization/scripts/oe-go-mod-autogen.py \
--repo https://github.com/docker/compose --rev v2.20.3 --repo https://github.com/docker/compose --rev v2.20.3
output: src_uri.inc, relocation.inc, modules.txt output: src_uri.inc, relocation.inc, modules.txt
Copy these three generated files to replace the original ones, b) Copy the three generated files to replace the original ones.
then we only need update PV and SRCREV, and docker-compose is upgraded.
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. See --help for more explanations and examples.