support fadump on p7 ih

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-08-03 01:57:58 +00:00
parent 88922b24f6
commit 026dd99301

View File

@ -703,7 +703,7 @@ sub mkinitrd_dracut {
# update etc/dracut.conf
open($DRACUTCONF, '>', "$rootimg_dir/etc/dracut.conf");
if (-d glob("/usr/share/dracut/modules.d/[0-9]*fadump")){
if (-d glob("$rootimg_dir/usr/share/dracut/modules.d/[0-9]*fadump")){
print $DRACUTCONF qq{dracutmodules+="xcat nfs base network kernel-modules fadump"\n};
}
else{
@ -738,7 +738,7 @@ sub mkinitrd_dracut {
# update etc/dracut.conf
open($DRACUTCONF, '>', "$rootimg_dir/etc/dracut.conf");
if (-d glob("/usr/share/dracut/modules.d/[0-9]*fadump")){
if (-d glob("$rootimg_dir/usr/share/dracut/modules.d/[0-9]*fadump")){
print $DRACUTCONF qq{dracutmodules+="xcat nfs base network kernel-modules fadump"\n};
}
else{