+elilo (3.6-3.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for RC bugfix.
+ * The check for new installs is broken, because apt-install elilo is
+ apparently not guaranteed to complete before the fstab is configured;
+ instead, check for the existence of /etc/elilo.conf to determine
+ whether to run elilo on install. Closes: #414419.
+ * Also fix a missing $ in the debconf config script that caused a syntax
+ error.
+
+ -- Steve Langasek <vorlon@debian.org> Mon, 12 Mar 2007 03:44:09 -0700
+
elilo (3.6-3) unstable; urgency=high
* patch from Dann Frazier that adds an option to run /usr/sbin/elilo in
. /usr/share/debconf/confmodule
-if [ "2" ] && dpkg --compare-versions $2 lt 3.2-1
+if [ "$2" ] && dpkg --compare-versions $2 lt 3.2-1
then
db_input high elilo/format || true
else
case "$1" in
configure|reconfigure)
# On new installs, do nothing - elilo-installer will handle it for d-i
- if grep -q "^# UNCONFIGURED FSTAB FOR BASE SYSTEM" /etc/fstab ; then
- exit 0
- fi
- if [ "$2" ] && dpkg --compare-versions $2 lt 3.2-1
- then
- db_get elilo/format || true;
- if [ x"$RET" = x"true" ]; then
- echo "Running elilo..."
- /usr/sbin/elilo --format --efiboot
+ if [ -e /etc/elilo.conf ]; then
+ if [ "$2" ] && dpkg --compare-versions "$2" lt 3.2-1
+ then
+ db_get elilo/format || true;
+ if [ x"$RET" = x"true" ]; then
+ echo "Running elilo..."
+ /usr/sbin/elilo --format --efiboot
+ fi
+ else
+ db_get elilo/runme || true;
+ if [ x"$RET" = x"true" ]; then
+ echo "Running elilo..."
+ /usr/sbin/elilo
+ fi
fi
- exit 0
- fi
- db_get elilo/runme || true;
- if [ x"$RET" = x"true" ]; then
- echo "Running elilo..."
- /usr/sbin/elilo
fi
;;