[unpackfs] Drop special-case for unpackfs
- make the module weight 12, rather than special-casing internals
This commit is contained in:
parent
c19866f887
commit
73b8ecd622
@ -1,5 +1,5 @@
|
||||
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
*
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2014-2016 Teo Mrnjavac <teo@kde.org>
|
||||
* SPDX-FileCopyrightText: 2018-2020 Adriaan de Groot <groot@kde.org>
|
||||
*
|
||||
@ -184,7 +184,6 @@ PythonJob::PythonJob( const ModuleSystem::InstanceKey& instance,
|
||||
, m_workingPath( workingPath )
|
||||
, m_description()
|
||||
, m_configurationMap( moduleConfiguration )
|
||||
, m_weight( ( instance.module() == QStringLiteral( "unpackfs" ) ) ? 12.0 : 1.0 )
|
||||
{
|
||||
}
|
||||
|
||||
@ -194,7 +193,7 @@ PythonJob::~PythonJob() {}
|
||||
qreal
|
||||
PythonJob::getJobWeight() const
|
||||
{
|
||||
return m_weight;
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
QString
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
*
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||
* SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||
*
|
||||
@ -68,7 +68,6 @@ private:
|
||||
QString m_workingPath;
|
||||
QString m_description;
|
||||
QVariantMap m_configurationMap;
|
||||
qreal m_weight;
|
||||
};
|
||||
|
||||
} // namespace Calamares
|
||||
|
@ -5,3 +5,4 @@ name: "unpackfs"
|
||||
interface: "python"
|
||||
script: "main.py"
|
||||
requiredModules: [ mount ]
|
||||
weight: 12
|
||||
|
Loading…
Reference in New Issue
Block a user