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:
cmd: <path_to>/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: <path_to>/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.