Compare commits
16 Commits
v24
...
v23-250404
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
258f71ae2d | ||
|
|
1f00b6e321 | ||
|
|
d1df8c9dfc | ||
|
|
ea57823375 | ||
|
|
425a257322 | ||
|
|
ad481dd293 | ||
|
|
77b8e87dd9 | ||
|
|
883554aa0a | ||
|
|
78d24a571e | ||
|
|
8be5c110ed | ||
|
|
353412f993 | ||
|
|
af85abbb4a | ||
|
|
f80d726319 | ||
|
|
be11da2423 | ||
|
|
1b644b6033 | ||
|
|
f60e00adea |
31
.github/FUNDING.yml
vendored
31
.github/FUNDING.yml
vendored
@@ -1,31 +0,0 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
github:
|
||||
|
||||
# Replace with a single Patreon username
|
||||
patreon:
|
||||
|
||||
# Replace with a single Open Collective username
|
||||
open_collective:
|
||||
|
||||
# Replace with a single Ko-fi username
|
||||
ko_fi:
|
||||
|
||||
# Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
tidelift:
|
||||
|
||||
# Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
community_bridge:
|
||||
|
||||
# Replace with a single Liberapay username
|
||||
liberapay:
|
||||
|
||||
# Replace with a single IssueHunt username
|
||||
issuehunt:
|
||||
|
||||
# Replace with a single Otechie username
|
||||
otechie:
|
||||
|
||||
# Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
custom: ['https://github.com/remittor/donate']
|
||||
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
@@ -21,8 +21,8 @@ env:
|
||||
FAKE_BUILD: ${{ github.event.inputs.fake_build }}
|
||||
REPO_URL: https://github.com/openwrt-xiaomi/openwrt
|
||||
REPO_LNK: openwrt-xiaomi/openwrt
|
||||
REPO_BRANCH: xq-24.10
|
||||
TAG_PREFIX: v24-
|
||||
REPO_BRANCH: xq-23.05.5
|
||||
TAG_PREFIX: v23-
|
||||
BUILD_ROOT: ${{ github.workspace }}/openwrt
|
||||
DEPENDENCIES: ${{ github.workspace }}/dependencies-ubuntu.txt
|
||||
TZ: UTC
|
||||
@@ -113,17 +113,14 @@ jobs:
|
||||
- kng_re
|
||||
- r3d
|
||||
- r3g
|
||||
- r3p
|
||||
- rb03
|
||||
- rb06
|
||||
- rd03
|
||||
- rt-ax52
|
||||
- rt-ax57m
|
||||
- rt-ax59u
|
||||
- rt-ax89x
|
||||
- tuf_ax4200
|
||||
- tuf_ax6000
|
||||
- zen-bt8
|
||||
steps:
|
||||
- name: Initialization environment
|
||||
env:
|
||||
@@ -177,30 +174,17 @@ jobs:
|
||||
cd $BUILD_ROOT
|
||||
MAKE_JOBS=$(($(nproc)+1))
|
||||
echo "$MAKE_JOBS thread compile"
|
||||
# init build config
|
||||
./xmake.sh -I -t $TARGET
|
||||
G_DEVICE_NAME=$( grep -so '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' )
|
||||
[ -z "$G_DEVICE_NAME" ] && exit 31
|
||||
G_BOARD_NAME=$( grep -so '^CONFIG_TARGET_BOARD=.*' .config | cut -d'"' -f2 )
|
||||
[ -z "$G_BOARD_NAME" ] && exit 32
|
||||
G_SUBTARGET_NAME=$( grep -so '^CONFIG_TARGET_SUBTARGET=.*' .config | cut -d'"' -f2 )
|
||||
[ -z "$G_SUBTARGET_NAME" ] && exit 33
|
||||
VERMAGIC_LIST="vermagic-$G_BOARD_NAME-$G_SUBTARGET_NAME-*.list"
|
||||
if [ $(find . -maxdepth 1 -name "$VERMAGIC_LIST" | wc -l) = "0" ]; then
|
||||
./vermagic_update.sh $G_BOARD_NAME $G_SUBTARGET_NAME
|
||||
fi
|
||||
if [ $(find . -maxdepth 1 -name "$VERMAGIC_LIST" | wc -l) = "0" ]; then
|
||||
exit 41
|
||||
fi
|
||||
# run build
|
||||
[ "$FAKE_BUILD" != "true" ] && make -j $MAKE_JOBS download world
|
||||
# process results
|
||||
FILE_DATE=$(date --utc +'%y%m%d')
|
||||
OUT_DIR=$BUILD_ROOT/bin/targets/$G_BOARD_NAME/$G_SUBTARGET_NAME
|
||||
DEVICE_NAME=$( grep -so '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' )
|
||||
BOARD_NAME=$( grep -so '^CONFIG_TARGET_BOARD=.*' .config | cut -d'"' -f2 )
|
||||
SUBTARGET_NAME=$( grep -so '^CONFIG_TARGET_SUBTARGET=.*' .config | cut -d'"' -f2 )
|
||||
OUT_DIR=$BUILD_ROOT/bin/targets/$BOARD_NAME/$SUBTARGET_NAME
|
||||
if [ "$FAKE_BUILD" = "true" ]; then
|
||||
mkdir -p logs
|
||||
mkdir -p $OUT_DIR
|
||||
echo "$G_BOARD_NAME $G_SUBTARGET_NAME $G_DEVICE_NAME" > "$OUT_DIR/$G_DEVICE_NAME.txt"
|
||||
echo "$BOARD_NAME $SUBTARGET_NAME $DEVICE_NAME" > "$OUT_DIR/$DEVICE_NAME.txt"
|
||||
touch "$OUT_DIR/kernel-debug.tar.zst"
|
||||
ls -la
|
||||
BLD_VER=$FW_VER
|
||||
@@ -213,9 +197,9 @@ jobs:
|
||||
exit 100
|
||||
fi
|
||||
echo "status=success" >> $GITHUB_OUTPUT
|
||||
echo "DEVICE_NAME=$G_DEVICE_NAME" >> $GITHUB_ENV
|
||||
echo "BOARD_NAME=$G_BOARD_NAME" >> $GITHUB_ENV
|
||||
echo "SUBTARGET_NAME=$G_SUBTARGET_NAME" >> $GITHUB_ENV
|
||||
echo "DEVICE_NAME=$DEVICE_NAME" >> $GITHUB_ENV
|
||||
echo "BOARD_NAME=$BOARD_NAME" >> $GITHUB_ENV
|
||||
echo "SUBTARGET_NAME=$SUBTARGET_NAME" >> $GITHUB_ENV
|
||||
echo "BLD_VER=$BLD_VER" >> $GITHUB_ENV
|
||||
echo "OUT_DIR=$OUT_DIR" >> $GITHUB_ENV
|
||||
echo "FILE_DATE=$FILE_DATE" >> $GITHUB_ENV
|
||||
@@ -246,10 +230,6 @@ jobs:
|
||||
rm -f *uImage
|
||||
rm -f *ubi-cleaner*
|
||||
rm -f *-ram-*.bin
|
||||
rm -f *-preloader*
|
||||
rm -f *-bl31-uboot*
|
||||
rm -f *-initramfs-recovery*
|
||||
rm -f *-bt8-factory.bin
|
||||
|
||||
- name: Upload OUT directory
|
||||
uses: actions/upload-artifact@main
|
||||
|
||||
11
README.md
11
README.md
@@ -1,7 +1,4 @@
|
||||
[](https://github.com/openwrt-xiaomi/builder/releases)
|
||||
[](https://github.com/openwrt-xiaomi/builder/releases)
|
||||
[](https://github.com/openwrt-xiaomi/builder/releases)
|
||||
[](https://github.com/remittor/donate)
|
||||
|
||||
# OpenWrt builder
|
||||
|
||||
@@ -18,11 +15,11 @@ sudo apt-get install python3-distutils rsync unzip zlib1g-dev
|
||||
## Build firmware
|
||||
|
||||
```
|
||||
git clone https://github.com/openwrt-xiaomi/builder -b v24 openwrt-v24
|
||||
cd openwrt-v24
|
||||
git clone https://github.com/openwrt-xiaomi/builder -b v23 openwrt-v23
|
||||
cd openwrt-v23
|
||||
|
||||
./xcreate.sh -v xq-24.10
|
||||
cd xq-24.10
|
||||
./xcreate.sh -v xq-23.05.0
|
||||
cd xq-23.05.0
|
||||
|
||||
./xupdate.sh -f
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
### alpine-fan-control
|
||||
#GIT_FEED _alpine_fan_control=https://github.com/openwrt-xiaomi/openwrt-alpine-fan-control.git
|
||||
#CONFIG_FEED__alpine_fan_control=m
|
||||
CONFIG_FEED__alpine_fan_control=m
|
||||
|
||||
### luci-app-temp-status
|
||||
#GIT_PACKAGE luci-app-temp-status=https://github.com/openwrt-xiaomi/luci-app-temp-status.git master
|
||||
@@ -36,19 +36,18 @@
|
||||
### luci-app-qbittorrent
|
||||
#GIT_PACKAGE luci-app-qbittorrent=https://github.com/openwrt-xiaomi/luci-app-qbittorrent.git master
|
||||
|
||||
### luci-app-filebrowser
|
||||
#GIT_PACKAGE luci-app-filebrowser=https://github.com/openwrt-xiaomi/luci-app-filebrowser.git master
|
||||
|
||||
### luci-app-netspeedtest
|
||||
#GIT_PACKAGE luci-app-netspeedtest=https://github.com/openwrt-xiaomi/luci-app-netspeedtest.git master
|
||||
|
||||
|
||||
|
||||
### AmneziaWG
|
||||
#GIT_FEED _amneziawg=https://github.com/lolo6oT/awg-openwrt.git dev-24.10
|
||||
#GIT_FEED _amneziawg=https://github.com/lolo6oT/awg-openwrt.git dev-23.05
|
||||
CONFIG_FEED__amneziawg=m
|
||||
|
||||
### Zapret
|
||||
#GIT_FEED _zapret=https://github.com/remittor/zapret-openwrt.git
|
||||
CONFIG_FEED__zapret=m
|
||||
|
||||
### ruantiblock
|
||||
#GIT_FEED _ruantiblock=https://github.com/gSpotx2f/ruantiblock_openwrt.git
|
||||
CONFIG_FEED__ruantiblock=m
|
||||
|
||||
48
_addons_nss.config
Normal file
48
_addons_nss.config
Normal file
@@ -0,0 +1,48 @@
|
||||
|
||||
|
||||
### For NON compatible official firmwares!!!
|
||||
CONFIG_KERNEL_KALLSYMS=y
|
||||
#CONFIG_KERNEL_DEBUG_INFO=y
|
||||
#CONFIG_KERNEL_DEBUG_INFO_REDUCED=y
|
||||
#CONFIG_KERNEL_DEBUG_KERNEL=y
|
||||
|
||||
|
||||
CONFIG_PACKAGE_kmod-bonding=y
|
||||
CONFIG_PACKAGE_proto-bonding=y
|
||||
CONFIG_PACKAGE_luci-proto-bonding=y
|
||||
|
||||
|
||||
### NSS Drivers
|
||||
#GIT_FEED nss=https://github.com/openwrt-xiaomi/nss-packages.git;NSS-11.2-K5.15
|
||||
CONFIG_FEED_nss=m
|
||||
|
||||
CONFIG_PACKAGE_MAC80211_NSS_SUPPORT=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-qca-nss-gmac=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-ecm-standard=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv-pppoe=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv-l2tpv2=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv-tunipip6=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv-igs=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-drv-pptp=y
|
||||
|
||||
#CONFIG_PACKAGE_kmod-qca-mcs=y
|
||||
#CONFIG_PACKAGE_kmod-qca-nat46=y
|
||||
|
||||
##CONFIG_PACKAGE_kmod-qca-nss-ecm=y
|
||||
##CONFIG_PACKAGE_kmod-qca-nss-ecm-noload is not set
|
||||
|
||||
##CONFIG_PACKAGE_kmod-qca-nss-cfi-cryptoapi=y
|
||||
CONFIG_PACKAGE_kmod-qca-nss-crypto=y
|
||||
CONFIG_PACKAGE_kmod-nss-ifb=y
|
||||
|
||||
#CONFIG_PACKAGE_nssinfo=y
|
||||
|
||||
|
||||
### sqm-scripts-nss (by KONG)
|
||||
#GIT_FEED sqm_scripts_nss=https://github.com/openwrt-xiaomi/sqm-scripts-nss.git
|
||||
CONFIG_FEED_sqm_scripts_nss=m
|
||||
CONFIG_PACKAGE_sqm-scripts-nss=y
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
### Argon Theme
|
||||
#CONFIG_PACKAGE_luci-theme-argon=y
|
||||
#CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
|
||||
195
_base.config
195
_base.config
@@ -14,8 +14,8 @@ CONFIG_COLLECT_KERNEL_DEBUG=y
|
||||
CONFIG_BUILD_LOG=y
|
||||
|
||||
### Kernel debug tools
|
||||
#CONFIG_PACKAGE_kmod-pstore=y
|
||||
#CONFIG_PACKAGE_kmod-ramoops=y
|
||||
CONFIG_PACKAGE_kmod-pstore=y
|
||||
CONFIG_PACKAGE_kmod-ramoops=y
|
||||
|
||||
### Include package list in build
|
||||
CONFIG_INCLUDE_CONFIG=y
|
||||
@@ -33,71 +33,69 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_WINCH=y
|
||||
### System utils
|
||||
CONFIG_DROPBEAR_ECC=y
|
||||
CONFIG_PACKAGE_dropbear=y
|
||||
#CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_mtd-utils=y
|
||||
CONFIG_PACKAGE_kmod-mtd-rw=y
|
||||
CONFIG_PACKAGE_iw-full=y
|
||||
#CONFIG_PACKAGE_mc=y
|
||||
#CONFIG_PACKAGE_rsync=y
|
||||
#CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
#CONFIG_PACKAGE_luci-i18n-ttyd-ru=y
|
||||
#CONFIG_PACKAGE_luci-app-filemanager=y
|
||||
#CONFIG_PACKAGE_luci-i18n-filemanager-ru=y
|
||||
CONFIG_PACKAGE_mc=y
|
||||
CONFIG_PACKAGE_rsync=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-i18n-ttyd-ru=y
|
||||
#CONFIG_PACKAGE_atftp=y
|
||||
#CONFIG_PACKAGE_atftpd=y
|
||||
#CONFIG_PACKAGE_facinstall=y
|
||||
CONFIG_PACKAGE_facinstall=y
|
||||
|
||||
### Add-on programs
|
||||
CONFIG_PACKAGE_iperf3=y
|
||||
#CONFIG_PACKAGE_htop=y
|
||||
#CONFIG_PACKAGE_nano=y
|
||||
#CONFIG_PACKAGE_ccrypt=y
|
||||
#CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_ccrypt=y
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
#CONFIG_PACKAGE_patch=y
|
||||
#CONFIG_PACKAGE_diffutils=y
|
||||
#CONFIG_PACKAGE_tree=y
|
||||
#CONFIG_PACKAGE_irqbalance=y
|
||||
#CONFIG_PACKAGE_terminfo=y
|
||||
#CONFIG_PACKAGE_zlib=y
|
||||
#CONFIG_PACKAGE_ethtool=y
|
||||
#CONFIG_PACKAGE_coreutils-cksum=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_patch=y
|
||||
CONFIG_PACKAGE_diffutils=y
|
||||
CONFIG_PACKAGE_tree=y
|
||||
CONFIG_PACKAGE_irqbalance=y
|
||||
CONFIG_PACKAGE_terminfo=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
CONFIG_PACKAGE_coreutils-cksum=y
|
||||
|
||||
### USB device mount & file systems support
|
||||
#CONFIG_PACKAGE_gdisk=y
|
||||
#CONFIG_PACKAGE_parted=y
|
||||
#CONFIG_PACKAGE_e2fsprogs=y
|
||||
#CONFIG_PACKAGE_usbutils=y
|
||||
#CONFIG_PACKAGE_block-mount=y
|
||||
#CONFIG_PACKAGE_libblkid=y
|
||||
#CONFIG_PACKAGE_blkid=y
|
||||
#CONFIG_PACKAGE_lsblk=y
|
||||
#CONFIG_PACKAGE_lsblk=y
|
||||
#CONFIG_PACKAGE_kmod-usb-storage=y
|
||||
#CONFIG_PACKAGE_kmod-fs-cifs=y
|
||||
#CONFIG_PACKAGE_kmod-fs-exfat=y
|
||||
#CONFIG_PACKAGE_kmod-fs-ext4=y
|
||||
#CONFIG_PACKAGE_kmod-fs-hfsplus=y
|
||||
#CONFIG_PACKAGE_kmod-fs-msdos=y
|
||||
#CONFIG_PACKAGE_kmod-fs-vfat=y
|
||||
#CONFIG_PACKAGE_kmod-fs-f2fs=y
|
||||
#CONFIG_PACKAGE_kmod-fs-ntfs=y
|
||||
#CONFIG_PACKAGE_kmod-fs-squashfs=y
|
||||
#CONFIG_PACKAGE_kmod-nls-cp1250=y
|
||||
#CONFIG_PACKAGE_kmod-nls-cp437=y
|
||||
#CONFIG_PACKAGE_kmod-nls-cp850=y
|
||||
#CONFIG_PACKAGE_kmod-nls-iso8859-1=y
|
||||
#CONFIG_PACKAGE_kmod-nls-iso8859-15=y
|
||||
#CONFIG_PACKAGE_kmod-nls-utf8=y
|
||||
CONFIG_PACKAGE_gdisk=y
|
||||
CONFIG_PACKAGE_parted=y
|
||||
CONFIG_PACKAGE_e2fsprogs=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_block-mount=y
|
||||
CONFIG_PACKAGE_libblkid=y
|
||||
CONFIG_PACKAGE_blkid=y
|
||||
CONFIG_PACKAGE_lsblk=y
|
||||
CONFIG_PACKAGE_lsblk=y
|
||||
CONFIG_PACKAGE_kmod-usb-storage=y
|
||||
CONFIG_PACKAGE_kmod-fs-cifs=y
|
||||
CONFIG_PACKAGE_kmod-fs-exfat=y
|
||||
CONFIG_PACKAGE_kmod-fs-ext4=y
|
||||
CONFIG_PACKAGE_kmod-fs-hfsplus=y
|
||||
CONFIG_PACKAGE_kmod-fs-msdos=y
|
||||
CONFIG_PACKAGE_kmod-fs-vfat=y
|
||||
CONFIG_PACKAGE_kmod-fs-f2fs=y
|
||||
CONFIG_PACKAGE_kmod-fs-ntfs=y
|
||||
CONFIG_PACKAGE_kmod-fs-squashfs=y
|
||||
CONFIG_PACKAGE_kmod-nls-cp1250=y
|
||||
CONFIG_PACKAGE_kmod-nls-cp437=y
|
||||
CONFIG_PACKAGE_kmod-nls-cp850=y
|
||||
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
|
||||
CONFIG_PACKAGE_kmod-nls-iso8859-15=y
|
||||
CONFIG_PACKAGE_kmod-nls-utf8=y
|
||||
|
||||
### WAN proto
|
||||
#CONFIG_PACKAGE_kmod-tls=y
|
||||
#CONFIG_PACKAGE_kmod-l2tp=y
|
||||
#CONFIG_PACKAGE_kmod-pppol2tp=y
|
||||
#CONFIG_PACKAGE_kmod-pppoe=y
|
||||
#CONFIG_PACKAGE_kmod-pptp=y
|
||||
#CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
|
||||
CONFIG_PACKAGE_kmod-tls=y
|
||||
CONFIG_PACKAGE_kmod-l2tp=y
|
||||
CONFIG_PACKAGE_kmod-pppol2tp=y
|
||||
CONFIG_PACKAGE_kmod-pppoe=y
|
||||
CONFIG_PACKAGE_kmod-pptp=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
|
||||
|
||||
### IPsec
|
||||
#CONFIG_PACKAGE_kmod-ipsec=y
|
||||
@@ -106,23 +104,21 @@ CONFIG_PACKAGE_wget-ssl=y
|
||||
#CONFIG_PACKAGE_kmod-crypto-authenc=y
|
||||
|
||||
### PPTP support
|
||||
#CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
#CONFIG_PACKAGE_ppp-mod-pptp=y
|
||||
CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
CONFIG_PACKAGE_ppp-mod-pptp=y
|
||||
|
||||
### kernel support for tunnels, VPNs
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-br-netfilter=y
|
||||
CONFIG_PACKAGE_gre=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
|
||||
### Relay
|
||||
#CONFIG_PACKAGE_relayd=y
|
||||
#CONFIG_PACKAGE_luci-proto-relay=y
|
||||
CONFIG_PACKAGE_relayd=y
|
||||
CONFIG_PACKAGE_luci-proto-relay=y
|
||||
|
||||
### Luci proto
|
||||
#CONFIG_PACKAGE_luci-proto-3g=y
|
||||
#CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-proto-3g=y
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
|
||||
### IPv6 support
|
||||
CONFIG_PACKAGE_6in4=y
|
||||
@@ -132,58 +128,17 @@ CONFIG_PACKAGE_6rd=y
|
||||
### IPv6 NAT support (ip6tables NAT extensions, ipt-nat6 and nf-nat6 kmods)
|
||||
##CONFIG_PACKAGE_ip6tables-mod-nat=y
|
||||
|
||||
### Kernel crypt mods
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
|
||||
CONFIG_PACKAGE_kmod-crypto-kpp=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md4=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ecb=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-asn1-decoder=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc16=y
|
||||
|
||||
### mbedTLS lib
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_MBEDTLS_AES_C=y
|
||||
CONFIG_MBEDTLS_CMAC_C=y
|
||||
CONFIG_MBEDTLS_DES_C=y
|
||||
CONFIG_MBEDTLS_GCM_C=y
|
||||
CONFIG_MBEDTLS_NIST_KW_C=y
|
||||
CONFIG_MBEDTLS_RSA_NO_CRT=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_ENABLED=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED=y
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED=y
|
||||
#CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED=y
|
||||
#CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED=y
|
||||
|
||||
### OpenSSL lib
|
||||
### OpenSSL
|
||||
CONFIG_LIBCURL_OPENSSL=y
|
||||
CONFIG_PACKAGE_libopenssl=y
|
||||
CONFIG_PACKAGE_libopenssl-legacy=y
|
||||
#CONFIG_PACKAGE_libopenssl-devcrypto=y
|
||||
CONFIG_PACKAGE_openssl-util=y
|
||||
CONFIG_PACKAGE_libopenssl-conf=y
|
||||
CONFIG_PACKAGE_libwebsockets-full=y
|
||||
CONFIG_OPENSSL_WITH_ASM=y
|
||||
CONFIG_OPENSSL_WITH_DEPRECATED=y
|
||||
CONFIG_OPENSSL_WITH_TLS13=y
|
||||
#CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_SRP=y
|
||||
CONFIG_OPENSSL_WITH_CMS=y
|
||||
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
|
||||
#CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
|
||||
CONFIG_OPENSSL_WITH_PSK=y
|
||||
CONFIG_OPENSSL_WITH_IDEA=y
|
||||
CONFIG_OPENSSL_WITH_SEED=y
|
||||
CONFIG_OPENSSL_WITH_MDC2=y
|
||||
CONFIG_OPENSSL_WITH_WHIRLPOOL=y
|
||||
CONFIG_PACKAGE_libuhttpd-openssl=y
|
||||
|
||||
### LuCI with HTTPS support (OpenSSL as SSL backend)
|
||||
CONFIG_PACKAGE_luci-ssl-openssl=y
|
||||
|
||||
### SSL certificates
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
@@ -233,7 +188,15 @@ CONFIG_PACKAGE_collectd-mod-sensors=y
|
||||
CONFIG_PACKAGE_collectd-mod-uptime=y
|
||||
|
||||
### hostap
|
||||
#CONFIG_PACKAGE_hostapd-openssl=y
|
||||
#CONFIG_PACKAGE_hostapd-utils=y
|
||||
## https://forum.openwrt.org/t/wpad-vs-hostapd-wpa-supplicant/30844
|
||||
## WPAD included wpa-supplicant + hostapd
|
||||
CONFIG_PACKAGE_wpad-openssl=y
|
||||
CONFIG_WPA_RFKILL_SUPPORT=y
|
||||
#CONFIG_PACKAGE_wpa-supplicant-openssl=y
|
||||
## CONFIG_WPA_MSG_MIN_PRIORITY=2
|
||||
## CONFIG_WPA_MSG_MIN_PRIORITY=4
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
@@ -242,14 +205,7 @@ CONFIG_PACKAGE_dnsmasq-full=y
|
||||
CONFIG_PACKAGE_kmod-batman-adv=y
|
||||
CONFIG_PACKAGE_batctl-full=y
|
||||
CONFIG_PACKAGE_luci-proto-batman-adv=y
|
||||
#CONFIG_PACKAGE_batmand=y
|
||||
CONFIG_PACKAGE_libwolfssl=y
|
||||
CONFIG_PACKAGE_librt=y
|
||||
CONFIG_PACKAGE_wpad-basic-mbedtls=n
|
||||
CONFIG_PACKAGE_wpad-mesh-wolfssl=y
|
||||
CONFIG_WOLFSSL_HAS_NO_HW=y
|
||||
CONFIG_WPA_WOLFSSL=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc-ccitt=y
|
||||
CONFIG_PACKAGE_batmand=y
|
||||
|
||||
### Wake On Lan
|
||||
##CONFIG_PACKAGE_luci-app-wol=y
|
||||
@@ -260,8 +216,8 @@ CONFIG_PACKAGE_luci-app-watchcat=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-ru=y
|
||||
|
||||
### IP Tables tool
|
||||
#CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
#CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
|
||||
### Adblock package with Luci support
|
||||
CONFIG_PACKAGE_adblock=y
|
||||
@@ -284,6 +240,7 @@ CONFIG_PACKAGE_natflow-hostacl=y
|
||||
CONFIG_PACKAGE_urllogger=y
|
||||
CONFIG_PACKAGE_luci-app-natflow-users=y
|
||||
|
||||
|
||||
### Disabled services
|
||||
#DISABLED_SVC=ksmbd
|
||||
#DISABLED_SVC=adblock
|
||||
|
||||
83
_base_initrd.config
Normal file
83
_base_initrd.config
Normal file
@@ -0,0 +1,83 @@
|
||||
CONFIG_FEED_luci=y
|
||||
CONFIG_FEED_packages=y
|
||||
CONFIG_FEED_routing=y
|
||||
CONFIG_FEED_telephony=y
|
||||
|
||||
### For compatible official firmwares
|
||||
CONFIG_ALL_KMODS=y
|
||||
CONFIG_ALL_NONSHARED=y
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_KERNEL_KALLSYMS=n
|
||||
CONFIG_COLLECT_KERNEL_DEBUG=y
|
||||
|
||||
### Per-package build logs in <buildroot>/logs
|
||||
CONFIG_BUILD_LOG=y
|
||||
|
||||
### Kernel debug tools
|
||||
CONFIG_PACKAGE_kmod-pstore=y
|
||||
CONFIG_PACKAGE_kmod-ramoops=y
|
||||
|
||||
### Include package list in build
|
||||
CONFIG_INCLUDE_CONFIG=y
|
||||
|
||||
### Busybox
|
||||
CONFIG_PACKAGE_busybox=y
|
||||
CONFIG_BUSYBOX_CUSTOM=y
|
||||
##CONFIG_BUSYBOX_CONFIG_DIFF=y
|
||||
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY=y
|
||||
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
|
||||
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS=y
|
||||
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP=y
|
||||
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_WINCH=y
|
||||
|
||||
### System utils
|
||||
CONFIG_DROPBEAR_ECC=y
|
||||
CONFIG_PACKAGE_dropbear=y
|
||||
CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_mtd-utils=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_mc=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-i18n-ttyd-ru=y
|
||||
CONFIG_PACKAGE_atftp=y
|
||||
#CONFIG_PACKAGE_atftpd=y
|
||||
CONFIG_PACKAGE_facinstall=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-mtd-rw=y
|
||||
#CONFIG_PACKAGE_kmod-mtdoops=y
|
||||
#CONFIG_PACKAGE_kmod-mtdram=y
|
||||
#CONFIG_PACKAGE_kmod-mtdtests=y
|
||||
|
||||
### Add-on programs
|
||||
CONFIG_PACKAGE_iperf3=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_ccrypt=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_patch=y
|
||||
CONFIG_PACKAGE_diffutils=y
|
||||
CONFIG_PACKAGE_tree=y
|
||||
CONFIG_PACKAGE_irqbalance=y
|
||||
CONFIG_PACKAGE_terminfo=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
|
||||
### Luci
|
||||
CONFIG_LUCI_LANG_en=y
|
||||
CONFIG_LUCI_LANG_ru=y
|
||||
CONFIG_PACKAGE_luci=y
|
||||
CONFIG_PACKAGE_luci-compat=y
|
||||
CONFIG_PACKAGE_luci-base=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-ru=y
|
||||
CONFIG_PACKAGE_luci-mod-admin-full=y
|
||||
CONFIG_PACKAGE_luci-mod-network=y
|
||||
CONFIG_PACKAGE_luci-mod-status=y
|
||||
CONFIG_PACKAGE_luci-mod-system=y
|
||||
CONFIG_PACKAGE_luci-app-commands=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-ru=y
|
||||
CONFIG_PACKAGE_luci-app-opkg=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-ru=y
|
||||
|
||||
### Luci themes
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_luci-theme-openwrt-2020=y
|
||||
5
_printer.config
Normal file
5
_printer.config
Normal file
@@ -0,0 +1,5 @@
|
||||
### USB Printer support
|
||||
CONFIG_PACKAGE_kmod-usb-printer=y
|
||||
CONFIG_PACKAGE_p910nd=y
|
||||
CONFIG_PACKAGE_luci-app-p910nd=y
|
||||
CONFIG_PACKAGE_luci-i18n-app-p910nd-ru=y
|
||||
@@ -1,15 +1,9 @@
|
||||
### DNS and Proxy
|
||||
#CONFIG_PACKAGE_luci-app-nextdns=y
|
||||
#CONFIG_PACKAGE_luci-i18n-nextdns-ru=y
|
||||
CONFIG_PACKAGE_luci-app-nextdns=y
|
||||
CONFIG_PACKAGE_luci-i18n-nextdns-ru=y
|
||||
|
||||
CONFIG_PACKAGE_https-dns-proxy=y
|
||||
CONFIG_PACKAGE_luci-app-https-dns-proxy=y
|
||||
CONFIG_PACKAGE_luci-i18n-https-dns-proxy-ru=y
|
||||
|
||||
CONFIG_PACKAGE_igmpproxy=y
|
||||
|
||||
CONFIG_PACKAGE_zapret=y
|
||||
CONFIG_PACKAGE_zapret-tpws=y
|
||||
CONFIG_PACKAGE_zapret-mdig=y
|
||||
CONFIG_PACKAGE_zapret-ip2net=y
|
||||
CONFIG_PACKAGE_luci-app-zapret=y
|
||||
|
||||
7
_samba.config
Normal file
7
_samba.config
Normal file
@@ -0,0 +1,7 @@
|
||||
### Samba
|
||||
CONFIG_PACKAGE_kmod-fs-smbfs-common=y
|
||||
CONFIG_PACKAGE_kmod-fs-ksmbd=y
|
||||
CONFIG_PACKAGE_ksmbd-server=y
|
||||
CONFIG_PACKAGE_ksmbd-hotplug=y
|
||||
CONFIG_PACKAGE_luci-app-ksmbd=y
|
||||
CONFIG_PACKAGE_luci-i18n-ksmbd-ru=y
|
||||
11
_torrents.config
Normal file
11
_torrents.config
Normal file
@@ -0,0 +1,11 @@
|
||||
### Torrent clients
|
||||
CONFIG_PACKAGE_transmission-daemon=y
|
||||
CONFIG_PACKAGE_transmission-web=y
|
||||
CONFIG_PACKAGE_transmission-remote=y
|
||||
CONFIG_PACKAGE_luci-app-transmission=y
|
||||
CONFIG_PACKAGE_luci-i18n-transmission-ru=y
|
||||
|
||||
CONFIG_PACKAGE_luci-app-minidlna=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-ru=y
|
||||
|
||||
|
||||
28
_vpn.config
28
_vpn.config
@@ -1,15 +1,16 @@
|
||||
|
||||
#CONFIG_OPENVPN_mbedtls_ENABLE_DEF_AUTH=y
|
||||
#CONFIG_OPENVPN_mbedtls_ENABLE_FRAGMENT=y
|
||||
#CONFIG_OPENVPN_mbedtls_ENABLE_LZO=y
|
||||
#CONFIG_OPENVPN_mbedtls_ENABLE_LZ4=y
|
||||
#CONFIG_OPENVPN_mbedtls_ENABLE_PORT_SHARE=y
|
||||
#CONFIG_OPENVPN_mbedtls_ENABLE_SMALL=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_DEF_AUTH=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_FRAGMENT=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_LZ4=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_LZO=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_MULTIHOME=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_PF=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_PORT_SHARE=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
|
||||
#CONFIG_PACKAGE_openvpn-mbedtls=y
|
||||
#CONFIG_PACKAGE_luci-app-openvpn=y
|
||||
#CONFIG_PACKAGE_luci-i18n-openvpn-ru=y
|
||||
#CONFIG_PACKAGE_openvpn-easy-rsa=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-ru=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-veth=y
|
||||
CONFIG_PACKAGE_kmod-nft-tproxy=y
|
||||
@@ -23,6 +24,7 @@ CONFIG_PACKAGE_luci-proto-wireguard=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-amneziawg=y
|
||||
CONFIG_PACKAGE_amneziawg-tools=y
|
||||
#CONFIG_PACKAGE_amneziawg-go=y
|
||||
CONFIG_PACKAGE_luci-proto-amneziawg=y
|
||||
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
@@ -32,6 +34,11 @@ CONFIG_PACKAGE_shadowsocks-libev-ss-tunnel=y
|
||||
CONFIG_PACKAGE_luci-app-shadowsocks-libev=y
|
||||
CONFIG_PACKAGE_luci-i18n-shadowsocks-libev-ru=y
|
||||
|
||||
#CONFIG_PACKAGE_xray-core=y
|
||||
#CONFIG_PACKAGE_luci-app-xray=y
|
||||
#CONFIG_PACKAGE_v2ray-geoip=y
|
||||
#CONFIG_PACKAGE_v2ray-geosite=y
|
||||
|
||||
CONFIG_PACKAGE_ruantiblock=y
|
||||
CONFIG_PACKAGE_ruantiblock-mod-lua=y
|
||||
#CONFIG_PACKAGE_ruantiblock-mod-py=y
|
||||
@@ -40,4 +47,3 @@ CONFIG_PACKAGE_luci-i18n-ruantiblock-ru=y
|
||||
|
||||
CONFIG_PACKAGE_podkop=y
|
||||
CONFIG_PACKAGE_luci-app-podkop=y
|
||||
CONFIG_PACKAGE_luci-i18n-podkop-ru=y
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
### WiFi default config
|
||||
CONFIG_PACKAGE_MAC80211_ENABLE=y
|
||||
CONFIG_PACKAGE_MAC80211_COUNTRY="US"
|
||||
CONFIG_PACKAGE_MAC80211_SSID="lev"
|
||||
#CONFIG_PACKAGE_MAC80211_SSID=""
|
||||
CONFIG_PACKAGE_MAC80211_ENCRYPTION="psk2"
|
||||
CONFIG_PACKAGE_MAC80211_PASSWORD="fuckingwep"
|
||||
CONFIG_PACKAGE_MAC80211_PASSWORD="12345678"
|
||||
|
||||
150
hook_prepare_rootfs.sh
Executable file
150
hook_prepare_rootfs.sh
Executable file
@@ -0,0 +1,150 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
ROOTFSDIR="$1"
|
||||
TOPDIR="$2"
|
||||
OUTDIR=
|
||||
|
||||
[ -z "$OUTDIR" ] && OUTDIR=$TOPDIR
|
||||
|
||||
if [ -t 8 ]; then
|
||||
BUILD_STATE=true
|
||||
OUTPUT_PIPE=8
|
||||
else
|
||||
BUILD_STATE=false
|
||||
OUTPUT_PIPE=2
|
||||
fi
|
||||
|
||||
log_msg() {
|
||||
printf "%s\n" "$1" >&$OUTPUT_PIPE
|
||||
}
|
||||
|
||||
log_err() {
|
||||
local msg="$1"
|
||||
local _Y _R _N
|
||||
if [ "$IS_TTY" == "1" -a "$NO_COLOR" != "1" ]; then
|
||||
_Y=\\033[33m
|
||||
_R=\\033[31m
|
||||
_N=\\033[m
|
||||
fi
|
||||
printf "$_R%s$_N\n" "ERROR: $msg" >&$OUTPUT_PIPE
|
||||
}
|
||||
|
||||
die() {
|
||||
log_err "$1"
|
||||
exit 1
|
||||
}
|
||||
|
||||
get_param_q() {
|
||||
local param=$1
|
||||
local filename="$2"
|
||||
echo $( grep -o -P "^$param='\K[^']+" "$filename" 2>/dev/null | tr -d '\n' )
|
||||
#echo $( grep -o -P "(?<=^$param=').*(')" "$filename" 2>/dev/null )
|
||||
}
|
||||
|
||||
get_param_qq() {
|
||||
local param=$1
|
||||
local filename="$2"
|
||||
echo $( grep -o -P "^$param=\"\K[^\"]+" "$filename" 2>/dev/null | tr -d '\n' )
|
||||
}
|
||||
|
||||
del_last_word() {
|
||||
echo -n "${@:1:$#-1}"
|
||||
}
|
||||
|
||||
|
||||
log_msg "hook_prepare_rootfs.sh"
|
||||
#log_msg "TOPDIR: '$TOPDIR'"
|
||||
#log_msg "ROOTFSDIR: '$ROOTFSDIR'"
|
||||
|
||||
if [ ! -d "$ROOTFSDIR" ]; then
|
||||
die "RootFS dir not found!"
|
||||
fi
|
||||
|
||||
FW_VER_FN="$ROOTFSDIR/etc/openwrt_release"
|
||||
if [ ! -f "$FW_VER_FN" ]; then
|
||||
die "File '/etc/openwrt_release' not found!"
|
||||
fi
|
||||
|
||||
FULL_VERSION=$( get_param_q DISTRIB_RELEASE "$FW_VER_FN" )
|
||||
#log_msg "FULL_VERSION: '$FULL_VERSION'"
|
||||
if [ -z "$FULL_VERSION" ]; then
|
||||
die "Firmware version not found!"
|
||||
fi
|
||||
|
||||
CURDATE=$( date --utc +%y%m%d | tr -d '\n' )
|
||||
|
||||
DISTR_REV=$( get_param_q DISTRIB_REVISION "$FW_VER_FN" )
|
||||
DISTR_DESC=$( get_param_q DISTRIB_RELEASE "$FW_VER_FN" )
|
||||
DISTR_DATE_LEN=$( echo -n "$DISTR_DESC" | awk '{print $NF}' | tr -d '\n' | wc -c )
|
||||
if [ "$DISTR_DATE_LEN" = 6 ]; then
|
||||
DISTR_DESC=$( del_last_word $DISTR_DESC )
|
||||
fi
|
||||
sed -i "/DISTRIB_DESCRIPTION=/d" "$FW_VER_FN"
|
||||
echo "DISTRIB_DESCRIPTION='$DISTR_DESC $CURDATE'" >> "$FW_VER_FN"
|
||||
log_msg "Option DISTRIB_DESCRIPTION patched (DATE = $CURDATE)"
|
||||
|
||||
FW_OSVER_FN="$ROOTFSDIR/etc/os-release"
|
||||
[ ! -f "$FW_OSVER_FN" ] && die "File '/etc/os-release' not found!"
|
||||
FW_OSVER2_FN="$ROOTFSDIR/usr/lib/os-release"
|
||||
[ ! -f "$FW_OSVER2_FN" ] && die "File '/usr/lib/os-release' not found!"
|
||||
BUILD_ID=$( get_param_qq BUILD_ID "$FW_OSVER_FN" )
|
||||
PRETTY_NAME=$( get_param_qq PRETTY_NAME "$FW_OSVER_FN" )
|
||||
REL_NAME=$( get_param_qq OPENWRT_RELEASE "$FW_OSVER_FN" )
|
||||
|
||||
sed -i "s/^BUILD_ID=.*/BUILD_ID=\"[$CURDATE] $BUILD_ID\"/g" "$FW_OSVER_FN"
|
||||
sed -i "s/^BUILD_ID=.*/BUILD_ID=\"[$CURDATE] $BUILD_ID\"/g" "$FW_OSVER2_FN"
|
||||
log_msg "Option BUILD_ID patched! BUILD_ID = '[$CURDATE] $BUILD_ID'"
|
||||
|
||||
sed -i "s/^OPENWRT_RELEASE=.*/OPENWRT_RELEASE=\"$PRETTY_NAME [$CURDATE] $BUILD_ID\"/g" "$FW_OSVER_FN"
|
||||
sed -i "s/^OPENWRT_RELEASE=.*/OPENWRT_RELEASE=\"$PRETTY_NAME [$CURDATE] $BUILD_ID\"/g" "$FW_OSVER2_FN"
|
||||
log_msg "Option OPENWRT_RELEASE patched! OPENWRT_RELEASE = '$PRETTY_NAME [$CURDATE] $BUILD_ID'"
|
||||
|
||||
BANNER_FN="$ROOTFSDIR/etc/banner"
|
||||
BANNER_VER=$( grep -F "$DISTR_REV" "$BANNER_FN" 2>/dev/null )
|
||||
if [ -n "$BANNER_VER" ]; then
|
||||
BANNER_SUFFIX=$( echo -n "$BANNER_VER" | awk '{print $NF}' | tr -d '\n' )
|
||||
if [ $( echo -n "$BANNER_SUFFIX" | wc -c ) = 6 ]; then
|
||||
sed -i "s/, $BANNER_SUFFIX/, $CURDATE/g" "$BANNER_FN"
|
||||
else
|
||||
sed -i "s/$DISTR_REV/&, $CURDATE/" "$BANNER_FN"
|
||||
fi
|
||||
fi
|
||||
log_msg "Banner patched (DATE = $CURDATE)"
|
||||
|
||||
FW_ARCH=$( get_param_q DISTRIB_ARCH "$FW_VER_FN" )
|
||||
#log_msg "FW_ARCH: '$FW_ARCH'"
|
||||
if [ -z "$FW_ARCH" ]; then
|
||||
die "Firmware arch not found!"
|
||||
fi
|
||||
|
||||
DIS_SVC_FN="$TOPDIR/disabled_services.lst"
|
||||
if [ -f "$DIS_SVC_FN" ]; then
|
||||
DIS_SVC_LST="$( cat ""$DIS_SVC_FN"" )"
|
||||
for svc in $DIS_SVC_LST; do
|
||||
[ -z "$svc" ] && continue
|
||||
svc_xx=$(find "$ROOTFSDIR/etc/rc.d" -maxdepth 1 -name ???$svc -printf 1 -quit)
|
||||
if [ -n "$svc_xx" ]; then
|
||||
log_msg "Service '$svc' disabled."
|
||||
fi
|
||||
rm -f "$ROOTFSDIR"/etc/rc.d/S??$svc
|
||||
rm -f "$ROOTFSDIR"/etc/rc.d/K??$svc
|
||||
if [ "$svc" = "nextdns" ]; then
|
||||
sed -i 's/nextdns enable/nextdns disable/g' "$ROOTFSDIR/etc/uci-defaults/nextdns"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
NEXTDNSCFG="$ROOTFSDIR/etc/config/nextdns"
|
||||
if [ -f "$NEXTDNSCFG" ]; then
|
||||
sed -i "s/option enabled '1'/option enabled '0'/g" "$NEXTDNSCFG"
|
||||
log_msg "Service 'nextdns' disabled."
|
||||
fi
|
||||
|
||||
IS_SNAPSHOT=false
|
||||
if echo "$FULL_VERSION" | grep snapshot >/dev/null ; then
|
||||
IS_SNAPSHOT=true
|
||||
log_msg "Snapshot detected."
|
||||
fi
|
||||
|
||||
40
kng_re.config
Normal file
40
kng_re.config
Normal file
@@ -0,0 +1,40 @@
|
||||
CONFIG_TARGET_ramips=y
|
||||
CONFIG_TARGET_ramips_mt7621=y
|
||||
CONFIG_TARGET_ramips_mt7621_DEVICE_zyxel_keenetic-giga-iii=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Luci dashboard
|
||||
CONFIG_PACKAGE_luci-mod-dashboard=y
|
||||
CONFIG_PACKAGE_luci-i18n-dashboard-ru=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
55
r3d.config
Normal file
55
r3d.config
Normal file
@@ -0,0 +1,55 @@
|
||||
CONFIG_TARGET_ipq806x=y
|
||||
CONFIG_TARGET_ipq806x_generic=y
|
||||
CONFIG_TARGET_ipq806x_generic_DEVICE_xiaomi_r3d=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
CONFIG_KERNEL_KALLSYMS=y
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_alpine-fan-control=y
|
||||
CONFIG_PACKAGE_luci-app-alpine-fan-control=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
CONFIG_PACKAGE_collectd-mod-sensors=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
#CONFIG_PACKAGE_luci-i18n-hd-idle-ru=y
|
||||
CONFIG_PACKAGE_luci-app-disks-info=y
|
||||
#CONFIG_PACKAGE_luci-i18n-disks-info-ru=y
|
||||
CONFIG_PACKAGE_luci-app-diskman=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
### CPU Freq
|
||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||
|
||||
|
||||
|
||||
|
||||
40
r3g.config
Normal file
40
r3g.config
Normal file
@@ -0,0 +1,40 @@
|
||||
CONFIG_TARGET_ramips=y
|
||||
CONFIG_TARGET_ramips_mt7621=y
|
||||
CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mi-router-3g=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Luci dashboard
|
||||
CONFIG_PACKAGE_luci-mod-dashboard=y
|
||||
CONFIG_PACKAGE_luci-i18n-dashboard-ru=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
27
rb03.config
Normal file
27
rb03.config
Normal file
@@ -0,0 +1,27 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_mt7622=y
|
||||
CONFIG_TARGET_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Luci dashboard
|
||||
CONFIG_PACKAGE_luci-mod-dashboard=y
|
||||
CONFIG_PACKAGE_luci-i18n-dashboard-ru=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
#CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
27
rb06.config
Normal file
27
rb06.config
Normal file
@@ -0,0 +1,27 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_xiaomi_redmi-router-ax6000-stock=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Luci dashboard
|
||||
CONFIG_PACKAGE_luci-mod-dashboard=y
|
||||
CONFIG_PACKAGE_luci-i18n-dashboard-ru=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
#CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
@@ -18,8 +18,10 @@ CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
#CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
|
||||
47
routerich-ax3000.config
Normal file
47
routerich-ax3000.config
Normal file
@@ -0,0 +1,47 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_routerich_ax3000=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
#CONFIG_PACKAGE_luci-i18n-hd-idle-ru=y
|
||||
CONFIG_PACKAGE_luci-app-disks-info=y
|
||||
#CONFIG_PACKAGE_luci-i18n-disks-info-ru=y
|
||||
CONFIG_PACKAGE_luci-app-diskman=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
|
||||
33
rt-ax52.config
Normal file
33
rt-ax52.config
Normal file
@@ -0,0 +1,33 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_rt-ax52=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
17
rt-ax52_initramfs.config
Normal file
17
rt-ax52_initramfs.config
Normal file
@@ -0,0 +1,17 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_rt-ax52=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base_initrd.config
|
||||
|
||||
|
||||
CONFIG_TARGET_INITRAMFS_FORCE=y
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
CONFIG_USES_SEPARATE_INITRAMFS=n
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=n
|
||||
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
33
rt-ax57m.config
Normal file
33
rt-ax57m.config
Normal file
@@ -0,0 +1,33 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_rt-ax57m=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
|
||||
|
||||
17
rt-ax57m_initramfs.config
Normal file
17
rt-ax57m_initramfs.config
Normal file
@@ -0,0 +1,17 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_rt-ax57m=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base_initrd.config
|
||||
|
||||
|
||||
CONFIG_TARGET_INITRAMFS_FORCE=y
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
CONFIG_USES_SEPARATE_INITRAMFS=n
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=n
|
||||
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
51
rt-ax59u.config
Normal file
51
rt-ax59u.config
Normal file
@@ -0,0 +1,51 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_rt-ax59u=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
CONFIG_PACKAGE_collectd-mod-sensors=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
#CONFIG_PACKAGE_luci-i18n-hd-idle-ru=y
|
||||
CONFIG_PACKAGE_luci-app-disks-info=y
|
||||
#CONFIG_PACKAGE_luci-i18n-disks-info-ru=y
|
||||
CONFIG_PACKAGE_luci-app-diskman=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
### CPU Freq
|
||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||
|
||||
|
||||
|
||||
|
||||
17
rt-ax59u_initramfs.config
Normal file
17
rt-ax59u_initramfs.config
Normal file
@@ -0,0 +1,17 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_rt-ax59u=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base_initrd.config
|
||||
|
||||
|
||||
CONFIG_TARGET_INITRAMFS_FORCE=y
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
CONFIG_USES_SEPARATE_INITRAMFS=n
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=n
|
||||
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
51
tuf_ax4200.config
Normal file
51
tuf_ax4200.config
Normal file
@@ -0,0 +1,51 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_tuf-ax4200=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
CONFIG_PACKAGE_collectd-mod-sensors=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
#CONFIG_PACKAGE_luci-i18n-hd-idle-ru=y
|
||||
CONFIG_PACKAGE_luci-app-disks-info=y
|
||||
#CONFIG_PACKAGE_luci-i18n-disks-info-ru=y
|
||||
CONFIG_PACKAGE_luci-app-diskman=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
### CPU Freq
|
||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||
|
||||
|
||||
|
||||
|
||||
17
tuf_ax4200_initramfs.config
Normal file
17
tuf_ax4200_initramfs.config
Normal file
@@ -0,0 +1,17 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_tuf-ax4200=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base_initrd.config
|
||||
|
||||
|
||||
CONFIG_TARGET_INITRAMFS_FORCE=y
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
CONFIG_USES_SEPARATE_INITRAMFS=n
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=n
|
||||
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
51
tuf_ax6000.config
Normal file
51
tuf_ax6000.config
Normal file
@@ -0,0 +1,51 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_tuf-ax6000=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base.config
|
||||
#include _wifi_en.config
|
||||
#include _printer.config
|
||||
#include _samba.config
|
||||
#include _torrents.config
|
||||
#include _proxy.config
|
||||
#include _argon.config
|
||||
#include _vpn.config
|
||||
|
||||
### Temp and sensors
|
||||
CONFIG_PACKAGE_lm-sensors=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_luci-app-temp-status=y
|
||||
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
|
||||
CONFIG_PACKAGE_collectd-mod-sensors=y
|
||||
|
||||
### HDD tools
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_hdparm=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
#CONFIG_PACKAGE_luci-i18n-hd-idle-ru=y
|
||||
CONFIG_PACKAGE_luci-app-disks-info=y
|
||||
#CONFIG_PACKAGE_luci-i18n-disks-info-ru=y
|
||||
CONFIG_PACKAGE_luci-app-diskman=y
|
||||
|
||||
### Network Ports viewer
|
||||
CONFIG_PACKAGE_luci-app-tn-netports=y
|
||||
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
|
||||
|
||||
### TimeControl
|
||||
CONFIG_PACKAGE_luci-app-timecontrol=m
|
||||
|
||||
### FileBrowser
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
### CPU Freq
|
||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||
|
||||
|
||||
|
||||
|
||||
17
tuf_ax6000_initramfs.config
Normal file
17
tuf_ax6000_initramfs.config
Normal file
@@ -0,0 +1,17 @@
|
||||
CONFIG_TARGET_mediatek=y
|
||||
CONFIG_TARGET_mediatek_filogic=y
|
||||
CONFIG_TARGET_mediatek_filogic_DEVICE_asus_tuf-ax6000=y
|
||||
|
||||
#include _addons.config
|
||||
#include _base_initrd.config
|
||||
|
||||
|
||||
CONFIG_TARGET_INITRAMFS_FORCE=y
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
CONFIG_USES_SEPARATE_INITRAMFS=n
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=n
|
||||
|
||||
|
||||
### DNSMasq
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
XSUPPORTEDVER=24
|
||||
XSUPPORTEDVER=23
|
||||
XREPOADDR=https://github.com/openwrt-xiaomi
|
||||
XDEFBRANCH=xq-24.10.0
|
||||
XDEFBRANCH=xq-23.05.0
|
||||
|
||||
logmsg() {
|
||||
echo "$@"
|
||||
|
||||
39
xmake.sh
39
xmake.sh
@@ -127,26 +127,6 @@ function build_target {
|
||||
fi
|
||||
fi
|
||||
|
||||
PODKOP_MK=$XDIR/package/feeds/_podkop/podkop/Makefile
|
||||
if [ -f $PODKOP_MK ]; then
|
||||
sed -i 's/+sing-box / /g' $PODKOP_MK
|
||||
sed -i 's/CONFLICTS:=.*/CONFLICTS:=/g' $PODKOP_MK
|
||||
fi
|
||||
PODKOP_SH=$XDIR/package/feeds/_podkop/podkop/files/usr/bin/podkop
|
||||
if [ -f $PODKOP_SH ] && ! grep -q '(which sing-box)' $PODKOP_SH ; then
|
||||
sed -i '/,\\"dns_configured\\":/i [ -z "$(which sing-box)" ] && status="not installed"' $PODKOP_SH
|
||||
fi
|
||||
|
||||
DROPBEAR_MK=$XDIR/package/network/services/dropbear/Makefile
|
||||
if [ -f $DROPBEAR_MK ]; then
|
||||
sed -i 's/^PKG_RELEASE:=.*/PKG_RELEASE:=0/g' $DROPBEAR_MK
|
||||
sed -i '/,CONFIG_DROPBEAR_MODERN_ONLY,/d' $DROPBEAR_MK
|
||||
sed -i 's/\tCONFIG_DROPBEAR_MODERN_ONLY/ /g' $DROPBEAR_MK
|
||||
sed -i 's/ CONFIG_DROPBEAR_MODERN_ONLY/ /g' $DROPBEAR_MK
|
||||
sed -i 's/DROPBEAR_DH_GROUP14_SHA1,0/ /g' $DROPBEAR_MK
|
||||
sed -i 's/DROPBEAR_SHA1_HMAC,0/ /g' $DROPBEAR_MK
|
||||
fi
|
||||
|
||||
make defconfig
|
||||
|
||||
NSS_DRV_PPPOE_ENABLE=$( get_cfg_opt_flag $CFG NSS_DRV_PPPOE_ENABLE )
|
||||
@@ -240,20 +220,7 @@ function build_target {
|
||||
sed -i 's/\$(INSTALL_DIR) \$(1)\/usr\/{bin,sbin}/#\$(INSTALL_DIR) \$(1)\/usr\/__bin_sbin__/g' $NTFS3G
|
||||
fi
|
||||
fi
|
||||
|
||||
XPATCHES=$XDIR/patches
|
||||
for incfn in $XPATCHES/*.patch; do
|
||||
[ ! -f "$incfn" ] && continue
|
||||
inc=`patch -p1 -N -r - < "$incfn"`
|
||||
if [ $? != 0 ]; then
|
||||
if ! echo "$inc" | grep -q "patch detected! Skipping patch."; then
|
||||
echo "Patch '$(basename $incfn)' FAILED"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
echo "Patch '$(basename $incfn)' result: OK"
|
||||
done
|
||||
|
||||
|
||||
OPKG_DIR=$XDIR/files/etc/opkg
|
||||
if [ -d $OPKG_DIR ]; then
|
||||
rm -rf $OPKG_DIR
|
||||
@@ -273,7 +240,7 @@ function build_target {
|
||||
echo "src/gz fantastic_packages_special $PKG_LINK/special" >> $OPKG_CFEED_FN
|
||||
TARGET_ARCH_PACKAGES=$( get_cfg_opt_value $CFG TARGET_ARCH_PACKAGES )
|
||||
[ -z "$TARGET_ARCH_PACKAGES" ] && die "Cannot find TARGET ARCH"
|
||||
sed -i "s/<<VER>>/24.10/g" $OPKG_CFEED_FN
|
||||
sed -i "s/<<VER>>/23.05/g" $OPKG_CFEED_FN
|
||||
sed -i "s/<<ARCH>>/$TARGET_ARCH_PACKAGES/g" $OPKG_CFEED_FN
|
||||
logmsg "Added support of Fantastic packages [https://fantastic-packages.github.io/packages]"
|
||||
fi
|
||||
@@ -299,7 +266,7 @@ function build_target {
|
||||
|
||||
[ "$ONLY_INIT" = "true" ] && return 0
|
||||
|
||||
make V=s -j $make_jobs download world
|
||||
make -j $make_jobs download world
|
||||
}
|
||||
|
||||
function build_config {
|
||||
|
||||
@@ -153,6 +153,7 @@ fi
|
||||
if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
||||
if [ -f "$XDIR/vermagic_update.sh" ]; then
|
||||
./vermagic_update.sh ipq806x generic
|
||||
./vermagic_update.sh ipq807x generic
|
||||
./vermagic_update.sh qualcommax ipq807x
|
||||
./vermagic_update.sh ramips mt7621
|
||||
./vermagic_update.sh mediatek mt7622
|
||||
|
||||
Reference in New Issue
Block a user