On Fri, 18 Aug 2023 at 22:33, Konstantin Kletschke via
lists.yoctoproject.org
<[email protected]> wrote:
> What happens before is that inedependently from the yocto build is that
> my colleauges are running a maven build which provides java jar files.
>
> And I do not know on my side what version they are doing. It could
> happen even that it alternates between X.Y.Z and X.Y.Z-SNAPSHOT.
>
> Then my yocto comes and is picking those jars up and integrates them into
> the rootfs to be started there by java. They are not processed or
> executed or compiled, they are copied into the rootfs, symlinkd and
> integrated into a systemd start.
>
> Colleauges maven build: Their git tree.
> Yocto build: My git tree.

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.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60829): https://lists.yoctoproject.org/g/yocto/message/60829
Mute This Topic: https://lists.yoctoproject.org/mt/100819403/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to