linux59-tkg: Import 5.9 version of the bcachefs patchset - https://github.com/koverstreet/bcachefs
This commit is contained in:
parent
db7895eebf
commit
0e49a7815d
@ -45,7 +45,7 @@ else
|
||||
fi
|
||||
pkgname=("${pkgbase}" "${pkgbase}-headers")
|
||||
pkgver="${_basekernel}"."${_sub}"
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc='Linux-tkg'
|
||||
arch=('x86_64') # no i686 in here
|
||||
url="http://www.kernel.org/"
|
||||
@ -75,7 +75,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
|
||||
0005-glitched-pds.patch
|
||||
0006-add-acs-overrides_iommu.patch
|
||||
0007-v5.9-fsync.patch
|
||||
#0008-5.8-bcachefs.patch
|
||||
0008-5.9-bcachefs.patch
|
||||
0009-glitched-ondemand-bmq.patch
|
||||
0009-glitched-bmq.patch
|
||||
0009-prjc_v5.9-r0.patch
|
||||
@ -99,6 +99,7 @@ sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06'
|
||||
'fca63d15ca4502aebd73e76d7499b243d2c03db71ff5ab0bf5cf268b2e576320'
|
||||
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
|
||||
'b302ba6c5bbe8ed19b20207505d513208fae1e678cf4d8e7ac0b154e5fe3f456'
|
||||
'3956c324798f25bcf8e6c5f6d160551245304c5cfa3a2cba73e5b1e350c364ce'
|
||||
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
|
||||
'a557b342111849a5f920bbe1c129f3ff1fc1eff62c6bd6685e0972fc88e39911'
|
||||
'88c7e308e474c845e0cc09e09bd223fc39876eca757abf6d6c3b8321f49ce1f1'
|
||||
|
@ -98,6 +98,9 @@ _OFenable="false"
|
||||
# Set to "true" to use ACS override patch - https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Bypassing_the_IOMMU_groups_.28ACS_override_patch.29 - Kernel default is "false"
|
||||
_acs_override=""
|
||||
|
||||
# Set to "true" to add Bcache filesystem support. You'll have to install bcachefs-tools-git from AUR for utilities - https://bcachefs.org/ - If in doubt, set to "false"
|
||||
_bcachefs=""
|
||||
|
||||
# Set to "true" to add back missing symbol for AES-NI/AVX support on ZFS - https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/export_kernel_fpu_functions.patch - Kernel default is "false"
|
||||
_zfsfix="true"
|
||||
|
||||
|
@ -732,22 +732,22 @@ _tkg_srcprep() {
|
||||
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" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then
|
||||
# msg2 "Patching Bcache filesystem support override"
|
||||
# patch -Np1 -i "$srcdir"/0008-5.8-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" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then
|
||||
msg2 "Patching Bcache filesystem support override"
|
||||
patch -Np1 -i "$srcdir"/0008-5.9-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
|
||||
|
70821
linux59-tkg/linux59-tkg-patches/0008-5.9-bcachefs.patch
Normal file
70821
linux59-tkg/linux59-tkg-patches/0008-5.9-bcachefs.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user