mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 18:35:37 -04:00
REUSE: (GPL-3.0-or-later) C++ modules
This commit is contained in:
parent
863a4cc2a4
commit
30a85668b7
311 changed files with 2745 additions and 2197 deletions
|
@ -1,8 +1,9 @@
|
|||
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2015-2016, Teo Mrnjavac <teo@kde.org>
|
||||
* SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2018-2019 Adriaan de Groot <groot@kde.org>
|
||||
* Copyright 2019, Collabora Ltd <arnaud.ferraris@collabora.com>
|
||||
* SPDX-FileCopyrightText: 2019 Collabora Ltd <arnaud.ferraris@collabora.com>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -459,7 +460,7 @@ isEfiBootable( const Partition* candidate )
|
|||
while ( root && !root->isRoot() )
|
||||
{
|
||||
root = root->parent();
|
||||
cDebug() << Logger::SubEntry << "moved towards root" << Logger::Pointer(root);
|
||||
cDebug() << Logger::SubEntry << "moved towards root" << Logger::Pointer( root );
|
||||
}
|
||||
|
||||
// Strange case: no root found, no partition table node?
|
||||
|
@ -469,7 +470,7 @@ isEfiBootable( const Partition* candidate )
|
|||
}
|
||||
|
||||
const PartitionTable* table = dynamic_cast< const PartitionTable* >( root );
|
||||
cDebug() << Logger::SubEntry << "partition table" << Logger::Pointer(table) << "type"
|
||||
cDebug() << Logger::SubEntry << "partition table" << Logger::Pointer( table ) << "type"
|
||||
<< ( table ? table->type() : PartitionTable::TableType::unknownTableType );
|
||||
return table && ( table->type() == PartitionTable::TableType::gpt ) && flags.testFlag( KPM_PARTITION_FLAG( Boot ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue