defect 3520: fixed a typo that using - replace =

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-04-26 02:15:52 +00:00
parent e78b7a27f6
commit feb65fcb64

View File

@ -425,7 +425,7 @@ unless ($onlyinitrd) {
print "Cannot find the kernel package with the versioin $krpmver.\n";
exit 1;
}
my $kernelname = "$kern=".$krpmver;
my $kernelname = "$kern-".$krpmver;
push @npa, $kernelname;
}
} else {
@ -1549,6 +1549,7 @@ sub generic_post { # This function is meant to leave the image in a state approx
system("sed -i 's!\\(HWCLOCK=\\).*!\\1\"--localtime\"!' $rootimg_dir/etc/sysconfig/clock");
unlink("$rootimg_dir/dev/null");
system("mknod $rootimg_dir/dev/null c 1 3");
open($cfgfile,">","$rootimg_dir/etc/fstab");