From a0bd8f6a46fb157f13d85f448eb90177916afdd6 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 15 Nov 2012 06:03:00 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/enablekdump | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/enablekdump b/xCAT/postscripts/enablekdump index 9736d7c96..9490df54c 100755 --- a/xCAT/postscripts/enablekdump +++ b/xCAT/postscripts/enablekdump @@ -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