On 1/13/20 8:56 AM, [email protected] wrote:
> Hello! I'm creating a Yocto BSP layer that depends on an external binary.
> This binary is large, so it is stored on an external server. (it's an HDF
> file for a Xilinx ZynqMP device).
>
> The binary is retrieved using a shell script that can
> (1) retrieve a string representing the version of the latest build, and
This sounds very close to what setting SRCREV = ${AUTOREV} does. You
might see how that is implemented. As a note, we avoid recipes setting
AUTOREV since they need networkd access during a build and we try to
avoid that being a requirement for people doing builds from local sources.
Philip
> (2) download a build corresponding to a specific version.
>
> I am trying to figure out how to integrate step (1) with Bitbake. Ideally,
> Bitbake should treat the version string like a version control identifier,
> querying it and rebuilding the package if it has changed.
>
> Do you have advice on the best practice to do this? Do I need custom code in
> the do_fetch step? Can I dynamically set something like SRCPV or SRCREV?
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#47947): https://lists.yoctoproject.org/g/yocto/message/47947
Mute This Topic: https://lists.yoctoproject.org/mt/69669094/21656
Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=yocto&subid=6691583
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-