Commit 848a2ab2 authored by Natanael Copa's avatar Natanael Copa

setup-disk: fix btrfs root

fix typo in btrfs-progs. add kernel module eary so /dev/btrfs-control is
created.

ref #4445
parent c0ad60b0
......@@ -441,7 +441,9 @@ init_progs() {
case $ROOTFS in
ext*) fstools=e2fsprogs; mkfs_args="-q";;
xfs) fstools=xfsprogs; mkfs_args="-q";;
btrfs) fstools=btrs-progs; mkfs_args="";;
# we need load btrfs module early to avoid the error message:
# 'failed to open /dev/btrfs-control'
btrfs) fstools=btrfs-progs; mkfs_args=""; modprobe btrfs;;
esac
apk add --quiet sfdisk e2fsprogs lvm2 $raidpkg syslinux $fstools $@
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment