Hi Jürgen Thank you for your reply.
> What does "localversion" mean in your context? I mean the kernel CONFIG_LOCALVERSION in the kernel .config file. I can set this localversion in ptxdist menuconfig kernel -> general setup <- Local version. Normally this string was append to kernel version. Your suggest is right but I miss the local version append. Look here: $ ptxdist print PTXCONF_KERNEL_VERSION give: 3.14.17 But in the kernel .config file stands: # # General setup # CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="" CONFIG_COMPILE_TEST=y CONFIG_LOCALVERSION="alex" <- here!!! # CONFIG_LOCALVERSION_AUTO is not set So I should have get: 3.14.17-alex. There is no problem with ptxdist, always works fine. Only i need access to this CONFIG_LOCALVERSION string in my own rules file because we build different packages depend on the Locale version from the Kernel. Regards, Alexander -----Ursprüngliche Nachricht----- Von: Jürgen Borleis [mailto:[email protected]] Gesendet: Montag, 8. Juni 2015 09:58 An: [email protected] Cc: Hänel-Baas, Alexander Betreff: Re: [ptxdist] Kernel CONFIG_LOCALVERSION Hi Alexander, On Monday 08 June 2015 09:30:43 Hänel-Baas, Alexander wrote: > Is there a ptxdist variable that contains the kernel localversion? What does "localversion" mean in your context? > Ore must i grap the kernel .config file to get this info? > I need this in my own rules/ file. $ ptxdist print PTXCONF_KERNEL_VERSION at least outputs the current platformconfig setting. Regards, Juergen -- Pengutronix e.K. | Juergen Borleis | Industrial Linux Solutions | http://www.pengutronix.de/ | -- ptxdist mailing list [email protected]
