]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Remove file blacklisting erofs module in opensuse initrd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 2 Jun 2023 13:42:34 +0000 (15:42 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 2 Jun 2023 13:43:28 +0000 (15:43 +0200)
mkosi.presets/10-initrd/mkosi.postinst [new file with mode: 0755]

diff --git a/mkosi.presets/10-initrd/mkosi.postinst b/mkosi.presets/10-initrd/mkosi.postinst
new file mode 100755 (executable)
index 0000000..79cce30
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
+set -e
+
+# OpenSUSE insists on blacklisting erofs by default because its supposedly a legacy filesystem.
+# See https://github.com/openSUSE/suse-module-tools/pull/71
+rm -f /usr/lib/modprobe.d/60-blacklist_fs-erofs.conf