mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-14 12:21:53 +00:00
Fix line to detect 6.6 supported or not
This commit is contained in:
parent
571364dc62
commit
7afd51f952
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -828,7 +828,7 @@ if [ "$OMR_KERNEL" = "6.6" ]; then
|
|||
#rm -f package/kernel/rtl8812au-ct/patches/099-cut-linkid-linux-version-code-conditionals.patch
|
||||
#rm -f package/kernel/rtl8812au-ct/patches/100-api_update.patch
|
||||
rm -f target/linux/generic/hack-6.6/212-tools_portability.patch
|
||||
if [ ! -d target/linux/$(sed -nE 's/CONFIG_TARGET_([a-z0-9]*)=y/\1/p' ".config" | tr -d "\n")/patches-6.6 ]; then
|
||||
if [ ! -d target/linux/`sed -nE 's/CONFIG_TARGET_([a-z0-9]*)=y/\1/p' ".config" | tr -d "\n"`/patches-6.6 ]; then
|
||||
echo "Sorry but kernel 6.6 is not supported on your arch yet"
|
||||
NOT_SUPPORTED="1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue