[libcalamares] Allow retrieving chroot mode from system (as well as settings)
This commit is contained in:
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…
Reference in New Issue
Block a user