[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 b3d299bbf1
commit 8a053f3c9b
2 changed files with 8 additions and 0 deletions

View File

@ -243,4 +243,10 @@ System::getTotalDiskB() const
return 0;
}
bool
System::doChroot() const
{
return m_doChroot;
}
} // namespace

View File

@ -170,6 +170,8 @@ public:
*/
DLLEXPORT quint64 getTotalDiskB() const;
DLLEXPORT bool doChroot() const;
private:
static System* s_instance;