Improve Acquire::http::Pipeline-Depth solution
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 99-finish-grml-build
1 #!/bin/sh
2 # Filename:      /etc/grml/fai/config/scripts/GRMLBASE/99-finish-grml-build
3 # Purpose:       finalize grml chroot build
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: Mon Oct 15 19:12:13 CEST 2007 [mika]
8 ################################################################################
9
10 set -u
11 set -e
12
13 # Restore usual Debian behaviour which has been changed
14 # for FAI via /etc/grml/fai/config/hooks/instsoft.GRMLBASE
15 if [ -r $target/etc/apt/apt.conf ] ; then
16    sed -i "s#Acquire::http::Pipeline-Depth.*#// &#" $target/etc/apt/apt.conf
17 fi
18
19 # /etc/grml_cd makes the live system recognizable as a live system
20 touch $target/etc/grml_cd
21
22 ## END OF FILE #################################################################
23 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3