2 # Filename: ${GRML_FAI_CONFIG}/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 original state from softupdate:
13 if [ -r $target/etc/policy-rc.d.conf ] ; then
14 sed -i "s/EXITSTATUS='101'/EXITSTATUS='0'/" $target/etc/policy-rc.d.conf
17 # remove an existing /etc/debian_chroot file:
18 if [ -r $target/etc/debian_chroot ] ; then
19 rm -f $target/etc/debian_chroot
22 # /etc/grml_cd makes the live system recognizable as a live system
23 touch $target/etc/grml_cd
25 ## END OF FILE #################################################################
26 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2