mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Improve the message when the existing firmware level doesn't match the images provided (signed vs test)
This commit is contained in:
parent
54cd535f06
commit
a761eb5404
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user