btrfs: force preload btrfs module

fixes https://github.com/dracutdevs/dracut/issues/658

raid6_pq and xor takes time doing benchmarking

[    3.983009] request_module fs-btrfs succeeded, but still no fs?
master
Harald Hoyer 2020-03-11 12:56:52 +01:00 committed by Harald Hoyer
parent 058739bf69
commit 0402b3777b
1 changed files with 3 additions and 1 deletions

View File

@ -48,5 +48,7 @@ install() {

inst_multiple -o btrfsck btrfs-zero-log
inst $(command -v btrfs) /sbin/btrfs
# Hack for slow machines
# see https://github.com/dracutdevs/dracut/issues/658
echo "rd.driver.pre=btrfs" > ${initdir}/etc/cmdline.d/00-btrfs.conf
}