Improve some prompts

This commit is contained in:
Tk-Glitch 2021-03-22 18:43:34 +01:00
parent 6232648ad6
commit 66cfcb1a6b

View File

@ -9,7 +9,7 @@ ver511=8
ver512=rc4
_cpuschedselector() {
msg2 "Which CPU sched variant do you want to build/install? Select \"1\" if unsure."
msg2 "Which CPU sched variant do you want to build/install? Select \"CFS\" (linux kernel's default) if unsure."
select CPUSCHED in "${_CPUSCHEDARRAY[@]}"
do
case $CPUSCHED in
@ -1110,12 +1110,13 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
# winesync support
if [ -z "$_winesync" ]; then
plain ""
plain "Enable support for winesync, an experimental replacement for esync"
plain "Enable support for winesync/fastsync, an experimental replacement for esync"
plain "https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync"
warning "Alternatively, on Arch you can use the DKMS module which allows for using the feature on multiple kernels side by side: https://aur.archlinux.org/packages/winesync-dkms/"
read -rp "`echo $' > N/y : '`" CONDITION_winesync;
fi
if [[ "$CONDITION_winesync" =~ [yY] ]] || [ "$_winesync" = "true" ]; then
msg2 "Patching winesync support"
msg2 "Patching winesync/fastsync support"
tkgpatch="$srcdir/0007-v${_basekernel}-winesync.patch" && _tkg_patcher
echo "CONFIG_WINESYNC=m" >> ./.config
echo "KERNEL==\"winesync\", MODE=\"0644\"" > ../winesync.rules