|
@@ -7,16 +7,16 @@ rm -Rf feeds/custom/diy
|
|
|
sed -i 's/Os/O2/g' include/target.mk
|
|
|
rm -rf target/linux package/kernel
|
|
|
svn export https://github.com/openwrt/openwrt/trunk/target/linux target/linux
|
|
|
-curl https://raw.githubusercontent.com/openwrt/openwrt/master/include/kernel-version.mk>include/kernel-version.mk
|
|
|
+curl -L https://raw.githubusercontent.com/openwrt/openwrt/master/include/kernel-version.mk>include/kernel-version.mk
|
|
|
svn export https://github.com/openwrt/openwrt/trunk/package/kernel package/kernel
|
|
|
-curl https://raw.githubusercontent.com/openwrt/openwrt/master/include/kernel-defaults.mk>include/kernel-defaults.mk
|
|
|
+curl -L https://raw.githubusercontent.com/openwrt/openwrt/master/include/kernel-defaults.mk>include/kernel-defaults.mk
|
|
|
rm -Rf tools/upx && svn export https://github.com/coolsnowwolf/lede/trunk/tools/upx tools/upx
|
|
|
rm -Rf tools/ucl && svn export https://github.com/coolsnowwolf/lede/trunk/tools/ucl tools/ucl
|
|
|
sed -i 's?zstd$?zstd ucl upx\n$(curdir)/upx/compile := $(curdir)/ucl/compile?g' tools/Makefile
|
|
|
sed -i 's/ libelf//' tools/Makefile
|
|
|
svn co https://github.com/immortalwrt/immortalwrt/branches/master/target/linux/generic/hack-5.4 target/linux/generic/hack-5.4
|
|
|
svn co https://github.com/immortalwrt/immortalwrt/branches/master/target/linux/generic/hack-5.10 target/linux/generic/hack-5.10
|
|
|
-curl https://raw.githubusercontent.com/immortalwrt/immortalwrt/master/target/linux/generic/pending-5.4/601-add-kernel-imq-support.patch>target/linux/generic/pending-5.4/601-add-kernel-imq-support.patch
|
|
|
+curl -L https://raw.githubusercontent.com/immortalwrt/immortalwrt/master/target/linux/generic/pending-5.4/601-add-kernel-imq-support.patch>target/linux/generic/pending-5.4/601-add-kernel-imq-support.patch
|
|
|
svn export --force https://github.com/immortalwrt/immortalwrt/branches/openwrt-21.02/package/network/services/ppp package/network/services/ppp
|
|
|
svn export --force https://github.com/openwrt/openwrt/trunk/package/libs/libnfnetlink package/libs/libnfnetlink
|
|
|
svn export --force https://github.com/immortalwrt/immortalwrt/branches/master/package/network/services/dnsmasq package/network/services/dnsmasq
|
|
@@ -36,7 +36,7 @@ sed -i 's/max_requests 3/max_requests 20/g' package/network/services/uhttpd/file
|
|
|
#svn export https://github.com/immortalwrt/packages/trunk/lang/golang feeds/packages/lang/golang
|
|
|
#svn export https://github.com/immortalwrt/packages/trunk/lang/node feeds/packages/lang/node
|
|
|
mkdir package/network/config/firewall/patches
|
|
|
-curl https://github.com/coolsnowwolf/lede/raw/master/package/network/config/firewall/patches/fullconenat.patch>package/network/config/firewall/patches/fullconenat.patch
|
|
|
+curl -L https://github.com/coolsnowwolf/lede/raw/master/package/network/config/firewall/patches/fullconenat.patch>package/network/config/firewall/patches/fullconenat.patch
|
|
|
sed -i "s/+nginx\( \|$\)/+nginx-ssl\1/g" package/*/*/*/Makefile
|
|
|
sed -i 's/+python\( \|$\)/+python3/g' package/*/*/*/Makefile
|
|
|
sed -i 's?../../lang?$(TOPDIR)/feeds/packages/lang?g' package/feeds/custom/*/Makefile
|