update: fix osd flickering

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9a364075ab
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-25 (Wed, 25 Oct 2017)

Origin message was:
------------------
- update: fix osd flickering

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-25 00:05:16 +02:00
committed by Thilo Graf
parent 4d8fa7fdfd
commit 696a3052ca

View File

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