2 # Filename: /etc/grml/fai/config/hooks/instsoft.GRML
3 # Purpose: grml specific Debian installation in the chroot
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 # Latest change: Sun Sep 16 22:53:02 CEST 2007 [mika]
8 ################################################################################
13 # work around http://trac.lighttpd.net/trac/ticket/657
14 # should be removed later on:
15 echo "Acquire::http::Pipeline-Depth "0";" >> $target/etc/apt/apt.conf
18 gpg --keyserver subkeys.pgp.net --recv-keys F61E2E7CECDEA787
19 gpg --export F61E2E7CECDEA787 > $target/etc/apt/grml.key
20 $ROOTCMD apt-key add /etc/apt/grml.key
22 # make sure we have file-rc available before
23 # package_config/GRML is being executed:
24 $ROOTCMD apt-get update
25 $ROOTCMD aptitude -f -y install file-rc
27 # we don't need the invoke-rc.d.d diversion (we have grml-policyrcd :)):
28 if [ -L "$target"/usr/sbin/invoke-rc.d ] ; then
29 rm -f "$target"/usr/sbin/invoke-rc.d
30 $ROOTCMD dpkg-divert --package fai --rename --remove /usr/sbin/invoke-rc.d
33 ## END OF FILE #################################################################
34 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3