[libcalamares] After mount, sync to make sure things are settled

This commit is contained in:
Adriaan de Groot 2019-06-20 11:38:08 +02:00
parent d08325d3d0
commit 93eb712824

View File

@ -19,6 +19,7 @@
#include "Mount.h"
#include "partition/Sync.h"
#include "utils/CalamaresUtilsSystem.h"
#include "utils/Logger.h"
@ -70,6 +71,7 @@ mount( const QString& devicePath, const QString& mountPoint, const QString& file
auto r = CalamaresUtils::System::instance()->runCommand(
CalamaresUtils::System::RunLocation::RunInHost, args, QString(), QString(), 10 );
sync();
return r.getExitCode();
}