From d4ad412781ca4fa2e9a80d713dd258cafc50d935 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 24 Feb 2011 02:55:39 +0000 Subject: [PATCH] system x SLES 11 SP1 support, stop udevd before chroot to rootimg git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/sles/genimage | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 36cd8f79f..451c25547 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -887,6 +887,7 @@ EOMS foreach (@ndrivers) { print $inifile "insmod /lib/$_\n"; } + print $inifile "killall -9 udevd\n"; if($mode eq "statelite") { print $inifile "echo debug: before netstart\n"; print $inifile "# check and see if debug is specified on command line\n"; @@ -1281,6 +1282,7 @@ END system("cp -r $rootimg_dir/etc/udev/* /tmp/xcatinitrd.$$/etc/udev"); system("cp -r $rootimg_dir/bin/uname /tmp/xcatinitrd.$$/bin/"); system("cp -r $rootimg_dir/lib/firmware/* /tmp/xcatinitrd.$$/lib/firmware"); + system("cp -r $rootimg_dir/usr/bin/killall /tmp/xcatinitrd.$$/usr/bin"); # Copy rules for network adapter my $name = `cat /etc/sysconfig/network/ifcfg-$prinic | grep NAME`;