linux57-tkg: Import bcachefs patchset for 5.7 - https://github.com/koverstreet/bcachefs

This commit is contained in:
Tk-Glitch 2020-06-12 03:01:06 +02:00
parent b30dcd61de
commit 7143a7017f
2 changed files with 69875 additions and 17 deletions

View File

@ -89,7 +89,7 @@ pkgname=("${pkgbase}" "${pkgbase}-headers")
_basekernel=5.7
_sub=2
pkgver="${_basekernel}"."${_sub}"
pkgrel=5
pkgrel=6
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -117,7 +117,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
0005-v5.7_undead-pds099o.patch
0006-add-acs-overrides_iommu.patch
0007-v5.7-fsync.patch
#0008-5.6-bcachefs.patch
0008-5.7-bcachefs.patch
0009-glitched-ondemand-bmq.patch
0009-glitched-bmq.patch
0009-bmq_v5.7-r1.patch
@ -141,6 +141,7 @@ sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0'
'bd0460d436e3ade46ea20b0087f8ccf62dce00f96de76f04b74620f81e63a2dc'
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
'cd225e86d72eaf6c31ef3d7b20df397f4cc44ddd04389850691292cdf292b204'
'b89d5c0e242ab2515211bf02de3098df9c0a51fe36a679817f9cb15e2e5e2b8b'
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
'965a517a283f265a012545fbb5cc9e516efc9f6166d2aa1baf7293a32a1086b7'
'778dfdf05a6ca31296ac43df5eca80d917891cd9b429dcebf0ad4ef8a99eb8a7'
@ -727,21 +728,21 @@ prepare() {
fi
# bcachefs
# if [ -z "$_bcachefs" ]; then
# plain ""
# plain "Add Bcache filesystem support? You'll have to install bcachefs-tools-git from AUR for utilities."
# plain "https://bcachefs.org/"
# read -rp "`echo $' > N/y : '`" CONDITION8;
# fi
# if [ "$CONDITION8" == "y" ] || [ "$_bcachefs" == "true" ]; then
# patch -Np1 -i ../0008-5.7-bcachefs.patch
# echo "CONFIG_BCACHEFS_FS=m" >> ./.config
# echo "CONFIG_BCACHEFS_QUOTA=y" >> ./.config
# echo "CONFIG_BCACHEFS_POSIX_ACL=y" >> ./.config
# echo "# CONFIG_BCACHEFS_DEBUG is not set" >> ./.config
# echo "# CONFIG_BCACHEFS_TESTS is not set" >> ./.config
# echo "# CONFIG_DEBUG_CLOSURES is not set" >> ./.config
# fi
if [ -z "$_bcachefs" ]; then
plain ""
plain "Add Bcache filesystem support? You'll have to install bcachefs-tools-git from AUR for utilities."
plain "https://bcachefs.org/"
read -rp "`echo $' > N/y : '`" CONDITION8;
fi
if [ "$CONDITION8" == "y" ] || [ "$_bcachefs" == "true" ]; then
patch -Np1 -i ../0008-5.7-bcachefs.patch
echo "CONFIG_BCACHEFS_FS=m" >> ./.config
echo "CONFIG_BCACHEFS_QUOTA=y" >> ./.config
echo "CONFIG_BCACHEFS_POSIX_ACL=y" >> ./.config
echo "# CONFIG_BCACHEFS_DEBUG is not set" >> ./.config
echo "# CONFIG_BCACHEFS_TESTS is not set" >> ./.config
echo "# CONFIG_DEBUG_CLOSURES is not set" >> ./.config
fi
# fsync support
if [ -z "$_fsync" ]; then

File diff suppressed because it is too large Load Diff