revert 12048 since enabling /proc in rootimage will cause xcat-server and other possible packages think they are installed on a running system and try to start their services. This should not be an good solution to handle the previous problem.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4e5597ce72
commit
101ac6c3aa
@ -339,10 +339,6 @@ unless ($onlyinitrd) {
|
||||
}
|
||||
}
|
||||
|
||||
# mount /proc file system since several packages need it.
|
||||
print "mount /proc file system\nchroot $rootimg_dir /bin/mount -t proc proc /proc\n";
|
||||
system("chroot $rootimg_dir /bin/mount -t proc proc /proc");
|
||||
|
||||
# install extra packages
|
||||
my $yumcmd_base = $yumcmd;
|
||||
$yumcmd .= "install ";
|
||||
@ -366,10 +362,6 @@ unless ($onlyinitrd) {
|
||||
print "No Packages marked for install\n";
|
||||
}
|
||||
|
||||
# umount /proc file system that just mounted
|
||||
print "umount /proc file system\nchroot $rootimg_dir /bin/umount /proc\n";
|
||||
system("chroot $rootimg_dir /bin/umount /proc");
|
||||
|
||||
# remove the packages that are specified in the otherpkgs.list files with leading '--'
|
||||
if (exists ($extra_hash{$pass}{'POST_REMOVE'})) {
|
||||
my $pa=$extra_hash{$pass}{'POST_REMOVE'};
|
||||
|
Loading…
Reference in New Issue
Block a user