support kdump on sles10 on system p

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-11-15 06:03:00 +00:00
parent 9d55a3b3c1
commit a0bd8f6a46

View File

@ -114,8 +114,12 @@ if [ ! -z "$DUMP" ]; then
cd /var/tmp/tempinit/
/bin/zcat ${KDUMPINIT} | /bin/cpio -id
/bin/rm -f ${KDUMPINIT}
mkdir -p ./var/lib/dhcpcd/
mkdir -p ./lib/udev/devices/
/bin/mkdir -p ./var/lib/dhcpcd/
/bin/mkdir -p ./lib/udev/devices/
if (pmatch $ARCH "ppc*"); then
/bin/mkdir -p ./lib/power6/
/bin/mkdir -p ./lib/power7/
fi
/bin/cp -r /lib/udev/devices/* ./lib/udev/devices/
for file in "/sbin/ifconfig /usr/bin/clear /bin/touch /bin/grep /sbin/dhcpcd /sbin/ip /bin/awk /bin/makedumpfile"
do