summaryrefslogtreecommitdiffstats
path: root/src/partition/definitions/sysext.repart.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/partition/definitions/sysext.repart.d')
-rw-r--r--src/partition/definitions/sysext.repart.d/10-root.conf17
-rw-r--r--src/partition/definitions/sysext.repart.d/20-root-verity.conf14
-rw-r--r--src/partition/definitions/sysext.repart.d/30-root-verity-sig.conf13
3 files changed, 44 insertions, 0 deletions
diff --git a/src/partition/definitions/sysext.repart.d/10-root.conf b/src/partition/definitions/sysext.repart.d/10-root.conf
new file mode 100644
index 0000000..b8ef985
--- /dev/null
+++ b/src/partition/definitions/sysext.repart.d/10-root.conf
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Partition]
+Type=root
+Format=erofs
+CopyFiles=/usr/
+CopyFiles=/opt/
+Verity=data
+VerityMatchKey=root
+Minimize=best
diff --git a/src/partition/definitions/sysext.repart.d/20-root-verity.conf b/src/partition/definitions/sysext.repart.d/20-root-verity.conf
new file mode 100644
index 0000000..8179351
--- /dev/null
+++ b/src/partition/definitions/sysext.repart.d/20-root-verity.conf
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Partition]
+Type=root-verity
+Verity=hash
+VerityMatchKey=root
+Minimize=best
diff --git a/src/partition/definitions/sysext.repart.d/30-root-verity-sig.conf b/src/partition/definitions/sysext.repart.d/30-root-verity-sig.conf
new file mode 100644
index 0000000..df16015
--- /dev/null
+++ b/src/partition/definitions/sysext.repart.d/30-root-verity-sig.conf
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Partition]
+Type=root-verity-sig
+Verity=signature
+VerityMatchKey=root