On Sat, Aug 19, 2023 at 12:07:08PM +0200, Alexander Kanavin wrote: > I think the easiest would be to run a shell script prior to starting > bitbake, which would check what jar needs to be used, and write the > SRC_URI with the name and the checksum into a .inc file in the > meta-layer. Then there's a static .bb file that would include the > .inc, and do the installation/packaging. Changes to .inc would then be > under version control and thus reproducible.
Thanks for this extermely helpful advice I did not think of. I made a shell script, inspecting the jar files and extracting the version with a regexp from the filename. This is injected as PV into a inc file the latter bb recipe require. This way the inc contains only PV, the bb recipe is fix. The shell script is invoked from the outer build brocess between maven and bitbake. Many thanks! Kind Regards Konstantin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60856): https://lists.yoctoproject.org/g/yocto/message/60856 Mute This Topic: https://lists.yoctoproject.org/mt/100819403/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
