[yocto] get_kernelversion_headers not replacing '_' by '-'

Dimitris Tassopoulos dimtass at gmail.com
Thu Apr 4 23:40:46 PDT 2019


The same also happens with the deb packager.
But it works with rpm. For deb '_' is not allowed character, so
I guess ithe same for ipkg.

You need to either change the 'LOCALVERSION' of the kernel
or use rpm.

Dimitris

On Thu, Apr 4, 2019 at 11:07 AM Fernando AE <fernando.ae2017 at gmail.com>
wrote:

> Hello all,
>
> I discovered that if a '_' in present in the kernel version string,
> the task package_write_ipk during the kernel build will fail.
>
> In Yocto 2.6, get_kernelversion_headers is defined at
> meta/classes/linux-kernel-base.bbclass.
>
> In the attached file, I set KERNEL_VERSION="kernel_version" in my linux
> recipe.
>
> Any thoughts?
>
> Kind regards,
> Fernando
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190405/74f317b0/attachment.html>


More information about the yocto mailing list