Use rpi3 packages for rpi2 and ova for ova-KVM

This commit is contained in:
Jan Schneider 2020-06-23 12:22:03 +02:00
parent d580059c76
commit cf2229aca6
1 changed files with 5 additions and 1 deletions

View File

@ -1064,7 +1064,11 @@ proc ::rmupdate::get_available_firmware_downloads {} {
set fn [lindex [split $href "/"] end]
set tmp [split $fn "-"]
set v [lindex $tmp [expr {[llength $tmp] - 1}]]
if { $rpi_version != $v } {
if { $v == "rpi3" && $rpi_version == "rpi2" } {
write_log 4 "Using rpi3 package for rpi2: ${href}"
} elsif { $v == "ova" && $rpi_version == "ova-KVM" } {
write_log 4 "Using ova package for ova-KVM: ${href}"
} elsif { $rpi_version != $v } {
continue
}
#write_log 4 $href