[Fai-commit] r5035 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Mon Aug 11 15:24:16 UTC 2008
Author: lange
Date: 2008-08-11 15:24:14 +0000 (Mon, 11 Aug 2008)
New Revision: 5035
Modified:
trunk/bin/make-fai-nfsroot
Log:
use arch independent name for linux kernel, now also matches vmlinux (closes: #494440)
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2008-08-11 15:18:59 UTC (rev 5034)
+++ trunk/bin/make-fai-nfsroot 2008-08-11 15:24:14 UTC (rev 5035)
@@ -75,7 +75,6 @@
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
-kfile="vmlinuz" # some architectures use different names
merror="properly"
sshpreserve=0
divert=1
@@ -407,7 +406,7 @@
local pxebin=/usr/lib/syslinux/pxelinux.0
rm -f $NFSROOT/boot/*.bak
mkdir -p $TFTPROOT/pxelinux.cfg
- cp -pv $NFSROOT/boot/$kfile-* $NFSROOT/boot/initrd.img-* $TFTPROOT
+ cp -pv $NFSROOT/boot/vmlinu?-* $NFSROOT/boot/initrd.img-* $TFTPROOT
[ -f $pxebin ] && cp $pxebin $TFTPROOT
echo "DHCP environment prepared. If you want to use it, you have to enable the dhcpd and the tftp-hpa daemon."
}
More information about the Fai-commit
mailing list