From: Daan De Meyer Date: Fri, 2 Jun 2023 13:42:34 +0000 (+0200) Subject: mkosi: Remove file blacklisting erofs module in opensuse initrd X-Git-Tag: v254-rc1~301^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e577318ddbafdf410528f985149a1e17ac85be86;p=thirdparty%2Fsystemd.git mkosi: Remove file blacklisting erofs module in opensuse initrd --- diff --git a/mkosi.presets/10-initrd/mkosi.postinst b/mkosi.presets/10-initrd/mkosi.postinst new file mode 100755 index 00000000000..79cce300229 --- /dev/null +++ b/mkosi.presets/10-initrd/mkosi.postinst @@ -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