Hi Quentin
On Wed, 2022-06-01 at 10:13 +0200, Quentin Schulz wrote:
> Marcel, Peter,
>
> On 5/31/22 23:32, Marcel Ziswiler wrote:
> > From: Peter Bergin <[email protected]>
> >
[snip]
> > +
> > +SRC_URI =
> > "git://github.com/Avnu/libavtp.git;branch=v${PV};protocol=https;nobranch=1"
>
> We don't have a single recipe with nobranch set in poky, so I think we
> should keep it this way. I assume this was needed because, there's no
> ${PV} branch available in the git repo (it's a tag).
>
> Technically, ${PV} is a tag on github and not a branch. We don't have a
> single recipe with tag set in poky, so I think we also should keep it
> this way (tag= requires network to check that the tag hasn't moved
> between builds).
Well, remember. It wasn't me suggesting the use of PV. However, at least at
first it really sounded like a
sensible goal.
> What I've seen some recipes do instead is to use github archives. See:
> https://git.yoctoproject.org/poky/tree/meta/recipes-support/re2c/re2c_3.0.bb
I have been there before, but, unfortunately, Avnu's libavtp on github only
uses their archive [1] and not some
other download facility whose use is also discouraged as per [2].
I mean I guess I could just rename the recipe and otherwise keep relying on git
with a hash but that also does
not seem like a really good option (e.g. keeping PV and hash in sync and/or
even checking on this would be a
completely manual task). Not sure. I hope somebody more experienced might
present the golden trick to this
dilemma. Thanks!
[1] https://github.com/Avnu/libavtp/archive/refs/tags/v0.2.0.tar.gz
[2] https://git.yoctoproject.org/poky/tree/scripts/lib/recipetool/create.py#n430
> Re: alsa-plugins which may require it in a PACKAGECONFIG option, it's
> not really a reason for inclusion if not enabled by default. Otherwise
> we would have one big layer only with all possible optional dependencies
> and their possible optional dependencies, etc...
>
> Cheers,
> Quentin
Cheers
Marcel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166365):
https://lists.openembedded.org/g/openembedded-core/message/166365
Mute This Topic: https://lists.openembedded.org/mt/91462033/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-