Subject: bug#379: [DNG] "chimeara/ceres" in lsb_release output causes failure to compile kernel

From: Mark Hindley <[email-masked]>
Date: Sun, 2 Feb 2020 11:17:49 +0000

Matheu,

Thanks for this.

On Sat, Feb 01, 2020 at 09:40:31PM +0000, [email-masked] 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