linux-5(7-12): Get rid of the anbox modules patch. It actually cannot work as building the modules will fail (but we never turned that on, thankfully).
Added a note regarding how to use Anbox with the current implementation, which works just fine.
This commit is contained in:
@@ -1119,7 +1119,6 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
||||
read -rp "`echo $' > N/y : '`" CONDITION12;
|
||||
fi
|
||||
if [[ "$CONDITION12" =~ [yY] ]] || [ "$_anbox" = "true" ]; then
|
||||
msg2 "Patching kernel to build Android ashmem and binder as modules instead of built-in"
|
||||
echo "CONFIG_ASHMEM=y" >> ./.config
|
||||
echo "CONFIG_ION=y" >> ./.config
|
||||
echo "# CONFIG_ION_SYSTEM_HEAP is not set" >> ./.config
|
||||
@@ -1128,7 +1127,10 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
||||
echo "CONFIG_ANDROID_BINDERFS=y" >>./.config
|
||||
echo 'CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"' >>./.config
|
||||
echo "# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set" >> ./.config
|
||||
tkgpatch="$srcdir/0013-anbox-modules.patch" && _tkg_patcher
|
||||
warning "Please make sure to read up on how to use this; https://github.com/Frogging-Family/linux-tkg#anbox-usage"
|
||||
if [[ "$CONDITION12" =~ [yY] ]]; then
|
||||
read -rp "Press enter to continue..."
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user