X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=old%2Fscripts%2F10_finalize_chroot.sh;fp=old%2Fscripts%2F10_finalize_chroot.sh;h=f367f9e1f434cf1b316be5ed1c4b549a7d11bf1a;hp=0000000000000000000000000000000000000000;hb=1a06f3f65adef0fdd432aad11f479020630778a5;hpb=3ce5c1d60539aa8d2a01a810aa92325f8c513696 diff --git a/old/scripts/10_finalize_chroot.sh b/old/scripts/10_finalize_chroot.sh new file mode 100644 index 0000000..f367f9e --- /dev/null +++ b/old/scripts/10_finalize_chroot.sh @@ -0,0 +1,21 @@ +# Filename: 10_finalize_chroot.sh +# Purpose: build script for creating grml live-cd +# Authors: grml-team (grml.org), (c) Michael Prokop +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2. +# Latest change: Mon Feb 12 23:24:17 CET 2007 +################################################################################ + +# main execution +chroot_finalize() { + if [ -f "${TARGET}/etc/apt/sources.list.grml" ] ; then + chroot_exec "( cd /etc/apt/ ; ln -s sources.list.grml sources.list )" + fi +} + +chroot_cleanup() { + rm -rf "${TARGET}"/grml-live +} + +## END OF FILE ################################################################# +# vim: ai tw=80 ft=sh expandtab