SW: add f2fs-tools to GRML_SMALL + GRML_FULL
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 99-finish-grml-build
1 #!/bin/bash
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 ################################################################################
8
9 set -u
10 set -e
11
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
15 fi
16
17 # remove an existing /etc/debian_chroot file:
18 if [ -r $target/etc/debian_chroot ] ; then
19    rm -f $target/etc/debian_chroot
20 fi
21
22 # /etc/grml_cd makes the live system recognizable as a live system
23 touch $target/etc/grml_cd
24
25 ## END OF FILE #################################################################
26 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2