diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js index af0b1eef7ad4..7b067d7e8da9 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js @@ -88,8 +88,11 @@ return view.extend({ let image; for (image of images) { if (this.firmware.filesystem == image.filesystem) { - if (this.data.efi) { - if (image.type == 'combined-efi') { + // x86 images can be combined-efi (EFI) or combined (BIOS) + if(this.firmware.target.indexOf("x86")) { + if (this.data.efi && image.type == 'combined-efi') { + return image; + } else if (image.type == 'combined') { return image; } } else {