defect 3373326: display a message and continue if no repository was created in the kerneldir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
16dabf7e25
commit
dc60d160c0
@ -183,7 +183,6 @@ unless ($onlyinitrd) {
|
||||
find(\&isyumdir, <$kerneldir/>);
|
||||
if (!grep /$kerneldir/, @yumdirs) {
|
||||
print "The repository for $kerneldir should be created before running the geniamge. Try to run [createrepo $kerneldir].\n";
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
unless (scalar(@yumdirs)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user