Skip the futex2 config edits when using a kernel version that doesn't have futex2 support
This commit is contained in:
parent
4a66afaf69
commit
f3ef2edd61
@ -487,7 +487,7 @@ _tkg_srcprep() {
|
||||
sed -i -e 's/# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set/CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4=y/' ./.config
|
||||
sed -i -e 's/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo"/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lz4"/' ./.config
|
||||
sed -i -e 's/# CONFIG_CMDLINE_BOOL is not set/CONFIG_CMDLINE_BOOL=y/' ./.config
|
||||
if [ "$_futex2" = "true" ]; then
|
||||
if [ "$_futex2" = "true" ] && [ "$_basever" != "54" ] && [ "$_basever" != "57" ] && [ "$_basever" != "58" ] && [ "$_basever" != "59" ]; then
|
||||
sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config
|
||||
echo -e "# CONFIG_DEBUG_RSEQ is not set\n
|
||||
# CONFIG_PC104 is not set\n
|
||||
|
Loading…
Reference in New Issue
Block a user