linux511-tkg: Add a patch for winesync support - https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync

This commit is contained in:
Tk-Glitch
2021-03-13 23:14:32 +01:00
parent f08a782c2f
commit 05128199df
4 changed files with 4420 additions and 1 deletions

View File

@@ -1100,6 +1100,18 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
echo "CONFIG_FUTEX2=y" >> ./.config
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
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ]; then
if [ -z "$_zfsfix" ]; then