mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-16 20:34:30 -04:00
[libcalamares] Allow retrieving chroot mode from system (as well as settings)
This commit is contained in:
parent
65a236cd60
commit
1f49f764a6
2 changed files with 8 additions and 1 deletions
|
@ -256,5 +256,10 @@ System::getTotalMemoryB()
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
System::doChroot() const
|
||||
{
|
||||
return m_doChroot;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -114,6 +114,8 @@ public:
|
|||
*/
|
||||
DLLEXPORT QPair<quint64, float> getTotalMemoryB();
|
||||
|
||||
DLLEXPORT bool doChroot() const;
|
||||
|
||||
private:
|
||||
static System* s_instance;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue