[Fai-commit] r3127 - trunk/bin
fai-repository at svn.debian.org
fai-repository at svn.debian.org
Thu Dec 1 22:44:06 UTC 2005
Author: lange
Date: 2005-12-01 22:44:05 +0000 (Thu, 01 Dec 2005)
New Revision: 3127
Modified:
trunk/bin/make-fai-nfsroot
Log:
add --force-yes -y to apt-get,
move package kudzu into /etc/fai/make-fai-nfsroot.conf
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2005-11-30 16:34:45 UTC (rev 3126)
+++ trunk/bin/make-fai-nfsroot 2005-12-01 22:44:05 UTC (rev 3127)
@@ -90,10 +90,10 @@
kfile="vmlinuz"
case `dpkg --print-installation-architecture` in
i386)
- arch_packages="grub lilo kudzu dmidecode hwtools read-edid" ;;
+ arch_packages="grub lilo dmidecode hwtools read-edid" ;;
amd64)
- arch_packages="grub lilo kudzu dmidecode" ;;
+ arch_packages="grub lilo dmidecode" ;;
ia64)
arch_packages="elilo gnu-efi efibootmgr" ;;
@@ -330,21 +330,21 @@
cp -p $v /etc/resolv.conf $NFSROOT/etc/resolv.conf-installserver
cp -p $v /etc/resolv.conf $NFSROOT/etc/resolv.conf # this is needed during make-fai-nfsroot
$ROOTCMD apt-get update
- $ROOTCMD apt-get -fyu install
+ $ROOTCMD apt-get -fyu --force-yes install
$ROOTCMD apt-get check
rm -rf $NFSROOT/etc/apm
mount -t proc /proc $NFSROOT/proc
fdivert /sbin/start-stop-daemon /sbin/discover-modprobe
cp -p /sbin/fai-start-stop-daemon $NFSROOT/sbin/start-stop-daemon
- $ROOTCMD apt-get -y dist-upgrade
+ $ROOTCMD apt-get -y --force-yes dist-upgrade
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add_packages_nfsroot() {
- $ROOTCMD apt-get -y --fix-missing install $packages </dev/null
+ $ROOTCMD apt-get -y --force-yes --fix-missing install $packages </dev/null
if [ -n "$NFSROOT_PACKAGES" ] ; then
- LC_ALL=C $ROOTCMD apt-get -y --fix-missing install $NFSROOT_PACKAGES </dev/null
+ LC_ALL=C $ROOTCMD apt-get -y --force-yes --fix-missing install $NFSROOT_PACKAGES </dev/null
fi
$ROOTCMD apt-get clean
}
More information about the Fai-commit
mailing list