diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 3007fbc..b3a9e20 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1380,7 +1380,7 @@ cdupdate() { setup_btrfsctl() { # start BTRFS volume detection, if available - [ -x /sbin/btrfsctl ] && /sbin/btrfsctl -a + [ -x /sbin/btrfs ] && /sbin/btrfs device scan } setup_md_device() { diff --git a/gen_initramfs.sh b/gen_initramfs.sh index d5f0597..724af3b 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -372,7 +372,7 @@ append_btrfs() { fi # Copy binaries - copy_binaries "${TEMP}/initramfs-btrfs-temp" /sbin/{btrfs,btrfsctl} + copy_binaries "${TEMP}/initramfs-btrfs-temp" /sbin/btrfs cd "${TEMP}/initramfs-btrfs-temp/" log_future_cpio_content