Move all stuff to old/ and add live-initramfs and initial fai-stuff
[grml-live.git] / old / scripts / 10_finalize_chroot.sh
1 # Filename:      10_finalize_chroot.sh
2 # Purpose:       build script for creating grml live-cd
3 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports:   see http://grml.org/bugs/
5 # License:       This file is licensed under the GPL v2.
6 # Latest change: Mon Feb 12 23:24:17 CET 2007
7 ################################################################################
8
9 # main execution
10 chroot_finalize() {
11   if [ -f "${TARGET}/etc/apt/sources.list.grml" ] ; then
12      chroot_exec "( cd /etc/apt/ ; ln -s sources.list.grml sources.list )"
13   fi
14 }
15
16 chroot_cleanup() {
17   rm -rf "${TARGET}"/grml-live
18 }
19
20 ## END OF FILE #################################################################
21 # vim: ai tw=80 ft=sh expandtab