mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
[libcalamares] Allow retrieving chroot mode from system (as well as settings)
This commit is contained in:
parent
b3d299bbf1
commit
8a053f3c9b
2 changed files with 8 additions and 0 deletions
|
@ -243,4 +243,10 @@ System::getTotalDiskB() const
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool
|
||||
System::doChroot() const
|
||||
{
|
||||
return m_doChroot;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -170,6 +170,8 @@ public:
|
|||
*/
|
||||
DLLEXPORT quint64 getTotalDiskB() const;
|
||||
|
||||
DLLEXPORT bool doChroot() const;
|
||||
|
||||
private:
|
||||
static System* s_instance;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue