diy.sh 861 B

123456789101112131415161718192021
  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* feeds/kiddin9/{shortcut-fe,fullconenat-nft} package/kernel/mt76 package/kernel/exfat package/feeds/packages/fuse*
  11. rm -rf devices/common/patches/{fix.patch,iptables.patch,kernel-defaults.patch,targets.patch}
  12. rm -rf toolchain/musl
  13. svn co https://github.com/openwrt/openwrt/branches/openwrt-22.03/toolchain/musl toolchain/musl