From 8ff93c0f3a67ec75befa6ee54e8d7a4c12871c88 Mon Sep 17 00:00:00 2001 From: eichehome Date: Thu, 26 Oct 2023 01:11:26 +0200 Subject: [PATCH] =?UTF-8?q?Repart-Dateien=20f=C3=BCr=20Esp,=20ExtendedBoot?= =?UTF-8?q?Loader,=20Usr-A,Usr-A-Verity,=20Usr-A-Vertity-Signature,=20Usr-?= =?UTF-8?q?B,Usr-B-Verity,=20Usr-B-Vertity-Signature,=20Swap=20und=20Root?= =?UTF-8?q?=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systemd/repart.d/10-Esp.conf | 6 ++++++ systemd/repart.d/15-ExtendedBootLoader.conf | 6 ++++++ systemd/repart.d/20-Usr-A.conf | 7 +++++++ systemd/repart.d/21-Usr-A-verity.conf | 5 +++++ systemd/repart.d/22-Usr-A-verity-sig.conf | 5 +++++ systemd/repart.d/30-Usr-B.conf | 7 +++++++ systemd/repart.d/31-Usr-B-verity.conf | 5 +++++ systemd/repart.d/32-Usr-B-verity-sig.conf | 5 +++++ systemd/repart.d/40-Swap.conf | 6 ++++++ systemd/repart.d/50-Root.conf | 7 +++++++ 10 files changed, 59 insertions(+) create mode 100644 systemd/repart.d/10-Esp.conf create mode 100644 systemd/repart.d/15-ExtendedBootLoader.conf create mode 100644 systemd/repart.d/20-Usr-A.conf create mode 100644 systemd/repart.d/21-Usr-A-verity.conf create mode 100644 systemd/repart.d/22-Usr-A-verity-sig.conf create mode 100644 systemd/repart.d/30-Usr-B.conf create mode 100644 systemd/repart.d/31-Usr-B-verity.conf create mode 100644 systemd/repart.d/32-Usr-B-verity-sig.conf create mode 100644 systemd/repart.d/40-Swap.conf create mode 100644 systemd/repart.d/50-Root.conf diff --git a/systemd/repart.d/10-Esp.conf b/systemd/repart.d/10-Esp.conf new file mode 100644 index 0000000..1c49943 --- /dev/null +++ b/systemd/repart.d/10-Esp.conf @@ -0,0 +1,6 @@ +[Partition] +Type=esp +Label=EFI System Partition +SizeMinBypes=512M +SizeMaxBytes=512M +Format=vfat \ No newline at end of file diff --git a/systemd/repart.d/15-ExtendedBootLoader.conf b/systemd/repart.d/15-ExtendedBootLoader.conf new file mode 100644 index 0000000..3abf491 --- /dev/null +++ b/systemd/repart.d/15-ExtendedBootLoader.conf @@ -0,0 +1,6 @@ +[Partition] +Type=xbootldr +Label=Extended Boot Loader Partition +SizeMinBypes=2G +SizeMaxBytes=2G +Format=ext4 \ No newline at end of file diff --git a/systemd/repart.d/20-Usr-A.conf b/systemd/repart.d/20-Usr-A.conf new file mode 100644 index 0000000..d7f4a0b --- /dev/null +++ b/systemd/repart.d/20-Usr-A.conf @@ -0,0 +1,7 @@ +[Partition] +Type=usr +Label=ArchOS USR 0.1 +Format=erofs +Verity=data +VerityMatchKey=usrA +Minimize=best|guess \ No newline at end of file diff --git a/systemd/repart.d/21-Usr-A-verity.conf b/systemd/repart.d/21-Usr-A-verity.conf new file mode 100644 index 0000000..befa9b4 --- /dev/null +++ b/systemd/repart.d/21-Usr-A-verity.conf @@ -0,0 +1,5 @@ +[Partition] +Type=usr-verity +Label=ArchOS Verity 0.1 +Verity=hash +VerityMatchKey=usrA \ No newline at end of file diff --git a/systemd/repart.d/22-Usr-A-verity-sig.conf b/systemd/repart.d/22-Usr-A-verity-sig.conf new file mode 100644 index 0000000..26d8472 --- /dev/null +++ b/systemd/repart.d/22-Usr-A-verity-sig.conf @@ -0,0 +1,5 @@ +[Partition] +Type=usr-verity-sig +Label=ArchOS Signature 0.1 +Verity=signature +VerityMatchKey=usrA \ No newline at end of file diff --git a/systemd/repart.d/30-Usr-B.conf b/systemd/repart.d/30-Usr-B.conf new file mode 100644 index 0000000..0ddb2a1 --- /dev/null +++ b/systemd/repart.d/30-Usr-B.conf @@ -0,0 +1,7 @@ +[Partition] +Type=usr +Label=_empty +Format=erofs +Verity=data +VerityMatchKey=usrB +Minimize=best|guess \ No newline at end of file diff --git a/systemd/repart.d/31-Usr-B-verity.conf b/systemd/repart.d/31-Usr-B-verity.conf new file mode 100644 index 0000000..e2828e8 --- /dev/null +++ b/systemd/repart.d/31-Usr-B-verity.conf @@ -0,0 +1,5 @@ +[Partition] +Type=usr-verity +Label=_empty +Verity=hash +VerityMatchKey=usrB \ No newline at end of file diff --git a/systemd/repart.d/32-Usr-B-verity-sig.conf b/systemd/repart.d/32-Usr-B-verity-sig.conf new file mode 100644 index 0000000..893cc2b --- /dev/null +++ b/systemd/repart.d/32-Usr-B-verity-sig.conf @@ -0,0 +1,5 @@ +[Partition] +Type=usr-verity-sig +Label=_empty +Verity=signature +VerityMatchKey=usrA \ No newline at end of file diff --git a/systemd/repart.d/40-Swap.conf b/systemd/repart.d/40-Swap.conf new file mode 100644 index 0000000..e2e6d92 --- /dev/null +++ b/systemd/repart.d/40-Swap.conf @@ -0,0 +1,6 @@ +[Partition] +Type=swap +Label=ArchOS Swap +SizeMinBypes=1G +SizeMaxBytes=4G +Format=swap \ No newline at end of file diff --git a/systemd/repart.d/50-Root.conf b/systemd/repart.d/50-Root.conf new file mode 100644 index 0000000..4658c59 --- /dev/null +++ b/systemd/repart.d/50-Root.conf @@ -0,0 +1,7 @@ +[Partition] +Type=root +Label=ArchOS Root +Format=btrfs +Encrypt=tpm2|key-file+tpm2 +FactoryReset=yes +GrowFileSystem=yes \ No newline at end of file