mkosi: Remove particle profile

We have https://github.com/systemd/particleos for testing the particle
stuff so let's drop it from the systemd repo as it's bit rotting.
This commit is contained in:
Daan De Meyer
2024-10-04 14:09:48 +02:00
parent 46536e1d6c
commit d615d4e0de
11 changed files with 0 additions and 81 deletions

View File

@@ -1,15 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
Profile=particle
[Output]
RepartDirectories=
RepartDirectories=mkosi.repart
[Validation]
SecureBoot=yes
SignExpectedPcr=yes
[Host]
RuntimeSize=8G

View File

@@ -1,6 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Partition]
Type=swap
SizeMinBytes=100M
SizeMaxBytes=100M

View File

@@ -1,6 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Partition]
Type=root
Format=btrfs
SizeMinBytes=1G

View File

@@ -1,3 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
C+! /etc - - - - /usr/share/factory/mkosi

View File

@@ -1,6 +0,0 @@
#!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
mkdir -p "$BUILDROOT"/usr/share/factory/mkosi
cp --archive --recursive --no-target-directory --reflink=auto "$BUILDROOT"/etc "$BUILDROOT"/usr/share/factory/mkosi

View File

@@ -1,12 +0,0 @@
#!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
# sbsign is not available on CentOS Stream
if command -v sbsign &>/dev/null; then
# Ensure that side-loaded PE addons are loaded if signed, and ignored if not
addons_dir=/efi/loader/addons
mkdir -p "$addons_dir"
ukify build --secureboot-private-key mkosi.key --secureboot-certificate mkosi.crt --cmdline this_should_be_here -o "$addons_dir/good.addon.efi"
ukify build --cmdline this_should_not_be_here -o "$addons_dir/bad.addon.efi"
fi

View File

@@ -1,9 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Partition]
Type=esp
Format=vfat
CopyFiles=/boot:/
CopyFiles=/efi:/
SizeMinBytes=1G
SizeMaxBytes=1G

View File

@@ -1,9 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Partition]
Type=usr
Format=erofs
CopyFiles=/usr:/
Verity=data
VerityMatchKey=usr
Minimize=yes

View File

@@ -1,7 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Partition]
Type=usr-verity
Verity=hash
VerityMatchKey=usr
Minimize=yes

View File

@@ -1,6 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Partition]
Type=usr-verity-sig
Verity=signature
VerityMatchKey=usr

View File

@@ -1,2 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# This file exists to create the particle profile which is matched on by other configuration files.