[OE-core] couple more questions about git-based recipe files
Khem Raj
raj.khem at gmail.com
Mon Feb 13 17:33:30 UTC 2017
On Mon, Feb 13, 2017 at 6:24 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
> first, is there any value (or even any example) where one would want
> to have multiple git-based recipe files for the same recipe? i'm
> unaware of such a thing, and not even sure what naming convention you
> would use to support multiple git recipes for the same recipe so that
> the filenames wouldn't clash.
>
> and, second, i just ran across this recipe file in OE:
>
> build-compare_git.bb:
>
> SRCREV = "c5352c054c6ef15735da31b76d6d88620f4aff0a"
> PV = "git+${SRCPV}"
>
> that setting for PV doesn't look right. or does it?
>
you could essentially give part of PV in their name
foo_git1.bb, foo_git2.bb ..
just ensure each of these provide same packages for the final rootfs
then you can use PREFERRED_VERSION_foo = "gitX%" in config metadata to
choose one you want.
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list