insserv with -f option to ignore the dependency on sles10.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f8c5b0c53b
commit
c7cae12392
@ -1525,7 +1525,8 @@ sub generic_post { # This function is meant to leave the image in a state approx
|
||||
|
||||
copy("$installroot/postscripts/xcatpostinit", "$rootimg_dir/etc/init.d/xcatpostinit");
|
||||
chmod(0755, "$rootimg_dir/etc/init.d/xcatpostinit");
|
||||
system("chroot $rootimg_dir insserv gettyset xcatpostinit");
|
||||
#add -f option to ignore the dependecy on sles10.4
|
||||
system("chroot $rootimg_dir insserv -f network sshd gettyset xcatpostinit");
|
||||
|
||||
my $rc = system("grep sshd $rootimg_dir/etc/init.d/.depend.start | grep TARGETS");
|
||||
if ($rc) {
|
||||
|
Loading…
Reference in New Issue
Block a user