This commit is contained in:
John Doe 2022-06-16 01:28:58 +08:00
parent a58c31c121
commit 131a18ee76
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F

View File

@ -109,7 +109,6 @@ if [[ $DEVICE == 'r4s' || $DEVICE == 'r2s' || $DEVICE == 'r2c' || $DEVICE == 'r1
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
sed -i 's/libblake2s.ko@lt5.9/libblake2s.ko/;s/libblake2s-generic.ko@lt5.9/libblake2s-generic.ko/' package/kernel/linux/modules/crypto.mk
echo 'kmod-wireguard' >> `ls staging_dir/target-*/pkginfo/linux.default.install`
fi
# ...