linux511-tkg: Add a patch for winesync support - https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync
This commit is contained in:
parent
f08a782c2f
commit
05128199df
4
PKGBUILD
4
PKGBUILD
@ -53,7 +53,7 @@ else
|
|||||||
fi
|
fi
|
||||||
pkgname=("${pkgbase}" "${pkgbase}-headers")
|
pkgname=("${pkgbase}" "${pkgbase}-headers")
|
||||||
pkgver="${_basekernel}"."${_sub}"
|
pkgver="${_basekernel}"."${_sub}"
|
||||||
pkgrel=137
|
pkgrel=138
|
||||||
pkgdesc='Linux-tkg'
|
pkgdesc='Linux-tkg'
|
||||||
arch=('x86_64') # no i686 in here
|
arch=('x86_64') # no i686 in here
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
@ -371,6 +371,7 @@ case $_basever in
|
|||||||
0006-add-acs-overrides_iommu.patch
|
0006-add-acs-overrides_iommu.patch
|
||||||
0007-v5.11-fsync.patch
|
0007-v5.11-fsync.patch
|
||||||
0007-v5.11-futex2_interface.patch
|
0007-v5.11-futex2_interface.patch
|
||||||
|
0007-v5.11-winesync.patch
|
||||||
#0008-5.11-bcachefs.patch
|
#0008-5.11-bcachefs.patch
|
||||||
0009-glitched-ondemand-bmq.patch
|
0009-glitched-ondemand-bmq.patch
|
||||||
0009-glitched-bmq.patch
|
0009-glitched-bmq.patch
|
||||||
@ -399,6 +400,7 @@ case $_basever in
|
|||||||
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
|
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
|
||||||
'b302ba6c5bbe8ed19b20207505d513208fae1e678cf4d8e7ac0b154e5fe3f456'
|
'b302ba6c5bbe8ed19b20207505d513208fae1e678cf4d8e7ac0b154e5fe3f456'
|
||||||
'073e7b8ab48aa9abdb5cedb5c729a2f624275ebdbe1769476231c9e712145496'
|
'073e7b8ab48aa9abdb5cedb5c729a2f624275ebdbe1769476231c9e712145496'
|
||||||
|
'2d2d6f03b53339177e81a39a871345f2e1b492f8f0687ba3843eb845a7bc4d4f'
|
||||||
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
|
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
|
||||||
'a557b342111849a5f920bbe1c129f3ff1fc1eff62c6bd6685e0972fc88e39911'
|
'a557b342111849a5f920bbe1c129f3ff1fc1eff62c6bd6685e0972fc88e39911'
|
||||||
'e394d4b7721f55837a8364c8311cb06cb5a59484de8aa8731e38d1aff2b7014e'
|
'e394d4b7721f55837a8364c8311cb06cb5a59484de8aa8731e38d1aff2b7014e'
|
||||||
|
@ -125,6 +125,9 @@ _fsync=""
|
|||||||
# https://gitlab.collabora.com/tonyk/linux/-/tree/futex2-dev
|
# https://gitlab.collabora.com/tonyk/linux/-/tree/futex2-dev
|
||||||
_futex2=""
|
_futex2=""
|
||||||
|
|
||||||
|
# Set to "true" to enable support for winesync, an experimental replacement for esync - requires patched wine - https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync
|
||||||
|
_winesync=""
|
||||||
|
|
||||||
# Set to "true" to enable the Binder and Ashmem, the kernel modules required to use the android emulator Anbox.
|
# Set to "true" to enable the Binder and Ashmem, the kernel modules required to use the android emulator Anbox.
|
||||||
_anbox=""
|
_anbox=""
|
||||||
|
|
||||||
|
@ -1100,6 +1100,18 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
|||||||
echo "CONFIG_FUTEX2=y" >> ./.config
|
echo "CONFIG_FUTEX2=y" >> ./.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# winesync support
|
||||||
|
if [ -z "$_winesync" ]; then
|
||||||
|
plain ""
|
||||||
|
plain "Enable support for winesync, an experimental replacement for esync"
|
||||||
|
plain "https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync"
|
||||||
|
read -rp "`echo $' > N/y : '`" CONDITION_winesync;
|
||||||
|
fi
|
||||||
|
if [[ "$CONDITION_winesync" =~ [yY] ]] || [ "$_winesync" = "true" ]; then
|
||||||
|
msg2 "Patching winesync support"
|
||||||
|
tkgpatch="$srcdir/0007-v${_basekernel}-winesync.patch" && _tkg_patcher
|
||||||
|
fi
|
||||||
|
|
||||||
# ZFS fix
|
# ZFS fix
|
||||||
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ]; then
|
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ]; then
|
||||||
if [ -z "$_zfsfix" ]; then
|
if [ -z "$_zfsfix" ]; then
|
||||||
|
4402
linux-tkg-patches/5.11/0007-v5.11-winesync.patch
Normal file
4402
linux-tkg-patches/5.11/0007-v5.11-winesync.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user