* Add support for amd64.
* Update and extend documentation.
* Bugfix: Make sure $LOGDIR exists.
+ * fai dirinstall: set hostname via $HOSTNAME
-- Michael Prokop <mika@grml.org> Fri, 21 Sep 2007 11:46:17 +0200
passwd passwd/shadow boolean true
+wvdial wvdial/wvdialconf boolean false
locales locales/default_environment_locale select en_US.UTF-8
locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8
zfs-fuse
zsh-lovers
+## Notice: this packages are known to be x86-only currently [2007-09-21]:
+# 3ware-cli-binary aamath aesutil afflib asleap athcool atitvout btsco chntpw
+# cmospwd cpp-2.95 cpuburn-in-binary ctapi-cyberjack ctris dcfldd dd-rhelp
+# deletemail detox dupmerge dupseek dynamic-disk ecryptfs-utils ext3rminator
+# fdflush firescope fnfx-client fnfxd ftpbackup fuseiso9660 fvwm-crystal-minimal
+# gateguardian gatling gifshuffle gkrellm-x86info glipper-nognome heirloom-sh
+# histring hydra i810switch i855crt i8kutils icmp-mtu icmp-quench icmp-reset
+# irpas lcdtest minised nat-traverse orpheus ppmd prosilla pspax pstack ptfinder
+# rainbowcrack replicator rootsh s3switch salvage-ntfs scrounge-ntfs shadowfs
+# shmux sjog speechd-up spicctrl ssdeep sudosh tlswrap toshset toshutils
+# tpm-tools trapdoor2 trousers xserver-xorg-video-amd zfs-fuse
+
# official Debian packages:
2vcard
3270-common
# 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: Fri Sep 21 11:44:43 CEST 2007 [mika]
+# Latest change: Fri Sep 21 17:00:20 CEST 2007 [mika]
################################################################################
# read configuration files, set some misc variables {{{
mkdir -p "${CHROOT_TARGET}/${MIRROR_DIRECTORY}"
mount --bind "${MIRROR_DIRECTORY}" "${CHROOT_TARGET}/${MIRROR_DIRECTORY}"
fi
- fai $VERBOSE -C "$GRML_FAI_CONFIG" -c"$CLASSES" dirinstall "$CHROOT_TARGET" $FAI_ARGS | tee -a $LOGFILE
+ fai $VERBOSE -C "$GRML_FAI_CONFIG" -c"$CLASSES" -u "$HOSTNAME" dirinstall "$CHROOT_TARGET" $FAI_ARGS | tee -a $LOGFILE
umount $CHROOT_TARGET/proc 2>/dev/null || /bin/true
umount $CHROOT_TARGET/sys 2>/dev/null || /bin/true
[ -n "$MIRROR_DIRECTORY" ] && umount "${CHROOT_TARGET}/${MIRROR_DIRECTORY}"
if [ -n "$ERROR" ] ; then
log "There was an error during execution of stage 'fai dirinstall' [$(date)]"
eerror "There was an error during execution of stage 'fai dirinstall'"
- echo " Check out /var/log/fai/dirinstall/$HOSTNAME/... for details. [exit ${ERROR}]"
+ echo " Check out /var/log/fai/dirinstall/$HOSTNAME/ for details. [exit ${ERROR}]"
eend 1 ; exit 1
else
log "Finished execution of stage 'fai dirinstall' [$(date)]"
# TARGET=/dev/shm/grml_chroot fai -C/etc/grml/fai -cGRMLBASE,I386 dirupdate
Needs work though...
+
+fai_dirinstall_check.diff:
+
+Make sure to exit in fai dirinstall if task instsoft wasn't successfull.
--- /dev/null
+--- /usr/lib/fai/subroutines.orig 2007-09-21 10:46:23.000000000 +0200
++++ /usr/lib/fai/subroutines 2007-09-21 19:36:34.000000000 +0200
+@@ -476,6 +476,9 @@
+ task prepareapt
+ task updatebase
+ task instsoft
++ if grep -q 'E: Sub-process /usr/bin/dpkg returned an error code' $LOGDIR/software.log ; then
++ die "Error in software installation task."
++ fi
+ task configure
+ task finish
+