update: fix osd flickering

Origin commit data
------------------
Commit: 6709cffc6e
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-25 (Wed, 25 Oct 2017)

Origin message was:
------------------
- update: fix osd flickering
This commit is contained in:
vanhofen
2017-10-25 00:05:16 +02:00
parent f3adf96b6e
commit 439ffc068f

View File

@@ -669,6 +669,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