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

main
Adriaan de Groot 7 years ago
parent 65a236cd60
commit 1f49f764a6

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

@ -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;

Loading…
Cancel
Save