Skip to content

Commit

Permalink
Disable waydroid option when using Project C schedulers. It depends o…
Browse files Browse the repository at this point in the history
…n PSI which is disabled on those schedulers due to bugs.

Related to #975
  • Loading branch information
Tk-Glitch committed Jul 22, 2024
1 parent 5b0c4b5 commit 2716916
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions customization.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ _bcachefs="false"
_ntsync="false"

# Set to "true" to enable Binder modules to use Waydroid Android containers
# !!! Not available on Project C schedulers (PDS & BMQ) due to disabled PSI on those !!!
_waydroid=""

# Various patches and tweaks from Zen/Liquorix, Xanmod and the community - Default is "true"
Expand Down
26 changes: 14 additions & 12 deletions linux-tkg-config/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -1691,18 +1691,20 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
unset _msg

# Waydroid
if [ -z "$_waydroid" ]; then
plain ""
plain "Enable android modules for use with Waydroid?"
plain "https://waydro.id"
read -rp "`echo $' > N/y : '`" CONDITION12;
fi
if [[ "$CONDITION12" =~ [yY] ]] || [ "$_waydroid" = "true" ]; then
_enable "ANDROID" "ANDROID_BINDER_IPC" "ANDROID_BINDERFS"
_disable "ANDROID_BINDER_IPC_SELFTEST"
scripts/config --set-str "ANDROID_BINDER_DEVICES" ""
if [[ "$CONDITION12" =~ [yY] ]]; then
read -rp "Press enter to continue..."
if [ "${_cpusched}" != "pds" ] && [ "${_cpusched}" != "bmq" ]; then
if [ -z "$_waydroid" ]; then
plain ""
plain "Enable android modules for use with Waydroid?"
plain "https://waydro.id"
read -rp "`echo $' > N/y : '`" CONDITION12;
fi
if [[ "$CONDITION12" =~ [yY] ]] || [ "$_waydroid" = "true" ]; then
_enable "ANDROID" "ANDROID_BINDER_IPC" "ANDROID_BINDERFS"
_disable "ANDROID_BINDER_IPC_SELFTEST"
scripts/config --set-str "ANDROID_BINDER_DEVICES" ""
if [[ "$CONDITION12" =~ [yY] ]]; then
read -rp "Press enter to continue..."
fi
fi
fi

Expand Down

0 comments on commit 2716916

Please sign in to comment.