From 5a92312cf212189c17d8b7537499a68d29ea4f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Mon, 29 Oct 2018 19:34:26 +0100 Subject: [PATCH] [partition] avoid data cleanup in osprobe - Fixes #1044 --- src/modules/partition/tests/PartitionJobTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/partition/tests/PartitionJobTests.cpp b/src/modules/partition/tests/PartitionJobTests.cpp index de10631a0..2800826f1 100644 --- a/src/modules/partition/tests/PartitionJobTests.cpp +++ b/src/modules/partition/tests/PartitionJobTests.cpp @@ -2,6 +2,7 @@ * * Copyright 2014, Aurélien Gâteau * Copyright 2017, Adriaan de Groot + * Copyright 2018, Philip Müller * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,6 +70,7 @@ public: private: QString m_devicePath; QTemporaryDir m_mountPointDir; + m_mountPointDir.setAutoRemove(false); // Avoid data cleanup - https://github.com/calamares/calamares/issues/1044 bool m_mounted; };