diff --git a/src/libcalamares/utils/CalamaresUtilsSystem.cpp b/src/libcalamares/utils/CalamaresUtilsSystem.cpp index ca981459c..09f6e1f95 100644 --- a/src/libcalamares/utils/CalamaresUtilsSystem.cpp +++ b/src/libcalamares/utils/CalamaresUtilsSystem.cpp @@ -243,4 +243,10 @@ System::getTotalDiskB() const return 0; } +bool +System::doChroot() const +{ + return m_doChroot; +} + } // namespace diff --git a/src/libcalamares/utils/CalamaresUtilsSystem.h b/src/libcalamares/utils/CalamaresUtilsSystem.h index be2da28ae..a4160ccd2 100644 --- a/src/libcalamares/utils/CalamaresUtilsSystem.h +++ b/src/libcalamares/utils/CalamaresUtilsSystem.h @@ -170,6 +170,8 @@ public: */ DLLEXPORT quint64 getTotalDiskB() const; + DLLEXPORT bool doChroot() const; + private: static System* s_instance;