[libcalamares] Allow retrieving chroot mode from system (as well as settings)

This commit is contained in:
Adriaan de Groot 2017-12-03 10:09:00 -05:00
parent 65a236cd60
commit 1f49f764a6
2 changed files with 8 additions and 1 deletions

View File

@ -256,5 +256,10 @@ System::getTotalMemoryB()
#endif #endif
} }
bool
System::doChroot() const
{
return m_doChroot;
} }
} // namespace

View File

@ -114,6 +114,8 @@ public:
*/ */
DLLEXPORT QPair<quint64, float> getTotalMemoryB(); DLLEXPORT QPair<quint64, float> getTotalMemoryB();
DLLEXPORT bool doChroot() const;
private: private:
static System* s_instance; static System* s_instance;