]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(udev-rules): add btrfs udev rules by default
authorHarald Hoyer <harald@redhat.com>
Thu, 25 Feb 2021 13:13:00 +0000 (14:13 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Sat, 13 Mar 2021 19:13:13 +0000 (20:13 +0100)
Install `64-btrfs.rules` unconditionally to mark btrfs devices ready or
not.

In case no `btrfs` kernel module is available in the initramfs, the
device should not be ready.

Depends on: https://github.com/systemd/systemd/pull/18802

Fixes: https://github.com/dracutdevs/dracut/issues/947
modules.d/95udev-rules/module-setup.sh

index 8db8bde8f9969a0f9d1c6054f918efedb5d7f121..00da358555f09880a8303bbe98ec19e45b60b4c8 100755 (executable)
@@ -38,6 +38,7 @@ install() {
         60-pcmcia.rules \
         60-persistent-storage.rules \
         61-persistent-storage-edd.rules \
+        64-btrfs.rules \
         70-uaccess.rules \
         71-seat.rules \
         73-seat-late.rules \