mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-18 08:20:11 +00:00
优化调整
This commit is contained in:
@@ -16,7 +16,6 @@ Firmware_Diy_Core() {
|
||||
Regex_Skip="packages|buildinfo|sha256sums|manifest|kernel|rootfs|factory|itb|profile"
|
||||
|
||||
AutoBuild_Features=true
|
||||
Compatible=false
|
||||
}
|
||||
|
||||
Firmware_Diy() {
|
||||
@@ -42,11 +41,11 @@ Firmware_Diy() {
|
||||
|
||||
case "${OP_AUTHOR}/${OP_REPO}:${OP_BRANCH}" in
|
||||
coolsnowwolf/lede:master)
|
||||
rm -r $(PKG_Finder d "package feeds" luci-theme-argon)
|
||||
sed -i "s?/bin/login?/usr/libexec/login.sh?g" ${FEEDS_PKG}/ttyd/files/ttyd.config
|
||||
rm -rf $(PKG_Finder d "package feeds" luci-theme-argon)
|
||||
|
||||
AddPackage git lean luci-theme-argon jerrykuku 18.06
|
||||
AddPackage git lean luci-app-argon-config jerrykuku master
|
||||
AddPackage git other AutoBuild-Packages Hyy2001X master
|
||||
AddPackage svn other luci-app-smartdns immortalwrt/luci/branches/openwrt-18.06/applications
|
||||
sed -i 's/..\/..\//\$\(TOPDIR\)\/feeds\/luci\//g' $(PKG_Finder d package luci-app-smartdns)/Makefile
|
||||
AddPackage svn other luci-app-eqos immortalwrt/luci/branches/openwrt-18.06/applications
|
||||
@@ -57,32 +56,31 @@ Firmware_Diy() {
|
||||
AddPackage git other luci-app-ikoolproxy iwrt main
|
||||
AddPackage git other helloworld fw876 master
|
||||
sed -i 's/143/143,8080,8443/' $(PKG_Finder d package luci-app-ssr-plus)/root/etc/init.d/shadowsocksr
|
||||
patch < ${CustomFiles}/Patches/revert_remove-alterId-config.patch -p1 -d ${WORK}
|
||||
patch < ${CustomFiles}/Patches/fix_ntfs3_antfs_conflict.patch -p1 -d ${WORK}
|
||||
patch < ${CustomFiles}/Patches/fix_aria2_autocreate_path.patch -p1 -d ${WORK}
|
||||
|
||||
patch < ${CustomFiles}/Patches/fix_shadowsocksr_alterId.patch -p1 -d ${WORK}
|
||||
patch < ${CustomFiles}/Patches/fix_ntfs3_conflict_with_antfs.patch -p1 -d ${WORK}
|
||||
patch < ${CustomFiles}/Patches/fix_aria2_auto_create_download_path.patch -p1 -d ${WORK}
|
||||
|
||||
case "${TARGET_PROFILE}" in
|
||||
d-team_newifi-d2)
|
||||
# patch < ${CustomFiles}/${TARGET_PROFILE}_mac80211.patch -p1 -d ${WORK}
|
||||
Copy ${CustomFiles}/${TARGET_PROFILE}_system ${BASE_FILES}/etc/config system
|
||||
sed -i "/DEVICE_COMPAT_VERSION := 1.1/d" target/linux/ramips/image/mt7621.mk
|
||||
Copy ${CustomFiles}/fake-automount $(PKG_Finder d "package" automount)/files 15-automount
|
||||
Copy ${CustomFiles}/Depends/automount $(PKG_Finder d "package" automount)/files 15-automount
|
||||
;;
|
||||
xiaoyu_xy-c5)
|
||||
Copy ${CustomFiles}/fake-automount $(PKG_Finder d "package" automount)/files 15-automount
|
||||
Copy ${CustomFiles}/Depends/automount $(PKG_Finder d "package" automount)/files 15-automount
|
||||
;;
|
||||
x86_64)
|
||||
AddPackage git passwall-depends openwrt-passwall xiaorouji packages
|
||||
AddPackage git passwall-luci openwrt-passwall xiaorouji luci
|
||||
rm -rf packages/lean/autocore
|
||||
AddPackage git lean autocore-modify Hyy2001X master
|
||||
cat ${CustomFiles}/x86_64_kconfig >> ${WORK}/target/linux/x86/config-5.15
|
||||
cat ${CustomFiles}/x86_64_Kconfig >> ${WORK}/target/linux/x86/config-5.15
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
immortalwrt/immortalwrt*)
|
||||
sed -i "s?/bin/login?/usr/libexec/login.sh?g" ${FEEDS_PKG}/ttyd/files/ttyd.config
|
||||
AddPackage git other AutoBuild-Packages Hyy2001X master
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user