- update: fix osd flickering

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-10-25 00:05:16 +02:00
committed by Thilo Graf
parent 20d3cd3d2a
commit 9a364075ab

View File

@@ -628,6 +628,12 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
#ifndef DRYRUN #ifndef DRYRUN
my_system(3, ofgwrite_tgz, g_settings.update_dir.c_str(), filename.c_str()); my_system(3, ofgwrite_tgz, g_settings.update_dir.c_str(), filename.c_str());
#endif #endif
/*
ofgwrite is killing Neutrino.
So we stay here and wait for our end. This avoids osd flickering.
*/
while (true)
sleep(1);
} }
#endif #endif
else // not image, install else // not image, install