diff --git a/src/libcalamares/utils/CalamaresUtilsSystem.cpp b/src/libcalamares/utils/CalamaresUtilsSystem.cpp
index c87346958ba610211d4d54f6b0a170bb58bec607..745472203043c42f8bbc0792ae1a7a02bf7c25bb 100644
--- a/src/libcalamares/utils/CalamaresUtilsSystem.cpp
+++ b/src/libcalamares/utils/CalamaresUtilsSystem.cpp
@@ -78,7 +78,7 @@ chrootCall( const QString& command,
             const QString& stdInput,
             int timeoutSec )
 {
-    return chrootCall( { command },
+    return chrootCall( QStringList{ command },
                        workingPath,
                        stdInput,
                        timeoutSec );
@@ -170,7 +170,7 @@ chrootOutput( const QString& command,
               const QString& stdInput,
               int timeoutSec )
 {
-    return chrootOutput( { command },
+    return chrootOutput( QStringList{ command },
                          output,
                          workingPath,
                          stdInput,