SW: drop bacula-* from GRML_FULL Bacula was removed from Debian/testing as of 2021-11-23 due to #997139. It's unclear, whether bacula is of any further use on a live system as-is (also given that the bacula version in Debian is lagging behind upstream quite a lot; and there also exists bareos nowadays, though not present in Debian as such). If someone should be missing bacula from Grml, I'd like to know. Not only drop the software packages, but also drop the hostname workaround for /etc/bacula/bacula-fd.conf in our GRMLBASE/05-hostname script.
Expose (selected) config vars to fai scripts
Unifiy local config handling Option -C works now as expected.
Implement -D option to set configuration directory; fai.conf: don't set variables grml-live is setting via cmdline now; provide new scripts to deploy configuration files (/etc/inittab, /etc/locale.gen, /etc/modules); rework and adapt cleanup scripts accordingly [Closes: issue880] Get rid of /etc/grml/fai/config/grml/grml-cleanup_chroot*. and also drop deprecated checks. Do NOT clean up /home/grml and /root unless using the RELEASE class. This might make some users happy I guess. :) Deploy /etc/inittab, /etc/locale.gen and /etc/modules using according fcopy commands. Now shipping new scripts GRMLBASE/16-depmod, GRMLBASE/41-modules, GRMLBASE/91-update-pciids, GRMLBASE/92-update-freshclam, GRML_SMALL/90-update-alternatives, GRML_SMALL/98-clean-chroot, RELEASE/98-clean-chroot, REMOVE_DOCS/98-clean-chroot and LATEX/98-clean-chroot. While at it build /etc/grml/fai/config/files/etc/apt/sources.list/GRMLBASE based on /etc/grml/fai/apt/sources.list to get rid of editing config files on the fly. This is a major Q/A rework, giving the user a much better handling of scripts using FAI's class concept.
Make all shell scripts using /bin/bash instead /bin/sh to be able to FAI's environment. /usr/lib/fai/subroutines sadly is a /bin/bash script. As we want to be able to use functions like ifclass we have to use /bin/bash in all our scripts (even though they're POSIX ones), otherwise people using dash as /bin/sh will notice something like: /GRMLBASE/25-locales: 23: ifclass: not found in their FAI's shell.log. Thanks: thermoman Signed-off-by: Michael Prokop <mika@grml.org>
postfix config: execute newaliases
Do not use build server's hostname for /etc/mailname + /etc/bacula/bacula-fd.conf.
Drop Latest change lines, add initial support for Debian/squeeze
Set debconf configuration for postfix
Adjust hostname in /etc/postfix/main.cf
Add initial support for option -C
Set hostname in instsoft-hook already
Set $HOSTNAME to according hostname
Rename class GRML into GRMLBASE and update all files according. This should allow us much easier handling of different grml flavours.