summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2016-09-02 14:51:22 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2016-09-02 14:22:37 +0000
commit86ed296a42a381ea0c21e4fc90c7523ba74743cb (patch)
treebd23154680a9b02d6aacd5627df234ace0f72195 /src
parent7126a940e04692cd94dd722c3c54c597cb166250 (diff)
Workaround /run/ostree-booted not being present
Change-Id: Id4b5b1d737806be79fe2fe04f8a3f0cfd2dc45f5 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/lib/qotaclient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/qotaclient.cpp b/src/lib/qotaclient.cpp
index 08606fe..a5d8abb 100644
--- a/src/lib/qotaclient.cpp
+++ b/src/lib/qotaclient.cpp
@@ -44,7 +44,8 @@ QOTAClientPrivate::QOTAClientPrivate(QOTAClient *client) :
m_rollbackAvailable(false),
m_restartRequired(false)
{
- m_otaEnabled = QFile().exists(QStringLiteral("/run/ostree-booted"));
+ // https://github.com/ostreedev/ostree/issues/480
+ m_otaEnabled = QFile().exists(QStringLiteral("/ostree/deploy"));
if (m_otaEnabled) {
m_otaAsyncThread = new QThread();
m_otaAsyncThread->start();