during grml-live execution
- do not re-execute grml-live is the target ISO exists already
* Set /etc/grml_version of live-system to the according value.
+ [Closes: issue322]
+ * Support setting /etc/debian_chroot inside chroot (useful if
+ building fails and manual interaction is needed).
* Log to /var/log/grml-live.log by default now and support
$ZERO_LOGFILE for cleaning up logs.
* Added new grml-repository named grml-live which is intented
with /etc/grml/fai/apt/preferences so grml-live repository
can be used and configured at a single place.
* Use apt-pinning via /etc/grml/fai/config/hooks/instsoft.GRMLBASE
- already and remove it from /etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
+ and drop it from /etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
* Display version number of grml-live.
* Log executed grml-live command line.
* Set FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info"
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Sat Oct 27 02:15:35 CEST 2007 [mika]
+# Latest change: Mon Okt 29 23:35:34 CET 2007 [mika]
################################################################################
set -u
set -e
+# visualize chroot inside zsh:
+echo grml_chroot > $target/etc/debian_chroot
+
if [ "$FAI_ACTION" = "softupdate" ] ; then
echo "Softupdate"
# make sure we prefer grml repository:
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Mon Oct 15 19:12:13 CEST 2007 [mika]
+# Latest change: Mon Okt 29 10:46:02 CET 2007 [mika]
################################################################################
set -u
sed -i "s#Acquire::http::Pipeline-Depth.*#// &#" $target/etc/apt/apt.conf
fi
+# remove an existing /etc/debian_chroot file:
+if [ -r $target/etc/debian_chroot ] ; then
+ rm -f $target/etc/debian_chroot
+fi
+
# /etc/grml_cd makes the live system recognizable as a live system
touch $target/etc/grml_cd