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
This commit is contained in:
parent
3cebc983a2
commit
b1965b4197
1 changed files with 5 additions and 0 deletions
|
@ -307,6 +307,11 @@ void SelectiveInstallWidget::installBootloader(void)
|
||||||
blfilepath.append(RbSettings::value(RbSettings::Mountpoint).toString()
|
blfilepath.append(RbSettings::value(RbSettings::Mountpoint).toString()
|
||||||
+ blfile.at(a));
|
+ 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);
|
bl->setBlFile(blfilepath);
|
||||||
QUrl url(PlayerBuildInfo::instance()->value(PlayerBuildInfo::BootloaderUrl).toString()
|
QUrl url(PlayerBuildInfo::instance()->value(PlayerBuildInfo::BootloaderUrl).toString()
|
||||||
+ PlayerBuildInfo::instance()->value(PlayerBuildInfo::BootloaderName).toString());
|
+ PlayerBuildInfo::instance()->value(PlayerBuildInfo::BootloaderName).toString());
|
||||||
|
|
Loading…
Reference in a new issue