diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-14 07:22:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-14 07:39:32 +0000 |
commit | 3f422832e1e14a724e6c0c659ed9ab8609507f3c (patch) | |
tree | 2c0ab17cd6fb44bb5c3d34347333d9f6406c67d5 /main/alpine-conf/0001-setup-disk-fix-btrfs-root.patch | |
parent | 80c5136b033e3d28508e996d1e1ad224c9017639 (diff) | |
download | aports-3f422832e1e14a724e6c0c659ed9ab8609507f3c.tar.bz2 aports-3f422832e1e14a724e6c0c659ed9ab8609507f3c.tar.xz |
main/alpine-conf: fix btrfs root in setup-disk
ref #4445
Diffstat (limited to 'main/alpine-conf/0001-setup-disk-fix-btrfs-root.patch')
-rw-r--r-- | main/alpine-conf/0001-setup-disk-fix-btrfs-root.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-disk-fix-btrfs-root.patch b/main/alpine-conf/0001-setup-disk-fix-btrfs-root.patch new file mode 100644 index 0000000000..7e54e7e820 --- /dev/null +++ b/main/alpine-conf/0001-setup-disk-fix-btrfs-root.patch @@ -0,0 +1,31 @@ +From dffde463b05beb124816357fd6ff24423b0e79f0 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Tue, 14 Jul 2015 07:21:07 +0000 +Subject: [PATCH] setup-disk: fix btrfs root + +fix typo in btrfs-progs. add kernel module eary so /dev/btrfs-control is +created. + +ref #4445 +--- + setup-disk.in | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/setup-disk.in b/setup-disk.in +index e2798f9..55b6dcb 100644 +--- a/setup-disk.in ++++ b/setup-disk.in +@@ -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 $@ + } +-- +2.4.5 + |