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 ################################################################################
12 # Restore usual Debian behaviour
13 #if [ -r "$target"/etc/apt/apt.conf.d/15grml-live ] ; then
14 # rm -f "$target"/etc/apt/apt.conf.d/15grml-live
17 # Restore original state from softupdate:
18 if [ -r $target/etc/policy-rc.d.conf ] ; then
19 sed -i "s/EXITSTATUS='101'/EXITSTATUS='0'/" $target/etc/policy-rc.d.conf
22 # remove an existing /etc/debian_chroot file:
23 if [ -r $target/etc/debian_chroot ] ; then
24 rm -f $target/etc/debian_chroot
27 # /etc/grml_cd makes the live system recognizable as a live system
28 touch $target/etc/grml_cd
30 ## END OF FILE #################################################################
31 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3