…dpkg.cfg.d/unsafe-io code FAI uses /etc to detect whether a chroot exists or not and will skip debootstrap stage if /etc exists already. This causes serious problems if the user doesn't have a BASEFILE, therefore we can't edit files inside /etc before running FAI. :( As a result: 1) generate /etc/grml_live_version *after* FAI has been executed 2) drop /etc/dpkg/dpkg.cfg.d/unsafe-io related code. As stated in commit 9269536 | Enable --force-unsafe-io for dpkg | | While this might help on resource constrained systems, no performance | impact has been measured during an unscientific test on a well-geared | machine. it does not seem to be that relevant. But even more important: it doesn't work for systems without BASEFILEs because FAI skips the debootstrap stage if /etc exists already, so we can't generate /etc/dpkg/dpkg.cfg.d/unsafe-io *before* running FAI. Unless someone comes up with benchmarks about real performance impacts let's skip adding more fcopy logic...
FAI 4 uses nfsroot.conf instead of make-fai-nfsroot.conf without providing any backwards compatibility. :( So while at it rework the way how make-fai-nfsroot.conf is handled: * No longer ship /etc/grml/fai/make-fai-nfsroot.conf at all * Generate nfsroot.conf based on default settings (can be overriden by $FAI_DEBOOTSTRAP + $FAI_DEBOOTSTRAP_OPTS) on the fly * Provide symlink make-fai-nfsroot.conf pointing to nfsroot.conf to support old and new FAI versions at the same time * After execution copy generated nfsroot.conf file to log directory and get rid of make-fai-nfsroot.conf and nfsroot.conf in $GRML_FAI_CONFIG (/etc/grml/fai/ by default) afterwards Closes: #4
…oimage This should pull xorriso per default on new installs, as xorriso is the preferred way to generate the ISO.
this clashes with grml's own output style change introduced upstream in lsb-base >= 4.1+Debian1
…inux config file This way it can be easily edited in place to select different defaults without the need to rebuild the ISO image at all. Thanks: Marco d'Itri
…ssage to stderr
Also check for presence of /etc/grml/lsb-functions + /etc/grml/script-functions
We no longer provide feedback.grml.org as a service.
…s regexp module The GRUB version provided by Debian/squeeze sadly doesn't support the regexp module yet. Therefore we can't use the file globbing pattern to include configuration files. So instead build a somewhat more static loopback.cfg configuration file when generating the ISO.
… sed Otherwise customizations like tz=Europe/Vienna will break, as the "/" inside it will be interpreted by sed(1).