Skip to content

Commit

Permalink
use 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
stupidloud committed Jun 10, 2022
1 parent e16ac9f commit 0f55eb1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,8 @@ if [[ $DEVICE == 'r1s' ]]; then
merge_package https://github.com/immortalwrt/immortalwrt/branches/openwrt-18.06-k5.4/package/emortal/autocore
fi

if [[ $DEVICE == 'r2s' || $DEVICE == 'r2c' || $DEVICE == 'r1p' || $DEVICE == 'r1p-lts' ]]; then
sed -i 's/5.10/5.4/g' target/linux/rockchip/Makefile
fi

if [[ $DEVICE == 'r4s' || $DEVICE == 'r2s' || $DEVICE == 'r2c' || $DEVICE == 'r1p' || $DEVICE == 'r1p-lts' ]]; then
sed -i 's/5.10/5.4/g' target/linux/rockchip/Makefile
line_number_CONFIG_CRYPTO_LIB_BLAKE2S=$[`grep -n 'CONFIG_CRYPTO_LIB_BLAKE2S' package/kernel/linux/modules/crypto.mk | cut -d: -f 1`+1]
sed -i $line_number_CONFIG_CRYPTO_LIB_BLAKE2S' s/HIDDEN:=1/DEPENDS:=@(LINUX_5_4||LINUX_5_10)/' package/kernel/linux/modules/crypto.mk
echo 'kmod-wireguard' >> `ls staging_dir/target-*/pkginfo/linux.default.install`
Expand Down

0 comments on commit 0f55eb1

Please sign in to comment.