rbutil: bootloader installation iaudio, create the FIRMWARE dir if it doesnt exist, or bootloader install will fail.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18332 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fa41ddca92
commit
1d3b8ca7a2
1 changed files with 6 additions and 1 deletions
|
@ -469,8 +469,13 @@ void BootloaderInstaller::iaudioPrepare()
|
|||
void BootloaderInstaller::iaudioFinish()
|
||||
{
|
||||
QString firmware;
|
||||
QDir dir(m_mountpoint + "/FIRMWARE/");
|
||||
if(!dir.exists())
|
||||
{
|
||||
dir.mkpath(m_mountpoint + "/FIRMWARE/");
|
||||
}
|
||||
firmware = resolvePathCase(m_mountpoint + "/FIRMWARE/") + "/" + m_bootloadername;
|
||||
|
||||
|
||||
//copy the firmware
|
||||
if(!downloadFile.copy(firmware))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue