mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[welcome] Make libparted optional
- This turns off the space-available check in the welcome module; without libparted, always fail that check. - Allows running the welcome module on OS without libparted.
This commit is contained in:
parent
b0c4fbc1bb
commit
2bc394656d
2 changed files with 18 additions and 7 deletions
|
@ -313,7 +313,12 @@ RequirementsChecker::verdict() const
|
|||
bool
|
||||
RequirementsChecker::checkEnoughStorage( qint64 requiredSpace )
|
||||
{
|
||||
#ifdef WITHOUT_LIBPARTED
|
||||
cDebug() << "WARNING: RequirementsChecker is configured without libparted.";
|
||||
return false;
|
||||
#else
|
||||
return check_big_enough( requiredSpace );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue