prepare: Fix and Cleanup unnecessary checks (#351)

this is broken actually and something like this is not needed after the changes of 3462554540
This commit is contained in:
Dmitry Skvortsov
2021-11-08 23:43:31 +03:00
committed by GitHub
parent 45517faaf9
commit ccae6ec83d

View File

@@ -1122,8 +1122,7 @@ _tkg_srcprep() {
fi
fi
if ( [ "$_futex2" = "true" ] && [ -e "$srcdir/0007-v${_basekernel}-futex2_interface.patch" ] ) \
&& ( [ "$_futex_waitv" != "true" ] && [ -e "$srcdir/0007-v${_basekernel}-futex_waitv.patch" ] ); then
if [ "$_futex2" = "true" ] && [ -e "$srcdir/0007-v${_basekernel}-futex2_interface.patch" ]; then
sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config
echo -e "\r# start of config expert\r
# CONFIG_DEBUG_RSEQ is not set\r