diy.sh 854 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. shopt -s extglob
  3. SHELL_FOLDER=$(dirname $(readlink -f "$0"))
  4. sed -i '/postgres=5432/d' feeds/packages.index
  5. sed -i '/postgres=5432/d' feeds/packages/net/gnunet/Makefile
  6. ./scripts/feeds install -a
  7. sed -i "s/make-ext4fs missing-macros/make-ext4fs meson missing-macros/" tools/Makefile
  8. curl -sfL https://raw.githubusercontent.com/openwrt/openwrt/openwrt-22.03/include/meson.mk -o include/meson.mk
  9. svn co https://github.com/openwrt/openwrt/branches/openwrt-22.03/tools/meson tools/meson
  10. rm -rf package/feeds/kiddin9/rtl*
  11. sed -i "s/PKG_SOURCE_DATE:=.*/PKG_SOURCE_DATE:=2024-12-06/" package/network/config/netifd/Makefile
  12. rm -rf devices/common/patches/{glinet,fix.patch,iptables.patch,kernel-defaults.patch,targets.patch}
  13. rm -rf toolchain/musl
  14. svn co https://github.com/openwrt/openwrt/branches/openwrt-22.03/toolchain/musl toolchain/musl