diy.sh 343 B

1234567891011
  1. #!/bin/bash
  2. shopt -s extglob
  3. SHELL_FOLDER=$(dirname $(readlink -f "$0"))
  4. bash $SHELL_FOLDER/../common/kernel_5.15.sh
  5. sh -c "curl -sfL https://patch-diff.githubusercontent.com/raw/openwrt/openwrt/pull/11115.patch | patch -d './' -p1 --forward"
  6. rm -rf tools/mkimage
  7. svn co https://github.com/openwrt/openwrt/trunk/tools/mkimage tools/mkimage