[Buildroot] [PATCH 1/1] linux: set default aufs series and version based on kernel version

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 11 21:52:02 UTC 2020


Hello,

On Sun, 9 Aug 2020 13:55:45 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> On 2020-08-08 17:14 -0600, James Hilliard spake thusly:
> > Set default commits for aufs to the latest available commit in each
> > version specific branch.  
> 
> No, this is not correct: you are using the kernel headers version, while
> the aufs version depends on the running kernel version.
> 
> For external toolchains, the defaults is thus most probably very wrong,
> as the kernel headers version are rarely, if ever, matching the running
> kernel one. And for internal toolchains, even though the default is to
> have the headers match the running kernel version, this is not
> guaranteed either.
> 
> I prefer there is no default, than an incorrect one.

I agree: this is unfortunately not something we can do in a reliable
way in Buildroot today. To make this possible, we would have to ask the
user to indicate at the Config.in level which "main" kernel version has
been configured.

So here, I would simply suggest to extend the Config.in help text
around AUFS to more clearly explain how to get the right aufs version
depending on the chosen kernel version.

BEst regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list