Explicitly disable bcachefs by default and add warnings in both the prompt and config file

See https://github.com/Frogging-Family/linux-tkg/issues/550

Kinda fixes https://github.com/Frogging-Family/linux-tkg/issues/550
This commit is contained in:
Tk-Glitch
2022-08-12 18:46:00 +02:00
parent c4de67201c
commit fc970e6367
2 changed files with 3 additions and 2 deletions

View File

@@ -1176,7 +1176,7 @@ _tkg_srcprep() {
plain ""
plain "Add Bcache filesystem support? You'll have to install bcachefs-tools-git from AUR for utilities."
plain "https://bcachefs.org/"
warning "Enabling this option will not allow you to enable MGLRU."
warning "This can be buggy and isn't recommended on a production machine, also enabling this option will not allow you to enable MGLRU."
read -rp "`echo $' > N/y : '`" CONDITION8;
fi
if [[ "$CONDITION8" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then