Drop /etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE
authorMichael Prokop <mika@grml.org>
Thu, 2 Feb 2023 12:41:24 +0000 (13:41 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 2 Feb 2023 12:57:38 +0000 (13:57 +0100)
commitd1575f1e7726c4cbdfa27bcff9ef973cdb6709e1
tree230cb862bf2b99a13323b62c7e36459349413002
parent6dadd69d9706a84426bc65719383f48e24052878
Drop /etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE

In lsb upstream (https://salsa.debian.org/debian/lsb.git) commit
c3632166b1 ("Hardcode ANSI escapes to replace tput in logging
functions") the "TPUT=/usr/bin/tput" definition got dropped. At the end
of the file /lib/lsb/init-functions (being part of sysvinit-utils
nowadays) it then sources /etc/lsb-base-logging.sh, iff the file exists.

Now that $TPUT is no longer defined, it's failing for us with:

| /etc/lsb-base-logging.sh: line 19: -S: command not found
| /etc/lsb-base-logging.sh: line 19: -S: command not found

It looks like the file /etc/lsb-base-logging.sh is no longer relevant
for Grml nowadays, especially with running on systemd (the file got
introduced back in 2011, git commit 00b607, and its last modification
dates back to 2012, see commit 9f40afc).

Unless we really have any special needs for deploying our own
/etc/lsb-base-logging.sh let's get rid of it. If we should ever
reintroduce it again, we definitely need to make sure we don't rely on
any specific upstream behavior though.

Closes: https://github.com/grml/grml-live/issues/125
debian/grml-live.maintscript
etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE [deleted file]
etc/grml/fai/config/scripts/GRMLBASE/42-branding