parent
aa3f909be7
commit
0030966986
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "utils/CalamaresUtilsSystem.h"
|
#include "utils/CalamaresUtilsSystem.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
#include "utils/UMask.h"
|
||||||
#include "utils/Variant.h"
|
#include "utils/Variant.h"
|
||||||
|
|
||||||
InitramfsJob::InitramfsJob( QObject* parent )
|
InitramfsJob::InitramfsJob( QObject* parent )
|
||||||
@ -40,6 +41,8 @@ InitramfsJob::prettyName() const
|
|||||||
Calamares::JobResult
|
Calamares::JobResult
|
||||||
InitramfsJob::exec()
|
InitramfsJob::exec()
|
||||||
{
|
{
|
||||||
|
CalamaresUtils::UMask( CalamaresUtils::UMask::Safe );
|
||||||
|
|
||||||
cDebug() << "Updating initramfs with kernel" << m_kernel;
|
cDebug() << "Updating initramfs with kernel" << m_kernel;
|
||||||
auto r = CalamaresUtils::System::instance()->targetEnvCommand(
|
auto r = CalamaresUtils::System::instance()->targetEnvCommand(
|
||||||
{ "update-initramfs", "-k", m_kernel, "-c", "-t" }, QString(), QString(), 10 );
|
{ "update-initramfs", "-k", m_kernel, "-c", "-t" }, QString(), QString(), 10 );
|
||||||
|
Loading…
Reference in New Issue
Block a user