fix btrfs balance bug

This commit is contained in:
Tobias Powalowski
2013-11-25 11:34:42 +00:00
parent 86d2344506
commit e8b78031f1
2 changed files with 79 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ pkgbase=linux # Build stock -ARCH kernel
#pkgbase=linux-custom # Build kernel with a different name
_srcname=linux-3.12
pkgver=3.12.1
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -18,14 +18,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
# standard config files for mkinitcpio ramdisk
'linux.preset'
'change-default-console-loglevel.patch'
'criu-no-expert.patch')
md5sums=('cc6ee608854e0da4b64f6c1ff8b6398c'
'5a8cb5a659baeeb6df3fe22de8d32df6'
'798bca5d2f0a1505c9b86a5227a2b339'
'8fa6cbb28dda5a4b38730c7f728e1845'
'eb14dcfd80c00852ef81ded6e826826a'
'98beb36f9b8cf16e58de2483ea9985e3'
'd50c1ac47394e9aec637002ef3392bd1')
'criu-no-expert.patch'
'3.12-btrfs-relocate-csums.patch')
_kernelname=${pkgbase#linux}
@@ -53,6 +47,11 @@ prepare() {
# patch from fedora
patch -Np1 -i "${srcdir}/criu-no-expert.patch"
# fix btrfs balance bug
# https://bugzilla.kernel.org/show_bug.cgi?id=63411
# https://bugs.archlinux.org/task/37867
patch -Np1 -i "${srcdir}/3.12-btrfs-relocate-csums.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
@@ -333,3 +332,11 @@ for _p in ${pkgname[@]}; do
done
# vim:set ts=8 sts=2 sw=2 et:
md5sums=('cc6ee608854e0da4b64f6c1ff8b6398c'
'5a8cb5a659baeeb6df3fe22de8d32df6'
'798bca5d2f0a1505c9b86a5227a2b339'
'8fa6cbb28dda5a4b38730c7f728e1845'
'eb14dcfd80c00852ef81ded6e826826a'
'98beb36f9b8cf16e58de2483ea9985e3'
'd50c1ac47394e9aec637002ef3392bd1'
'923c1728634d4e0f7b77177c36d94791')