-Suppress rpm output that is part of bug 1958359 (kernel rpm in stateless install complaining about no fstab)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9eb10f30f1
commit
f3f145c4a9
@ -78,6 +78,11 @@ unless ($onlyinitrd) {
|
||||
}
|
||||
$repnum-=1;
|
||||
close($yumconfig);
|
||||
mkpath "$installroot/netboot/$osver/$arch/$profile/rootimg/etc";
|
||||
my $fd;
|
||||
open($fd,">>","$installroot/netboot/$osver/$arch/$profile/rootimg/etc/fstab");
|
||||
print $fd "#Dummy fstab for rpm postscripts to see\n";
|
||||
close($fd);
|
||||
my $yumcmd = "yum -y -c /tmp/genimage.$$.yum.conf --installroot=$installroot/netboot/$osver/$arch/$profile/rootimg/ --disablerepo=* ";
|
||||
foreach (0..$repnum) {
|
||||
$yumcmd .= "--enablerepo=$osver-$arch-$_ "
|
||||
|
Loading…
Reference in New Issue
Block a user