From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCHv2 05/12] installer: Disable own boot partition when using BTRFS Date: Sat, 23 Mar 2024 11:56:22 +0100 Message-ID: <20240323105629.371511-5-stefan.schantl@ipfire.org> In-Reply-To: <20240323105629.371511-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3103177239196659824==" List-Id: --===============3103177239196659824== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --- src/installer/hw.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index 969c47508..11dbcd96d 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -563,7 +563,12 @@ static int hw_calculate_partition_table(struct hw* hw, s= truct hw_destination* de dest->size_bootldr =3D 0; } =20 - dest->size_boot =3D hw_boot_size(dest); + // Disable seperate boot partition for BTRFS installations. + if(dest->filesystem =3D=3D HW_FS_BTRFS) { + dest->size_boot =3D 0; + } else { + dest->size_boot =3D hw_boot_size(dest); + } =20 // Create an EFI partition when running in EFI mode if (hw->efi) --=20 2.39.2 --===============3103177239196659824==--