mirror of
https://github.com/hugoyue/Build-OpenWrt.git
synced 2026-02-03 10:53:17 +08:00
支持R5S设备
This commit is contained in:
190
.github/workflows/Build-R5S.yml
vendored
Normal file
190
.github/workflows/Build-R5S.yml
vendored
Normal file
@@ -0,0 +1,190 @@
|
||||
#
|
||||
# Copyright (c) 2019-2020 P3TERX <https://p3terx.com>
|
||||
#
|
||||
# This is free software, licensed under the MIT License.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# https://github.com/P3TERX/Actions-OpenWrt
|
||||
# Description: Build OpenWrt using GitHub Actions
|
||||
#
|
||||
|
||||
name: Build R5S
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH connection to Actions'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
env:
|
||||
REPO_URL: https://github.com/coolsnowwolf/lede.git
|
||||
REPO_BRANCH: 20221001
|
||||
FEEDS_CONF: feeds.conf.default
|
||||
CONFIG_FILE: R5S.config
|
||||
DIY_P1_SH: devices/R5S/diy-part1.sh
|
||||
DIY_P2_SH: devices/R5S/diy-part2.sh
|
||||
UPLOAD_BIN_DIR: false
|
||||
UPLOAD_FIRMWARE: true
|
||||
UPLOAD_COWTRANSFER: false
|
||||
UPLOAD_WETRANSFER: true
|
||||
UPLOAD_RELEASE: false
|
||||
TZ: Asia/Shanghai
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
|
||||
sudo -E apt-get -qq update
|
||||
sudo -E apt-get -qq install ack antlr3 aria2 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex fxload gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
|
||||
sudo -E apt-get -qq autoremove --purge
|
||||
sudo -E apt-get -qq clean
|
||||
sudo timedatectl set-timezone "$TZ"
|
||||
sudo mkdir -p /workdir
|
||||
sudo chown $USER:$GROUPS /workdir
|
||||
|
||||
- name: Clone source code
|
||||
working-directory: /workdir
|
||||
run: |
|
||||
df -hT $PWD
|
||||
git clone $REPO_URL -b $REPO_BRANCH openwrt
|
||||
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
|
||||
|
||||
- name: Load custom feeds
|
||||
run: |
|
||||
[ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default
|
||||
chmod +x $DIY_P1_SH
|
||||
cd openwrt
|
||||
$GITHUB_WORKSPACE/$DIY_P1_SH
|
||||
|
||||
- name: Update feeds
|
||||
run: cd openwrt && ./scripts/feeds update -a
|
||||
|
||||
- name: Install feeds
|
||||
run: cd openwrt && ./scripts/feeds install -a
|
||||
|
||||
- name: Load custom configuration
|
||||
run: |
|
||||
[ -e files ] && mv files openwrt/files
|
||||
[ -e $GITHUB_WORKSPACE/config/$CONFIG_FILE ] && mv $GITHUB_WORKSPACE/config/$CONFIG_FILE openwrt/.config
|
||||
chmod +x $DIY_P2_SH
|
||||
cd openwrt
|
||||
$GITHUB_WORKSPACE/$DIY_P2_SH
|
||||
|
||||
- name: SSH connection to Actions
|
||||
uses: P3TERX/ssh2actions@v1.0.0
|
||||
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
|
||||
env:
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
||||
- name: Download package
|
||||
id: package
|
||||
run: |
|
||||
cd openwrt
|
||||
make defconfig
|
||||
make download -j8
|
||||
find dl -size -1024c -exec ls -l {} \;
|
||||
find dl -size -1024c -exec rm -f {} \;
|
||||
|
||||
- name: Compile the firmware
|
||||
id: compile
|
||||
run: |
|
||||
cd openwrt
|
||||
echo -e "$(nproc) thread compile"
|
||||
make -j$(nproc) || make -j1 || make -j1 V=s
|
||||
echo "::set-output name=status::success"
|
||||
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
|
||||
[ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV
|
||||
echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
|
||||
|
||||
- name: Check space usage
|
||||
if: (!cancelled())
|
||||
run: df -hT
|
||||
|
||||
- name: Upload bin directory
|
||||
uses: actions/upload-artifact@main
|
||||
if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true'
|
||||
with:
|
||||
name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}
|
||||
path: openwrt/bin
|
||||
|
||||
- name: Organize files
|
||||
id: organize
|
||||
if: env.UPLOAD_FIRMWARE == 'true' && !cancelled()
|
||||
run: |
|
||||
cd openwrt/bin/targets/*/*
|
||||
rm -rf packages
|
||||
echo "FIRMWARE=$PWD" >> $GITHUB_ENV
|
||||
echo "::set-output name=status::success"
|
||||
|
||||
- name: Upload firmware directory
|
||||
uses: actions/upload-artifact@main
|
||||
if: steps.organize.outputs.status == 'success' && !cancelled()
|
||||
with:
|
||||
name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}
|
||||
path: ${{ env.FIRMWARE }}
|
||||
|
||||
- name: Upload firmware to cowtransfer
|
||||
id: cowtransfer
|
||||
if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled()
|
||||
run: |
|
||||
curl -fsSL git.io/file-transfer | sh
|
||||
./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log
|
||||
echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)"
|
||||
echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")"
|
||||
|
||||
- name: Upload firmware to WeTransfer
|
||||
id: wetransfer
|
||||
if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled()
|
||||
run: |
|
||||
curl -fsSL git.io/file-transfer | sh
|
||||
./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log
|
||||
echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)"
|
||||
echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")"
|
||||
|
||||
- name: Generate release tag
|
||||
id: tag
|
||||
if: env.UPLOAD_RELEASE == 'true' && !cancelled()
|
||||
run: |
|
||||
echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")"
|
||||
touch release.txt
|
||||
[ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt
|
||||
[ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt
|
||||
echo "::set-output name=status::success"
|
||||
|
||||
- name: Upload firmware to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: steps.tag.outputs.status == 'success' && !cancelled()
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.tag.outputs.release_tag }}
|
||||
body_path: release.txt
|
||||
files: ${{ env.FIRMWARE }}/*
|
||||
|
||||
- name: Delete workflow runs
|
||||
uses: GitRML/delete-workflow-runs@main
|
||||
with:
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 3
|
||||
|
||||
- name: Remove old Releases
|
||||
uses: dev-drprasad/delete-older-releases@v0.1.0
|
||||
if: env.UPLOAD_RELEASE == 'true' && !cancelled()
|
||||
with:
|
||||
keep_latest: 3
|
||||
delete_tags: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
264
config/R5S.config
Normal file
264
config/R5S.config
Normal file
@@ -0,0 +1,264 @@
|
||||
CONFIG_TARGET_rockchip=y
|
||||
CONFIG_TARGET_rockchip_armv8=y
|
||||
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r5s=y
|
||||
CONFIG_ARIA2_BITTORRENT=y
|
||||
CONFIG_ARIA2_NOXML=y
|
||||
CONFIG_ARIA2_OPENSSL=y
|
||||
CONFIG_ARIA2_WEBSOCKET=y
|
||||
CONFIG_GNUTLS_ALPN=y
|
||||
CONFIG_GNUTLS_ANON=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_LIBMBEDTLS_HAVE_ARMV8CE_AES=y
|
||||
CONFIG_PACKAGE_6in4=y
|
||||
CONFIG_PACKAGE_adbyby=y
|
||||
CONFIG_PACKAGE_aria2=y
|
||||
CONFIG_PACKAGE_ariang=y
|
||||
CONFIG_PACKAGE_attr=y
|
||||
CONFIG_PACKAGE_autosamba=y
|
||||
CONFIG_PACKAGE_avahi-dbus-daemon=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_brook=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_dbus=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
CONFIG_PACKAGE_ddns-scripts_no-ip_com=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_fuse-utils=y
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_hysteria=y
|
||||
CONFIG_PACKAGE_ip6tables=y
|
||||
CONFIG_PACKAGE_iperf3=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-iprange=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipsec=y
|
||||
CONFIG_PACKAGE_iputils-arping=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_jq=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-fuse=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-inet-diag=y
|
||||
CONFIG_PACKAGE_kmod-ip6tables=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipsec6=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-iprange=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipt-nat6=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-l2tp=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipt6=y
|
||||
CONFIG_PACKAGE_kmod-nf-log6=y
|
||||
CONFIG_PACKAGE_kmod-nf-nat6=y
|
||||
CONFIG_PACKAGE_kmod-nf-reject6=y
|
||||
CONFIG_PACKAGE_kmod-nf-socket=y
|
||||
CONFIG_PACKAGE_kmod-nft-core=y
|
||||
CONFIG_PACKAGE_kmod-nft-nat=y
|
||||
CONFIG_PACKAGE_kmod-nft-socket=y
|
||||
CONFIG_PACKAGE_kmod-nft-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-pppol2tp=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-sit=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libavahi-client=y
|
||||
CONFIG_PACKAGE_libavahi-dbus-support=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libcares=y
|
||||
CONFIG_PACKAGE_libdaemon=y
|
||||
CONFIG_PACKAGE_libdbus=y
|
||||
CONFIG_PACKAGE_libexpat=y
|
||||
CONFIG_PACKAGE_libfdisk=y
|
||||
CONFIG_PACKAGE_libfuse=y
|
||||
CONFIG_PACKAGE_libgmp=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libiperf3=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libminiupnpc=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libnatpmp=y
|
||||
CONFIG_PACKAGE_libnettle=y
|
||||
CONFIG_PACKAGE_libpopt=y
|
||||
CONFIG_PACKAGE_libreadline=y
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libtasn1=y
|
||||
CONFIG_PACKAGE_libtirpc=y
|
||||
CONFIG_PACKAGE_liburing=y
|
||||
CONFIG_PACKAGE_libuv=y
|
||||
CONFIG_PACKAGE_libwebsockets-full=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
CONFIG_PACKAGE_lsblk=y
|
||||
# CONFIG_PACKAGE_lua-neturl is not set
|
||||
CONFIG_PACKAGE_luci-app-adbyby-plus=y
|
||||
# CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary is not set
|
||||
CONFIG_PACKAGE_luci-app-advanced=y
|
||||
CONFIG_PACKAGE_luci-app-aliddns=y
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
CONFIG_PACKAGE_luci-app-aria2=y
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_ShadowsocksR_Libev_Client is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_ShadowsocksR_Libev_Server is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Shadowsocks_Libev_Client is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Shadowsocks_Libev_Server is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Simple_Obfs is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Socks_Server is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Trojan is not set
|
||||
# CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Xray is not set
|
||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||
CONFIG_PACKAGE_luci-app-eqos=y
|
||||
CONFIG_PACKAGE_luci-app-ipsec-server=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ChinaDNS_NG=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Hysteria=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_NaiveProxy=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_Libev_Server=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Rust_Server=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan_GO=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray_Geodata=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray_Plugin=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_Iptables_Transparent_Proxy=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_Nftables_Transparent_Proxy=y
|
||||
CONFIG_PACKAGE_luci-app-pushbot=y
|
||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||
CONFIG_PACKAGE_luci-app-rclone=y
|
||||
CONFIG_PACKAGE_luci-app-samba4=y
|
||||
CONFIG_PACKAGE_luci-app-sqm=y
|
||||
# CONFIG_PACKAGE_luci-app-ssr-plus is not set
|
||||
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ChinaDNS_NG is not set
|
||||
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client is not set
|
||||
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Simple_Obfs is not set
|
||||
CONFIG_PACKAGE_luci-app-tencentddns=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
# CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_Go is not set
|
||||
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Hysteria is not set
|
||||
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_ShadowsocksR_Libev_Server is not set
|
||||
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Trojan is not set
|
||||
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Xray is not set
|
||||
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Xray_plugin is not set
|
||||
CONFIG_PACKAGE_luci-app-wrtbwmon=y
|
||||
CONFIG_PACKAGE_luci-app-zerotier=y
|
||||
CONFIG_PACKAGE_luci-compat=y
|
||||
CONFIG_PACKAGE_luci-i18n-adbyby-plus-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-aliddns-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-cpufreq-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-eqos-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ipsec-server-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-qbittorrent-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-rclone-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba4-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-sqm-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-wrtbwmon-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-zerotier-zh-cn=y
|
||||
# CONFIG_PACKAGE_luci-lib-ipkg is not set
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_naiveproxy=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_odhcp6c=y
|
||||
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
|
||||
CONFIG_PACKAGE_odhcpd-ipv6only=y
|
||||
CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0
|
||||
CONFIG_PACKAGE_ppp-mod-pppol2tp=y
|
||||
CONFIG_PACKAGE_qBittorrent-static=y
|
||||
CONFIG_PACKAGE_rclone=y
|
||||
CONFIG_PACKAGE_rclone-config=y
|
||||
CONFIG_PACKAGE_rclone-ng=y
|
||||
CONFIG_PACKAGE_rclone-webui-react=y
|
||||
CONFIG_PACKAGE_resize2fs=y
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
CONFIG_PACKAGE_samba4-libs=y
|
||||
CONFIG_PACKAGE_samba4-server=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-server=y
|
||||
# CONFIG_PACKAGE_shadowsocksr-libev-ssr-check is not set
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-server=y
|
||||
CONFIG_PACKAGE_socat=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_strongswan=y
|
||||
CONFIG_PACKAGE_strongswan-charon=y
|
||||
CONFIG_PACKAGE_strongswan-ipsec=y
|
||||
CONFIG_PACKAGE_strongswan-minimal=y
|
||||
CONFIG_PACKAGE_strongswan-mod-aes=y
|
||||
CONFIG_PACKAGE_strongswan-mod-gmp=y
|
||||
CONFIG_PACKAGE_strongswan-mod-hmac=y
|
||||
CONFIG_PACKAGE_strongswan-mod-kernel-libipsec=y
|
||||
CONFIG_PACKAGE_strongswan-mod-kernel-netlink=y
|
||||
CONFIG_PACKAGE_strongswan-mod-nonce=y
|
||||
CONFIG_PACKAGE_strongswan-mod-openssl=y
|
||||
CONFIG_PACKAGE_strongswan-mod-pubkey=y
|
||||
CONFIG_PACKAGE_strongswan-mod-random=y
|
||||
CONFIG_PACKAGE_strongswan-mod-sha1=y
|
||||
CONFIG_PACKAGE_strongswan-mod-socket-default=y
|
||||
CONFIG_PACKAGE_strongswan-mod-stroke=y
|
||||
CONFIG_PACKAGE_strongswan-mod-updown=y
|
||||
CONFIG_PACKAGE_strongswan-mod-x509=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xauth-generic=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xcbc=y
|
||||
CONFIG_PACKAGE_tc-tiny=y
|
||||
CONFIG_PACKAGE_trojan-go=y
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_ttyd=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-geoip=y
|
||||
CONFIG_PACKAGE_v2ray-geosite=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
CONFIG_PACKAGE_wsdd2=y
|
||||
CONFIG_PACKAGE_xl2tpd=y
|
||||
CONFIG_PACKAGE_xray-plugin=y
|
||||
CONFIG_PACKAGE_zerotier=y
|
||||
CONFIG_SAMBA4_SERVER_AVAHI=y
|
||||
CONFIG_SAMBA4_SERVER_NETBIOS=y
|
||||
CONFIG_SAMBA4_SERVER_VFS=y
|
||||
CONFIG_SAMBA4_SERVER_WSDD2=y
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE="220"
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO="220"
|
||||
CONFIG_TARGET_ROOTFS_TARGZ=y
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
||||
21
devices/R5S/diy-part1.sh
Normal file
21
devices/R5S/diy-part1.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2019-2020 P3TERX <https://p3terx.com>
|
||||
#
|
||||
# This is free software, licensed under the MIT License.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# https://github.com/P3TERX/Actions-OpenWrt
|
||||
# File name: diy-part1.sh
|
||||
# Description: OpenWrt DIY script part 1 (Before Update feeds)
|
||||
#
|
||||
|
||||
# Uncomment a feed source
|
||||
#sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default
|
||||
|
||||
# Add a feed source
|
||||
|
||||
cat >> feeds.conf.default <<EOF
|
||||
src-git kenzo https://github.com/kenzok8/openwrt-packages
|
||||
src-git passwall https://github.com/xiaorouji/openwrt-passwall
|
||||
EOF
|
||||
25
devices/R5S/diy-part2.sh
Normal file
25
devices/R5S/diy-part2.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2019-2020 P3TERX <https://p3terx.com>
|
||||
#
|
||||
# This is free software, licensed under the MIT License.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# https://github.com/P3TERX/Actions-OpenWrt
|
||||
# File name: diy-part2.sh
|
||||
# Description: OpenWrt DIY script part 2 (After Update feeds)
|
||||
#
|
||||
|
||||
# Modify default IP
|
||||
sed -i 's/192.168.1.1/192.168.199.1/g' package/base-files/files/bin/config_generate
|
||||
|
||||
# Modify default theme
|
||||
# rm -rf package/lean/luci-theme-argon
|
||||
find ./ -name luci-theme-argon | xargs rm -rf;
|
||||
find ./ -name luci-app-argon-config | xargs rm -rf;
|
||||
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/lean/luci-theme-argon
|
||||
sed -i 's/luci-theme-bootstrap/luci-theme-argon/' feeds/luci/collections/luci/Makefile
|
||||
|
||||
# Add Packages
|
||||
git clone https://github.com/MapesxGM/luci-app-tencentddns package/luci-app-tencentddns
|
||||
git clone https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config
|
||||
Reference in New Issue
Block a user