From b1965b419730c426fe7dae258533f4f109ceb778 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 8 Mar 2022 22:42:34 +0100 Subject: rbutil: Fix setting bootloader "file" for Ipod bootloader. On Ipods we use the bootloader "filename" to pass the mountpoint, which is then used to determine the correct device to use. Change-Id: I1dd2060ae9176bfdece9337160db08caf326e1f5 --- utils/rbutilqt/gui/selectiveinstallwidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/rbutilqt/gui/selectiveinstallwidget.cpp') diff --git a/utils/rbutilqt/gui/selectiveinstallwidget.cpp b/utils/rbutilqt/gui/selectiveinstallwidget.cpp index 638082091b..b65f180521 100644 --- a/utils/rbutilqt/gui/selectiveinstallwidget.cpp +++ b/utils/rbutilqt/gui/selectiveinstallwidget.cpp @@ -307,6 +307,11 @@ void SelectiveInstallWidget::installBootloader(void) blfilepath.append(RbSettings::value(RbSettings::Mountpoint).toString() + blfile.at(a)); } + // on devices without a bootloader file we use the mointpoint. The + // installer will use that to determine the correct device. + if(blfile.isEmpty()) { + blfilepath.append(RbSettings::value(RbSettings::Mountpoint).toString()); + } bl->setBlFile(blfilepath); QUrl url(PlayerBuildInfo::instance()->value(PlayerBuildInfo::BootloaderUrl).toString() + PlayerBuildInfo::instance()->value(PlayerBuildInfo::BootloaderName).toString()); -- cgit v1.2.3