All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill.Kulp@azuresummit.com
To: yocto@lists.yoctoproject.org
Subject: How to handle custom fetcher? #yocto
Date: Mon, 13 Jan 2020 05:56:56 -0800	[thread overview]
Message-ID: <2tfx.1578923816482102575.gj3t@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

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
(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?

[-- Attachment #2: Type: text/html, Size: 804 bytes --]

             reply	other threads:[~2020-01-13 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 13:56 Bill.Kulp [this message]
2020-01-13 14:12 ` [yocto] How to handle custom fetcher? #yocto Philip Balister

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2tfx.1578923816482102575.gj3t@lists.yoctoproject.org \
    --to=bill.kulp@azuresummit.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.