[yocto] Extension of package name by distro version

Jan Kaisrlik ja.kaisrlik at gmail.com
Tue Sep 17 00:17:57 PDT 2019


On Mon, Sep 16, 2019 at 10:43 PM Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
>
> Hi Jan
>
> On Monday, 16 September 2019 8:55:00 PM NZST Jan Kaisrlik wrote:
> > I would like to ask if it is possible to extend all package names by
> > some string f.e. by string corresponding to the version of the
> > distribution (+fw2.6.1)
> > * without distro string - kernel-5.3.0-rc3_5.3.0+git0+e21a712a96-2_arm64.deb
> > * with distro string -
> > kernel-5.3.0-rc3_5.3.0+git0+e21a712a96-2+fw2.6.1_arm64.deb
> > I've checked manuals and code and I do not see any easy way how to
> > append some string to the version of the package.
> >
> > What I've played with it so far I added the mentioned string to PR in
> > bbclasses' in poky. Honestly, I do not believe this is the best idea
> > (on other hands it is working xD ) ...
>
> I would say PR_append = "${DISTRO_VERSION}" in your custom distro config work
> - did you try that?

Hooray, that's what I were looking for. Somehow I skipped this option.
Thank you!

Best regards,
Jan

>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
>


More information about the yocto mailing list