forked from len0rd/rockbox
rbutil: Fix ipodpatcher bootloader uninstall.
Fix mountpoint not passed and sectorbuf not initialized properly. Change-Id: Ifa9d9e159767b20a51841ee422be59feca95c757
This commit is contained in:
parent
5c7b0e071f
commit
ce70e34476
2 changed files with 11 additions and 5 deletions
|
|
@ -473,6 +473,11 @@ void RbUtilQt::uninstallBootloader(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);
|
||||
bl->setLogfile(RbSettings::value(RbSettings::Mountpoint).toString()
|
||||
+ "/.rockbox/rbutil.log");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue