gen_initramfs, initrd.scripts: migrate to /sbin/btrfs

btrfsctl is deprecated.
master
Fabio Erculiani 12 years ago
parent c27d3ac25d
commit 12af5dfd3a

@ -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() {

@ -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

Loading…
Cancel
Save