Skip to content

Commit

Permalink
Allow OS maintainer to use their own video mode settings. Fixes raspb…
Browse files Browse the repository at this point in the history
…errypi#259

Signed-off-by: Sam Nazarko <[email protected]>
  • Loading branch information
samnazarko committed May 24, 2015
1 parent 5a441c3 commit bf295af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recovery/multiimagewritethread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ bool MultiImageWriteThread::processImage(const QString &folder, const QString &f
Json::saveToFile("/mnt2/os_config.json", qm);

emit statusUpdate(tr("%1: Saving display mode to config.txt").arg(os_name));
patchConfigTxt();
if ( ! vos.value("managevideo").toBool())
patchConfigTxt();

/* Partition setup script can either reside in the image folder
* or inside the boot partition tarball */
Expand Down

0 comments on commit bf295af

Please sign in to comment.