summaryrefslogtreecommitdiffstats
path: root/mkosi.images/exitrd/mkosi.conf.d
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
commit78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch)
treef515d16b6efd858a9aeb5b0ef5d6f90bf288283d /mkosi.images/exitrd/mkosi.conf.d
parentAdding debian version 255.5-1. (diff)
downloadsystemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz
systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mkosi.images/exitrd/mkosi.conf.d')
-rw-r--r--mkosi.images/exitrd/mkosi.conf.d/10-arch.conf29
-rw-r--r--mkosi.images/exitrd/mkosi.conf.d/10-centos-fedora.conf9
-rw-r--r--mkosi.images/exitrd/mkosi.conf.d/10-debian-ubuntu.conf9
-rw-r--r--mkosi.images/exitrd/mkosi.conf.d/10-opensuse.conf8
4 files changed, 55 insertions, 0 deletions
diff --git a/mkosi.images/exitrd/mkosi.conf.d/10-arch.conf b/mkosi.images/exitrd/mkosi.conf.d/10-arch.conf
new file mode 100644
index 0000000..c8b1904
--- /dev/null
+++ b/mkosi.images/exitrd/mkosi.conf.d/10-arch.conf
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=arch
+
+[Content]
+Packages=
+ systemd
+
+RemoveFiles=
+ # Arch Linux doesn't split their gcc-libs package so we manually remove
+ # unneeded stuff here to make sure it doesn't end up in the image.
+ /usr/lib/libgfortran.so*
+ /usr/lib/libgo.so*
+ /usr/lib/libgomp.so*
+ /usr/lib/libgphobos.so*
+ /usr/lib/libobjc.so*
+ /usr/lib/libgdruntime.so*
+
+ # Remove all files that are only required for development.
+ /usr/lib/*.a
+ /usr/include/*
+
+ /usr/share/i18n/*
+ /usr/share/hwdata/*
+ /usr/share/iana-etc/*
+ /usr/share/locale/*
+ /usr/share/terminfo/*
+ /usr/share/zoneinfo/*
diff --git a/mkosi.images/exitrd/mkosi.conf.d/10-centos-fedora.conf b/mkosi.images/exitrd/mkosi.conf.d/10-centos-fedora.conf
new file mode 100644
index 0000000..8458dee
--- /dev/null
+++ b/mkosi.images/exitrd/mkosi.conf.d/10-centos-fedora.conf
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=|centos
+Distribution=|fedora
+
+[Content]
+Packages=
+ systemd-standalone-shutdown
diff --git a/mkosi.images/exitrd/mkosi.conf.d/10-debian-ubuntu.conf b/mkosi.images/exitrd/mkosi.conf.d/10-debian-ubuntu.conf
new file mode 100644
index 0000000..babde60
--- /dev/null
+++ b/mkosi.images/exitrd/mkosi.conf.d/10-debian-ubuntu.conf
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=|debian
+Distribution=|ubuntu
+
+[Content]
+Packages=
+ systemd
diff --git a/mkosi.images/exitrd/mkosi.conf.d/10-opensuse.conf b/mkosi.images/exitrd/mkosi.conf.d/10-opensuse.conf
new file mode 100644
index 0000000..3f6df21
--- /dev/null
+++ b/mkosi.images/exitrd/mkosi.conf.d/10-opensuse.conf
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=opensuse
+
+[Content]
+Packages=
+ systemd