:: Re: [DNG] "chimeara/ceres" in lsb_r…
Forside
Slet denne besked
Besvar denne besked
Skribent: Mark Hindley
Dato:  
Til: matheu
CC: 379, dng, devuan
Emne: Re: [DNG] "chimeara/ceres" in lsb_release output causes failure to compile kernel
Matheu,

Thanks for this.

On Sat, Feb 01, 2020 at 09:40:31PM +0000, matheu@??? wrote:
> 127c127
> < elif distribution=$(lsb_release -cs |cut -d/ -f2 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != "n/a" ]; then
> ---
> > elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != "n/a" ]; then


Actually, I think we might just need to merge in Debian's base-files 11.0. It
has dropped all the VERSION, VERSION_ID and CODENAME headers from
/etc/os-release. See
https://tracker.debian.org/media/packages/b/base-files/changelog-11

That makes lsb_release -cs return 'n/a' which is an expected and handled case.

Are you able to remove VERSION, VERSION_ID and CODENAME and verify that the
kernel builds successfully?

Thanks

Mark