mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-29 15:51:18 +00:00
Improve the message when the existing firmware level doesn't match the images provided (signed vs test)
This commit is contained in:
@@ -528,7 +528,8 @@ sub get_lic_filenames {
|
||||
@dirlist = grep /\.rpm$/, @dirlist;
|
||||
@dirlist = grep /$1/, @dirlist;
|
||||
if (!scalar(@dirlist)) {
|
||||
$msg = "There isn't a package suitable for $mtms";
|
||||
# the last grep above is using $1, which is $pns, the output message should help figure out what is wrong
|
||||
$msg = "Existing firmware type is: $pns, no matching firmware package found in directory";
|
||||
return ("", "", "", $msg, -1);
|
||||
}
|
||||
if (scalar(@dirlist) > 1) {
|
||||
|
Reference in New Issue
Block a user