From 93eb71282479f8b94e0afeff6839cd1f2caf47e2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 20 Jun 2019 11:38:08 +0200 Subject: [PATCH] [libcalamares] After mount, sync to make sure things are settled --- src/libcalamares/partition/Mount.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcalamares/partition/Mount.cpp b/src/libcalamares/partition/Mount.cpp index 9efbe4182..7112751ed 100644 --- a/src/libcalamares/partition/Mount.cpp +++ b/src/libcalamares/partition/Mount.cpp @@ -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(); }