Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit bf295af

Browse files
committed
Allow OS maintainer to use their own video mode settings. Fixes #259
Signed-off-by: Sam Nazarko <[email protected]>
1 parent 5a441c3 commit bf295af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recovery/multiimagewritethread.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ bool MultiImageWriteThread::processImage(const QString &folder, const QString &f
302302
Json::saveToFile("/mnt2/os_config.json", qm);
303303

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

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

0 commit comments

Comments
 (0)