Buddhist-style update
parent
b2cb9bbd2a
commit
e0ca1cbbba
1262
.config.override
1262
.config.override
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,20 @@
|
|||
name: Repo Dispatcher
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
device:
|
||||
description: 'select device to build'
|
||||
default: 'r2s'
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger Compile
|
||||
run: |
|
||||
curl \
|
||||
-X POST https://api.github.com/repos/${{ github.repository }}/dispatches \
|
||||
-H "Accept: application/vnd.github.everest-preview+json" \
|
||||
-H "Authorization: token ${{ secrets.SEC_TOKEN }}" \
|
||||
-d '{"event_type": "${{ github.event.inputs.device }}", "client_payload": {"device": "${{ github.event.inputs.device }}"}}'
|
|
@ -0,0 +1,158 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
device:
|
||||
description: 'select device to build'
|
||||
default: 'r2s'
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: ${{ github.event.client_payload.device }}
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.repository.owner.id == github.event.sender.id
|
||||
|
||||
steps:
|
||||
|
||||
- name: Space cleanup
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /usr/share/dotnet & #/usr/local/lib/android/sdk
|
||||
sudo -E apt update
|
||||
sudo -E apt -y install secure-delete zstd build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python python3 python-pip python3-pip python-ply python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool rsync swig
|
||||
sudo -E apt -y autoremove --purge
|
||||
sudo -E apt clean
|
||||
df -h
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Checkout
|
||||
run: |
|
||||
for i in {0..5}
|
||||
do
|
||||
curl -s -L --fail https://github.com/${{ github.repository }}/releases/download/cache/lede.${{ github.event.client_payload.device }}.img.zst.0$i || break
|
||||
done | zstdmt -d -o lede.img || (truncate -s 40g lede.img && mkfs.xfs lede.img)
|
||||
LOOP_DEVICE=$(losetup -f) && echo $LOOP_DEVICE > LOOP_DEVICE
|
||||
sudo losetup -P --direct-io $LOOP_DEVICE lede.img
|
||||
mkdir lede && sudo mount $LOOP_DEVICE lede && sudo chown -R $USER:$USER lede
|
||||
[ ! -e lede/.git ] && (cd lede && git init && git remote add -t openwrt-18.06-k5.4 -f origin https://github.com/immortalwrt/immortalwrt && git checkout openwrt-18.06-k5.4)
|
||||
cd lede && git config --local user.email "action@github.com" && git config --local user.name "GitHub Action" && git pull -X theirs
|
||||
|
||||
- name: Update feeds and packages
|
||||
run: |
|
||||
cd lede/
|
||||
git clone --depth=1 https://github.com/destan19/OpenAppFilter.git && rm -rf package/OpenAppFilter && mv OpenAppFilter package/
|
||||
git clone --depth=1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git && rm -rf package/lean/luci-theme-argon && mv luci-theme-argon package/lean/
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
|
||||
- name: Custom configure file
|
||||
run: |
|
||||
cd lede
|
||||
rm -f .config*
|
||||
cat ../${{ github.event.client_payload.device }}.config.seed > .config
|
||||
sed -i 's/^[ \t]*//g' .config
|
||||
echo '
|
||||
# CONFIG_v2ray-plugin_INCLUDE_GOPROXY is not set
|
||||
# CONFIG_XRAY_CORE_COMPRESS_GOPROXY is not set
|
||||
# CONFIG_UnblockNeteaseMusicGo_INCLUDE_GOPROXY is not set
|
||||
' >> .config
|
||||
make defconfig && cat .config
|
||||
|
||||
- name: Compile firmware
|
||||
run: |
|
||||
cd lede
|
||||
while true; do make download -j8 && break || true; done
|
||||
make -j$(($(nproc) + 1)) -s || (make clean && make -j1 V=sc)
|
||||
echo "======================="
|
||||
echo "Space usage:"
|
||||
echo "======================="
|
||||
df -h
|
||||
echo "======================="
|
||||
du -h --max-depth=1 ./ --exclude=build_dir --exclude=bin
|
||||
du -h --max-depth=1 ./build_dir
|
||||
du -h --max-depth=1 ./bin
|
||||
|
||||
- name: Prepare artifact
|
||||
run: |
|
||||
mkdir -p ./artifact/firmware
|
||||
mkdir -p ./artifact/package
|
||||
mkdir -p ./artifact/buildinfo
|
||||
mkdir -p ./release
|
||||
cd lede
|
||||
rm -rf $(find ./bin/targets/ -type d -name "packages")
|
||||
cp -rf $(find ./bin/targets/ -type f) ../artifact/firmware/
|
||||
cp -rf $(find ./bin/packages/ -type f -name "*.ipk") ../artifact/package/
|
||||
cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ../artifact/buildinfo/
|
||||
cp $(ls -1 ../artifact/firmware/*img*) ../release/${{ github.event.client_payload.device }}.img.gz
|
||||
pushd ../release/ && md5sum ${{ github.event.client_payload.device }}.img.gz > md5sum.txt && popd
|
||||
echo "strDate=$(date +%Y-%m-%d)" >> $GITHUB_ENV
|
||||
echo "strDevice=$(echo ${{ github.event.client_payload.device }} | awk '{print toupper($0)}')" >> $GITHUB_ENV
|
||||
rm -rf bin/ tmp/
|
||||
cd ..
|
||||
rm -f *zst*
|
||||
sudo umount lede
|
||||
LOOP_DEVICE=$(cat LOOP_DEVICE)
|
||||
sudo losetup -d $LOOP_DEVICE
|
||||
zstdmt -c lede.img | split -d -b 2000m - lede.${{ github.event.client_payload.device }}.img.zst.
|
||||
ls -l *zst*
|
||||
|
||||
- name: Deliver buildinfo
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: OpenWrt_buildinfo
|
||||
path: ./artifact/buildinfo/
|
||||
|
||||
- name: Deliver package
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: OpenWrt_package
|
||||
path: ./artifact/package/
|
||||
|
||||
- name: Deliver firmware
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: OpenWrt_firmware
|
||||
path: ./artifact/firmware/
|
||||
|
||||
- name: Upload release asset
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ./release/*
|
||||
tag: ${{ github.event.client_payload.device }}-${{ env.strDate }}
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
release_name: ${{ env.strDevice }} ${{ env.strDate }} 自动发布
|
||||
|
||||
- name: Save cache state
|
||||
uses: svenstaro/upload-release-action@master
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ./lede.${{ github.event.client_payload.device }}*zst*
|
||||
tag: cache
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
prerelease: true
|
||||
|
||||
- name: Debug via tmate
|
||||
uses: P3TERX/ssh2actions@main
|
||||
if: ${{ failure() }}
|
||||
env:
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
|
||||
- name: Send tg notification
|
||||
uses: appleboy/telegram-action@master
|
||||
#if: always()
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
args: The ${{ github.event.client_payload.device }} build ran completed at ${{ job.status }}.
|
|
@ -1,76 +0,0 @@
|
|||
name: original Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/master_code_and_master_config.yml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Download Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
rm -f .repo/manifests/h5.xml
|
||||
cp ../original.xml .repo/manifests/h5.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r1s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R1S
|
||||
path: ./artifact/
|
|
@ -1,79 +0,0 @@
|
|||
name: neo2 Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/neo2.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Download Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
rm -f .repo/manifests/h5.xml
|
||||
cp ../19s_master_config.xml .repo/manifests/h5.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/286a065e7832458ccd17a5d4cf4dd52a547fa34d/h5/nanopi_r1s.mk' > device/friendlyelec/h5/nanopi_neo2.mk
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/a198d92e1d64bcde2d4169f2e680f5fff1dc80a9/h5/common-files/etc/opkg/distfeeds.conf' > device/friendlyelec/h5/common-files/etc/opkg/distfeeds.conf
|
||||
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
||||
sed -i '1cCONFIG_TARGET_sunxi=y' configs/config_h5
|
||||
sed -i '2cCONFIG_TARGET_sunxi_cortexa53=y' configs/config_h5
|
||||
sed -i '3cCONFIG_TARGET_sunxi_cortexa53_DEVICE_sun50i-h5-nanopi-neo-plus2=y' configs/config_h5
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_neo2.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R1S
|
||||
path: ./artifact/
|
|
@ -1,118 +0,0 @@
|
|||
name: r1s 原版friendlywrt合并passwall插件
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: 0 20 * * *
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r1s_add_passwall.yml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
rm -f .repo/manifests/h5.xml
|
||||
cp ../19s_master_config.xml .repo/manifests/h5.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
#curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/286a065e7832458ccd17a5d4cf4dd52a547fa34d/h5/nanopi_r1s.mk' > device/friendlyelec/h5/nanopi_r1s.mk
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/a198d92e1d64bcde2d4169f2e680f5fff1dc80a9/h5/common-files/etc/opkg/distfeeds.conf' > device/friendlyelec/h5/common-files/etc/opkg/distfeeds.conf
|
||||
echo 'src-git lienol https://github.com/Lienol/openwrt-package' >> friendlywrt/feeds.conf.default
|
||||
echo 'src-git darkmatter https://github.com/Lienol/luci-theme-darkmatter;luci-18.06' >> friendlywrt/feeds.conf.default
|
||||
. ../remove_used_config.sh
|
||||
#sed -i '1cCONFIG_TARGET_sunxi=y' configs/config_h5
|
||||
#sed -i '2cCONFIG_TARGET_sunxi_cortexa53=y' configs/config_h5
|
||||
#sed -i '3cCONFIG_TARGET_sunxi_cortexa53_DEVICE_sun50i-h5-nanopi-neo-plus2=y' configs/config_h5
|
||||
sed -i 's/_zh-cn/_zh_Hans/' configs/config_h5
|
||||
sed -i 's/_zh-tw/_zh_Hant/' configs/config_h5
|
||||
echo '
|
||||
CONFIG_OPENSSL_ENGINE=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
|
||||
CONFIG_OPENSSL_WITH_ASM=y
|
||||
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
|
||||
CONFIG_OPENSSL_WITH_CMS=y
|
||||
CONFIG_OPENSSL_WITH_DEPRECATED=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_OPENSSL_WITH_PSK=y
|
||||
CONFIG_OPENSSL_WITH_SRP=y
|
||||
CONFIG_OPENSSL_WITH_TLS13=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_libopenssl=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-dark-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-light-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-darkmatter=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear-mc=y
|
||||
CONFIG_PACKAGE_luci-theme-openwrt=y
|
||||
CONFIG_PACKAGE_luci-theme-rosy=y
|
||||
# CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM is not set' >> configs/config_h5
|
||||
sed -i '/8.8.8.8/d' friendlywrt/package/base-files/files/root/setup.sh
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r1s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R1S
|
||||
path: ./artifact/
|
|
@ -1,82 +0,0 @@
|
|||
name: r1s Lean版openwrt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '.github/workflows/r1s_lean.yml'
|
||||
schedule:
|
||||
- cron: '10 10 */4 * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: . 2_clone_source.sh master h5
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
. ../remove_unused_config.sh
|
||||
cat ../app_config.seed >> configs/config_h5
|
||||
sed -i '/sqm-scriptss/d;/kmod-sched/d;' configs/config_h5
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/coolsnowwolf/openwrt && git fetch upstream
|
||||
git checkout upstream/lede-17.01 -b tmp
|
||||
#git checkout 33f7cb735300bd9a099995236ed768c8925fec75 -- target/linux/sunxi/image/
|
||||
git rm README.md
|
||||
git commit -m 'reset'
|
||||
git checkout master
|
||||
git rebase 90bb1cf9c33e73de5019686b8bd495f689e675a4^ --onto tmp -X theirs
|
||||
rm -f target/linux/allwinner-h5/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch target/linux/generic/hack-4.14/999-net-patch-linux-kernel-to-support-shortcut-fe.patch
|
||||
git checkout upstream/lede-17.01 -- feeds.conf.default && sed -i -E 's/#(src-git.+)(helloworld.+)/\1\2/' feeds.conf.default
|
||||
curl 'https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=22378beb581b113def1dc392ef75306a2168a163' | git apply --reject - || true
|
||||
. ../../3_prepare_packages.sh
|
||||
git apply ../../enable_autocore.diff
|
||||
. ../../5_mods.sh
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: . 4_build_image.sh friendlywrt-h5 nanopi_r1s.mk
|
||||
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
. x_assemble_artifact.sh
|
||||
release_tag="R1S-Lean-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,83 +0,0 @@
|
|||
name: r1s(H3) Lean版openwrt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '.github/workflows/r1s_lean_h3.yml'
|
||||
schedule:
|
||||
- cron: '10 10 */4 * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: . 2_clone_source.sh master-v19.07.1 h3
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h3
|
||||
sed -i 's/CONFIG_TARGET_MULTI_PROFILE/CONFIG_TARGET_sunxi_cortexa7_Default/' configs/config_h3
|
||||
sed -i '/CONFIG_TARGET_DEVICE/d' configs/config_h3
|
||||
. ../remove_unused_config.sh
|
||||
cat ../app_config.seed >> configs/config_h3
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/coolsnowwolf/openwrt && git fetch upstream
|
||||
git checkout upstream/lede-17.01 -b tmp
|
||||
#git checkout 33f7cb735300bd9a099995236ed768c8925fec75 -- target/linux/sunxi/image/
|
||||
git rm README.md
|
||||
git commit -m 'reset'
|
||||
git checkout master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
rm -f target/linux/allwinner-h5/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch target/linux/generic/hack-4.14/999-net-patch-linux-kernel-to-support-shortcut-fe.patch
|
||||
git checkout upstream/lede-17.01 -- feeds.conf.default && sed -i -E 's/#(src-git.+)(helloworld.+)/\1\2/' feeds.conf.default
|
||||
curl 'https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=22378beb581b113def1dc392ef75306a2168a163' | git apply --reject - || true
|
||||
. ../../3_prepare_packages.sh
|
||||
git apply ../../enable_autocore.diff
|
||||
. ../../5_mods.sh
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: . 4_build_image.sh friendlywrt-h3 nanopi_r1s_h3.mk
|
||||
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
. x_assemble_artifact.sh
|
||||
release_tag="R1S-H3-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,147 +0,0 @@
|
|||
name: r1s Lienol版openwrt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r1s_lienol.yml'
|
||||
schedule:
|
||||
- cron: 0 0 */10 * *
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --no-install-recommends install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
curl https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed '/#/d' | sed 's/\\//g' | sed 's/exit 0//g' | sed 's/sudo apt -y install//g' | sed 's/sudo apt-get -y install//g' | sed 's/:i386//g' | xargs sudo apt-get -y --no-install-recommends install
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1
|
||||
repo sync -c --no-tags --no-clone-bundle -j8
|
||||
cd friendlywrt/ && git fetch --unshallow
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
git config --global user.email "action@github.com" && git config --global user.name "GitHub Action"
|
||||
cd friendlywrt-h5
|
||||
. ../remove_unused_config.sh
|
||||
cat ../app_config.seed >> configs/config_h5
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/Lienol/openwrt && git fetch upstream
|
||||
git checkout upstream/19.07 -b tmp
|
||||
git mv README.md README && git commit -m 'undo rename readme for rebasing'
|
||||
git checkout origin/master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
rm target/linux/allwinner-h5/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
|
||||
sed -i '/ipv6/,+3d' package/base-files/files/root/setup.sh
|
||||
git checkout upstream/19.07 -- feeds.conf.default
|
||||
sed -i '/ucl upx/d' tools/Makefile
|
||||
sudo apt -y install upx-ucl && mkdir -p staging_dir/host/bin && ln -s /usr/bin/upx-ucl staging_dir/host/bin/upx
|
||||
sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/default-settings/files/zzz-default-settings
|
||||
sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
|
||||
- name: Mod luci
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||
sed -i '/Load Average/i\<div class="tr"><div class="td left" width="33%"><%:CPU Temperature%></div><div class="td left" id="_cputemp"><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></div></div>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
cp configs/config_h5 friendlywrt/.config
|
||||
cd friendlywrt
|
||||
make defconfig && make download -j8
|
||||
make -s -j$(nproc) || make V=s -j1
|
||||
|
||||
#- name: Patch Kernel
|
||||
# run: |
|
||||
# cd friendlywrt-h5
|
||||
# #cd kernel/ && git apply ../../add_fullconenat.diff && cd ../
|
||||
# git clone https://github.com/openwrt/openwrt
|
||||
# cd openwrt/
|
||||
# git checkout 5387bc9cbb9ed205f08766523a296f21dfa83b56
|
||||
# rm target/linux/generic/backport-4.14/400-v4.16-leds-trigger-Introduce-a-NETDEV-trigger.patch
|
||||
# rm target/linux/generic/pending-4.14/403-mtd-hook-mtdsplit-to-Kbuild.patch
|
||||
# rm target/linux/generic/hack-4.14/700-swconfig_switch_drivers.patch
|
||||
# ./scripts/patch-kernel.sh ../kernel target/linux/generic/backport-4.14
|
||||
# ./scripts/patch-kernel.sh ../kernel target/linux/generic/pending-4.14
|
||||
# ./scripts/patch-kernel.sh ../kernel target/linux/generic/hack-4.14
|
||||
# cd ../kernel && git checkout -- drivers/mtd/ && cd ../
|
||||
# find friendlywrt/ -type f -name .config.override -exec cp {} ../ \;
|
||||
# grep -i 'FILTER_\|FLOW' ../.config.override > .config.override
|
||||
# wget https://github.com/torvalds/linux/raw/master/scripts/kconfig/merge_config.sh && chmod +x merge_config.sh
|
||||
# ./merge_config.sh -m .config.override kernel/arch/arm64/configs/sunxi_arm64_defconfig && mv .config kernel/arch/arm64/configs/sunxi_arm64_defconfig
|
||||
|
||||
- name: Build SD img
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i '130,150 {/build_friendlywrt/d}' scripts/build.sh
|
||||
./build.sh nanopi_r1s.mk
|
||||
cd .. && sudo bash fix_ownership.sh
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
cd ./artifact/
|
||||
md5sum *img* > md5sum.txt
|
||||
cd ..
|
||||
zip -r artifact.zip ./artifact/
|
||||
release_tag="R1S-Lienol-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,132 +0,0 @@
|
|||
name: r2s 原版friendlywrt合并passwall插件
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r2s_add_passwall.yml'
|
||||
# schedule:
|
||||
# - cron: '10 13 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-rk3328
|
||||
cd friendlywrt-rk3328
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Add plugins
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
rm -f .repo/manifests/rk3328.xml
|
||||
cp ../rk3328-19.xml .repo/manifests/rk3328.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/coolsnowwolf/lede && git fetch upstream
|
||||
git checkout upstream/master package/lean/luci-app-netdata
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
echo 'src-git lienol https://github.com/Lienol/openwrt-package' >> friendlywrt/feeds.conf.default
|
||||
echo 'src-git darkmatter https://github.com/Lienol/luci-theme-darkmatter;luci-18.06' >> friendlywrt/feeds.conf.default
|
||||
. ../remove_unused_config.sh
|
||||
sed -i '/CONFIG_LUCI_LANG_en/i\CONFIG_LUCI_LANG_zh_Hans=y' configs/config_rk3328
|
||||
sed -i '/CONFIG_LUCI_LANG_en/i\CONFIG_LUCI_LANG_zh_Hant=y' configs/config_rk3328
|
||||
echo '
|
||||
CONFIG_OPENSSL_ENGINE=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
|
||||
CONFIG_OPENSSL_WITH_ASM=y
|
||||
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
|
||||
CONFIG_OPENSSL_WITH_CMS=y
|
||||
CONFIG_OPENSSL_WITH_DEPRECATED=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_OPENSSL_WITH_PSK=y
|
||||
CONFIG_OPENSSL_WITH_SRP=y
|
||||
CONFIG_OPENSSL_WITH_TLS13=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_lrzsz=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_tcping=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-dark-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-light-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-darkmatter=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear-mc=y
|
||||
CONFIG_PACKAGE_luci-theme-openwrt=y
|
||||
CONFIG_PACKAGE_luci-theme-rosy=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
# CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM is not set' >> configs/config_rk3328
|
||||
cd friendlywrt
|
||||
echo -e '\nchown -R root:root /usr/share/netdata/web' >> package/base-files/files/root/setup.sh
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-rk3328/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r2s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-rk3328/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-rk3328/out/*img* ./artifact/
|
||||
cp friendlywrt-rk3328/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R2S
|
||||
path: ./artifact/
|
|
@ -1,88 +0,0 @@
|
|||
name: r2s Lean版openwrt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '.github/workflows/r2s_lean.yml'
|
||||
schedule:
|
||||
- cron: '10 09 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: . 2_clone_source.sh master-v19.07.1 rk3328
|
||||
|
||||
- name: Patch Kernel
|
||||
run: . patch_kernel_5.4.sh
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../app_config.seed >> ../base_rk3328.seed
|
||||
cat ../base_rk3328.seed > configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/coolsnowwolf/openwrt && git fetch upstream
|
||||
git checkout upstream/lede-17.01 -b tmp
|
||||
git rm README.md
|
||||
git commit -m 'reset'
|
||||
git checkout master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
rm -f target/linux/rockchip-rk3328/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch target/linux/generic/hack-4.14/999-net-patch-linux-kernel-to-support-shortcut-fe.patch
|
||||
git checkout upstream/lede-17.01 -- feeds.conf.default && sed -i -E 's/#(src-git.+)(helloworld.+)/\1\2/' feeds.conf.default
|
||||
curl 'https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=22378beb581b113def1dc392ef75306a2168a163' | git apply --reject - || true
|
||||
. ../../3_prepare_packages.sh
|
||||
git apply ../../enable_autocore.diff
|
||||
sed -i 's/@LINUX_5_4//' package/lean/luci-app-flowoffload/Makefile
|
||||
. ../../5_mods.sh
|
||||
mv ../../scripts/check_wan4.sh package/base-files/files/usr/bin && sed -i '/exit/i\/bin/sh /usr/bin/check_wan4.sh &' package/base-files/files/etc/rc.local
|
||||
mv ../../scripts/autoupdate.sh package/base-files/files/root/au.sh && chmod +x package/base-files/files/root/au.sh
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: . 4_build_image.sh friendlywrt-rk3328 nanopi_r2s.mk
|
||||
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
. x_assemble_artifact.sh
|
||||
release_tag="R2S-Lean-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,95 +0,0 @@
|
|||
name: r2s Lean版openwrt minimal
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '.github/workflows/r2s_lean_minimal-dev.yml'
|
||||
schedule:
|
||||
- cron: '10 08 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: . 2_clone_source.sh master-v19.07.1 rk3328
|
||||
|
||||
- name: Patch Kernel
|
||||
run: . patch_kernel_5.4-test.sh
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../minimal_config.seed >> ../base_rk3328.seed
|
||||
cat ../base_rk3328.seed > configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/project-openwrt/openwrt && git fetch upstream
|
||||
git checkout upstream/openwrt-18.06 -b tmp
|
||||
git mv README.md README
|
||||
git commit -m 'reset'
|
||||
git checkout master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
rm -f target/linux/rockchip-rk3328/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
|
||||
git checkout upstream/openwrt-18.06 -- feeds.conf.default
|
||||
cd package/ctcgfw/
|
||||
. ../../../../3_prepare_packages.sh
|
||||
cd ../../
|
||||
git apply ../../enable_autocore_ctcgfw_master.diff
|
||||
. ../../5_mods.sh
|
||||
mv ../../scripts/check_wan4.sh package/base-files/files/usr/bin && sed -i '/exit/i\/bin/sh /usr/bin/check_wan4.sh &' package/base-files/files/etc/rc.local
|
||||
mv ../../scripts/autoupdate.sh package/base-files/files/root/au.sh && chmod +x package/base-files/files/root/au.sh
|
||||
|
||||
- name: Add OpenClash Core
|
||||
run: |
|
||||
cd friendlywrt-rk3328/friendlywrt/package/base-files/files
|
||||
mkdir -p etc/openclash/core && cd etc/openclash/core
|
||||
curl -L https://github.com/vernesong/OpenClash/releases/download/Clash/clash-linux-armv8.tar.gz | tar zxf -
|
||||
chmod +x clash
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: . 4_build_image.sh friendlywrt-rk3328 nanopi_r2s.mk
|
||||
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
. x_assemble_artifact.sh
|
||||
release_tag="R2S-Minimal-$(date +%Y-%m-%d)-dev"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 仅测试勿使用 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,152 +0,0 @@
|
|||
name: r2s Lean版openwrt minimal
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r2s_lean_minimal-test.yml'
|
||||
schedule:
|
||||
- cron: '10 08 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: . 2_clone_source.sh
|
||||
|
||||
- name: Patch Kernel
|
||||
run: . patch_kernel_5.4-test.sh
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../base_rk3328.seed > configs/config_rk3328
|
||||
cat minimal_config.seed >> configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
|
||||
git remote add upstream https://github.com/coolsnowwolf/openwrt && git fetch upstream
|
||||
git checkout upstream/lede-17.01 -b tmp
|
||||
#git checkout 33f7cb735300bd9a099995236ed768c8925fec75 -- target/linux/sunxi/image/
|
||||
git rm README.md
|
||||
git commit -m 'reset'
|
||||
git checkout origin/master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
curl 'https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=22378beb581b113def1dc392ef75306a2168a163' > ip-full.patch; git apply --reject ip-full.patch || true
|
||||
rm -f target/linux/rockchip-rk3328/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch target/linux/generic/hack-4.14/999-net-patch-linux-kernel-to-support-shortcut-fe.patch
|
||||
sed -i '/ipv6/,+3d' package/base-files/files/root/setup.sh
|
||||
git checkout upstream/lede-17.01 -- feeds.conf.default
|
||||
sed -i 's/coolsnowwolf\/packages/klever1988\/packages/' feeds.conf.default
|
||||
sed -i -E 's/#(src-git.+)(helloworld.+)/\1\2/' feeds.conf.default
|
||||
cd package/lean/
|
||||
git clone https://github.com/NateLol/luci-app-oled
|
||||
#git clone https://github.com/jerrykuku/lua-maxminddb.git
|
||||
#git clone https://github.com/jerrykuku/luci-app-vssr.git
|
||||
#cd luci-app-vssr/root/etc/
|
||||
#echo 'china_ssr.txt
|
||||
#config/black.list
|
||||
#config/white.list
|
||||
#dnsmasq.oversea/oversea_list.conf
|
||||
#dnsmasq.ssr/ad.conf
|
||||
#dnsmasq.ssr/gfw_base.conf' | xargs rm
|
||||
#cd ../../../
|
||||
rm -rf luci-theme-argon
|
||||
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git
|
||||
cd ../../
|
||||
git apply ../../enable_autocore.diff
|
||||
#git apply ../../fix_cpufreq.diff
|
||||
sed -i 's/@LINUX_5_4//' package/lean/luci-app-flowoffload/Makefile
|
||||
sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
mv ../../scripts/check_wan4.sh package/base-files/files/usr/bin && sed -i '/exit/i\/bin/sh /usr/bin/check_wan4.sh &' package/base-files/files/etc/rc.local
|
||||
mv ../../scripts/autoupdate.sh package/base-files/files/root/au.sh && chmod +x package/base-files/files/root/au.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
|
||||
- name: Add OpenClash
|
||||
run: |
|
||||
git clone -b master https://github.com/vernesong/OpenClash.git
|
||||
mv OpenClash/luci-app-openclash friendlywrt-rk3328/friendlywrt/package
|
||||
cd friendlywrt-rk3328/friendlywrt/package/base-files/files
|
||||
mkdir -p etc/openclash/core && cd etc/openclash/core
|
||||
curl -L https://github.com/vernesong/OpenClash/releases/download/Clash/clash-linux-armv8.tar.gz | tar zxf -
|
||||
chmod +x clash
|
||||
|
||||
- name: Add Passwall
|
||||
run: |
|
||||
cd friendlywrt-rk3328/friendlywrt
|
||||
echo -e '\nsrc-git lienol https://github.com/Lienol/openwrt-package' >> feeds.conf.default
|
||||
./scripts/feeds update -a
|
||||
rm -rf feeds/lienol/lienol/ipt2socks
|
||||
rm -rf feeds/lienol/lienol/shadowsocksr-libev
|
||||
rm -rf feeds/lienol/lienol/pdnsd-alt
|
||||
rm -rf feeds/lienol/package/verysync
|
||||
rm -rf feeds/lienol/lienol/luci-app-verysync
|
||||
rm -rf package/lean/luci-app-kodexplorer
|
||||
rm -rf package/lean/luci-app-pppoe-relay
|
||||
rm -rf package/lean/luci-app-pptp-server
|
||||
rm -rf package/lean/luci-app-v2ray-server
|
||||
./scripts/feeds install -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r2s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-rk3328/out/*.img
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-rk3328/out/*img* ./artifact/
|
||||
cp friendlywrt-rk3328/friendlywrt/.config ./artifact/
|
||||
cd ./artifact/
|
||||
md5sum *img* > md5sum.txt
|
||||
cd ..
|
||||
zip -r artifact.zip ./artifact/
|
||||
release_tag="R2S-Minimal-$(date +%Y-%m-%d)-test"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 仅测试勿使用 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,89 +0,0 @@
|
|||
name: r2s Lean版openwrt minimal
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '.github/workflows/r2s_lean_minimal.yml'
|
||||
schedule:
|
||||
- cron: '10 08 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
if: github.repository == 'CMCCAdmin/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: . 2_clone_source.sh master-v19.07.1 rk3328
|
||||
|
||||
- name: Patch Kernel
|
||||
run: . patch_kernel_5.4.sh
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../minimal_config.seed >> ../base_rk3328.seed
|
||||
cat ../base_rk3328.seed > configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/coolsnowwolf/openwrt && git fetch upstream
|
||||
git checkout upstream/lede-17.01 -b tmp
|
||||
git rm README.md
|
||||
git commit -m 'reset'
|
||||
git checkout master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
rm -f target/linux/rockchip-rk3328/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch target/linux/generic/hack-4.14/999-net-patch-linux-kernel-to-support-shortcut-fe.patch
|
||||
git checkout upstream/lede-17.01 -- feeds.conf.default && sed -i -E 's/#(src-git.+)(helloworld.+)/\1\2/' feeds.conf.default
|
||||
curl 'https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=22378beb581b113def1dc392ef75306a2168a163' | git apply --reject - || true
|
||||
. ../../3_prepare_packages.sh
|
||||
. ../../add_openclash.sh
|
||||
. ../../add_passwall.sh
|
||||
sed -i 's/@LINUX_5_4//' package/lean/luci-app-flowoffload/Makefile
|
||||
. ../../5_mods.sh
|
||||
mv ../../scripts/check_wan4.sh package/base-files/files/usr/bin && sed -i '/exit/i\/bin/sh /usr/bin/check_wan4.sh &' package/base-files/files/etc/rc.local
|
||||
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: . 4_build_image.sh friendlywrt-rk3328 nanopi_r2s.mk
|
||||
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
. x_assemble_artifact.sh
|
||||
release_tag="R2S-Minimal1-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,124 +0,0 @@
|
|||
name: r2s Lienol版openwrt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r2s_lienol.yml'
|
||||
schedule:
|
||||
- cron: '30 10 */5 * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --no-install-recommends install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
curl https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed '/#/d' | sed 's/\\//g' | sed 's/exit 0//g' | sed 's/sudo apt -y install//g' | sed 's/sudo apt-get -y install//g' | sed 's/:i386//g' | xargs sudo apt-get -y --no-install-recommends install
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-rk3328
|
||||
cd friendlywrt-rk3328
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1
|
||||
repo sync -c --no-tags --no-clone-bundle -j8
|
||||
cd friendlywrt/ && git fetch --unshallow
|
||||
|
||||
- name: Patch Kernel
|
||||
run: |
|
||||
. patch_kernel_5.4.sh
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
git config --global user.email "action@github.com" && git config --global user.name "GitHub Action"
|
||||
cd friendlywrt-rk3328
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../app_config.seed >> ../base_rk3328.seed
|
||||
cat ../base_rk3328.seed > configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git remote add upstream https://github.com/Lienol/openwrt && git fetch upstream
|
||||
git checkout upstream/19.07 -b tmp
|
||||
git mv README.md README && git commit -m 'undo rename readme for rebasing'
|
||||
git checkout origin/master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
rm target/linux/rockchip-rk3328/patches-4.14/0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
|
||||
sed -i '/ipv6/,+3d' package/base-files/files/root/setup.sh
|
||||
git checkout upstream/19.07 -- feeds.conf.default
|
||||
sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/default-settings/files/zzz-default-settings
|
||||
sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
|
||||
- name: Mod luci
|
||||
run: |
|
||||
cd friendlywrt-rk3328/friendlywrt
|
||||
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||
sed -i '/Load Average/i\<div class="tr"><div class="td left" width="33%"><%:CPU Temperature%></div><div class="td left" id="_cputemp"><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></div></div>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r2s.mk
|
||||
cd .. && sudo bash fix_ownership.sh
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-rk3328/out/*.img
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-rk3328/out/*img* ./artifact/
|
||||
cp friendlywrt-rk3328/friendlywrt/.config ./artifact/
|
||||
cd ./artifact/
|
||||
md5sum *img* > md5sum.txt
|
||||
cd ..
|
||||
zip -r artifact.zip ./artifact/
|
||||
release_tag="R2S-Lienol-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,199 +0,0 @@
|
|||
name: r2s Lienol版openwrt based on Lean
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r2s_lienol_from_lean.yml'
|
||||
schedule:
|
||||
- cron: '09 08 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --no-install-recommends install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
curl https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed '/#/d' | sed 's/\\//g' | sed 's/exit 0//g' | sed 's/sudo apt -y install//g' | sed 's/sudo apt-get -y install//g' | sed 's/:i386//g' | xargs sudo apt-get -y --no-install-recommends install
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-rk3328
|
||||
cd friendlywrt-rk3328
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1
|
||||
repo sync -c --no-tags --no-clone-bundle -j8
|
||||
#cd u-boot/ && git fetch --unshallow && cd ../
|
||||
cd friendlywrt/ && git fetch --unshallow
|
||||
|
||||
- name: Patch Kernel
|
||||
run: |
|
||||
. patch_kernel_5.4.sh
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
#cd u-boot/ && git config --local user.email "action@github.com" && git config --local user.name "GitHub Action" && git revert e19137c754437403e8d077083ba51ea7b50a7e5f && cd ../
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../base_rk3328.seed > configs/config_rk3328
|
||||
echo '
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_PACKAGE_autocore=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_diffutils=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_pv=y
|
||||
CONFIG_PACKAGE_pigz=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_losetup=y
|
||||
CONFIG_PACKAGE_luci-app-frpc=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
CONFIG_LIBSODIUM_MINIMAL=y
|
||||
CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y
|
||||
CONFIG_PACKAGE_luci-app-ssrserver-python=y
|
||||
CONFIG_PACKAGE_luci-app-uhttpd=y
|
||||
CONFIG_PACKAGE_luci-app-unblockmusic=y
|
||||
CONFIG_PACKAGE_luci-app-v2ray-server=y
|
||||
CONFIG_PACKAGE_luci-app-vssr=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear=y
|
||||
CONFIG_PACKAGE_luci-app-unblockmusic=y
|
||||
CONFIG_UnblockNeteaseMusic_Go=y
|
||||
CONFIG_UnblockNeteaseMusic_NodeJS=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-zerotier=y
|
||||
# CONFIG_PACKAGE_luci-app-accesscontrol is not set
|
||||
# CONFIG_PACKAGE_luci-app-nlbwmon is not set
|
||||
# CONFIG_PACKAGE_luci-app-pppoe-relay is not set
|
||||
# CONFIG_PACKAGE_luci-app-pppoe-server is not set
|
||||
# CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers is not set
|
||||
# CONFIG_PACKAGE_luci-app-sqm is not set
|
||||
# CONFIG_PACKAGE_luci-app-ssr-python-pro-server is not set
|
||||
# CONFIG_PACKAGE_luci-app-v2ray-server is not set
|
||||
# CONFIG_PACKAGE_luci-app-vsftpd is not set
|
||||
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_ShadowsocksR_Socks is not set
|
||||
# CONFIG_TARGET_ROOTFS_TARGZ is not set
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-authenc is not set
|
||||
# CONFIG_PACKAGE_kmod-cryptodev is not set
|
||||
# CONFIG_PACKAGE_libopenssl-devcrypto is not set
|
||||
# CONFIG_V2RAY_COMPRESS_UPX is not set
|
||||
' >> configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
|
||||
git remote add upstream https://github.com/Lienol/openwrt && git fetch upstream
|
||||
git checkout upstream/dev-lean-lede -b tmp
|
||||
git mv README.md README && git commit -m 'undo rename readme for rebasing'
|
||||
git checkout origin/master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
git revert --no-edit 8faac30089ce616940b3e96c4f4d900aeb6b9fcb
|
||||
sed -i '/ipv6/,+3d' package/base-files/files/root/setup.sh
|
||||
git checkout upstream/dev-lean-lede -- feeds.conf.default
|
||||
cd package/lean/
|
||||
rm -rf luci-theme-argon
|
||||
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git
|
||||
cd ../../
|
||||
git apply ../../enable_autocore.diff
|
||||
#git apply ../../fix_cpufreq.diff
|
||||
sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
mv ../../scripts/check_wan4.sh package/base-files/files/usr/bin && sed -i '/exit/i\/bin/sh /usr/bin/check_wan4.sh &' package/base-files/files/etc/rc.local
|
||||
mv ../../scripts/autoupdate.sh package/base-files/files/root/au.sh && chmod +x package/base-files/files/root/au.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
|
||||
- name: Add OpenClash
|
||||
run: |
|
||||
git clone https://github.com/vernesong/OpenClash.git
|
||||
mv OpenClash/luci-app-openclash friendlywrt-rk3328/friendlywrt/package
|
||||
cd friendlywrt-rk3328/friendlywrt/package/base-files/files
|
||||
mkdir -p etc/openclash && cd etc/openclash
|
||||
curl -L https://github.com/vernesong/OpenClash/releases/download/Clash/clash-linux-armv8.tar.gz | tar zxf -
|
||||
chmod +x clash
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r2s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-rk3328/out/*.img
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-rk3328/out/*img* ./artifact/
|
||||
cp friendlywrt-rk3328/friendlywrt/.config ./artifact/
|
||||
cd ./artifact/
|
||||
md5sum *img* > md5sum.txt
|
||||
cd ..
|
||||
zip -r artifact.zip ./artifact/
|
||||
release_tag="R2S-Minimal-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,86 +0,0 @@
|
|||
name: r2s原生固件(测试)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '.github/workflows/r2s_native-dev.yml'
|
||||
schedule:
|
||||
- cron: '10 08 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'klever1988/nanopi-openwrt'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: . 1_initialization_environment.sh
|
||||
|
||||
- name: Clone Source
|
||||
run: |
|
||||
git clone https://github.com/project-openwrt/openwrt --depth=1 -b openwrt-18.06-k5.4
|
||||
#git clone https://github.com/openwrt/openwrt --depth=1 oopenwrt
|
||||
#cd oopenwrt && echo 'package/boot/arm-trusted-firmware-rockchip
|
||||
#package/boot/uboot-rockchip
|
||||
#target/linux/rockchip
|
||||
#package/base-files/files/lib/functions/system.sh' | xargs -n1 -i cp -a --parents {} ../openwrt/
|
||||
|
||||
- name: Setup Configuration
|
||||
run: |
|
||||
cd openwrt
|
||||
echo 'CONFIG_TARGET_rockchip=y
|
||||
CONFIG_TARGET_rockchip_armv8=y
|
||||
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y
|
||||
CONFIG_PACKAGE_kmod-rtl8821cu=y' > .config
|
||||
cat ../base_rk3328.seed >> .config
|
||||
cat ../minimal_config.seed >> .config
|
||||
echo -e 'CONFIG_PACKAGE_kmod-mt7601u=y\n' >> .config
|
||||
sed -i 's/option input\t\tREJECT/option input\t\tACCEPT/' package/network/config/firewall/files/firewall.config
|
||||
echo -e '\nDYC Build\n' >> package/lean/default-settings/files/openwrt_banner
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
cd openwrt
|
||||
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||
make defconfig
|
||||
make download -j8
|
||||
make -j$(($(nproc) + 1)) -s
|
||||
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
#gzip openwrt/bin/targets/*/*/*img*
|
||||
mv openwrt/bin/targets/*/*/*ext4*img.gz ./artifact.img.gz
|
||||
release_tag="R2S-native-$(date +%Y-%m-%d)-dev"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: r2s原生测试 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.img.gz
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-sd.img.gz
|
||||
asset_content_type: application/gzip
|
|
@ -1,83 +0,0 @@
|
|||
name: r2s original Build 原版friendlywrt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'r2s.config.seed'
|
||||
- '.github/workflows/r2s_original.yml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-rk3328
|
||||
cd friendlywrt-rk3328
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
rm -f .repo/manifests/rk3328.xml
|
||||
cp ../rk3328.xml .repo/manifests/rk3328.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
. ../remove_used_config.sh
|
||||
sed -i 's/CONFIG_BPFILTER=y/CONFIG_BPFILTER=n/' kernel/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
#cp ../r2s.config.seed configs/config_rk3328
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-rk3328/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r2s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-rk3328/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-rk3328/out/*img* ./artifact/
|
||||
cp friendlywrt-rk3328/friendlywrt/.config ./artifact/
|
||||
cd ./artifact/
|
||||
md5sum *img* > md5sum.txt
|
||||
cd ..
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R2S
|
||||
path: ./artifact/
|
|
@ -1,128 +0,0 @@
|
|||
name: test release
|
||||
on:
|
||||
watch:
|
||||
types: [started]
|
||||
jobs:
|
||||
Ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Init Source
|
||||
run: |
|
||||
mkdir friendlywrt-rk3328
|
||||
cd friendlywrt-rk3328
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
exit 0
|
||||
cd friendlywrt-rk3328
|
||||
. ../remove_unused_config.sh
|
||||
sed -i '/iptparser/d' configs/config_rk3328
|
||||
echo '
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_lrzsz=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_luci-app-cifsd=y
|
||||
CONFIG_PACKAGE_luci-app-dockerman=y
|
||||
CONFIG_PACKAGE_luci-app-ipsec-vpnd=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
CONFIG_PACKAGE_luci-app-pptp-server=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear=y
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO is not set
|
||||
# CONFIG_PACKAGE_kmod-cryptodev is not set
|
||||
# CONFIG_PACKAGE_libopenssl-devcrypto is not set
|
||||
# CONFIG_V2RAY_COMPRESS_UPX is not set' >> configs/config_rk3328
|
||||
cd friendlywrt
|
||||
git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
|
||||
git remote add upstream https://github.com/coolsnowwolf/lede && git fetch upstream
|
||||
git rebase 90bb1cf9c33e73de5019686b8bd495f689e675a4^ --onto upstream/master -X theirs
|
||||
git checkout upstream/master -- feeds.conf.default
|
||||
git apply ../../0001-fix-upx.patch
|
||||
sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-rk3328/
|
||||
#./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
#sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
#./build.sh nanopi_r2s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
#gzip friendlywrt-rk3328
|
||||
- name: Assemble Artifact
|
||||
id: assemble_artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
touch ./artifact/tmpf.img
|
||||
touch ./artifact/.config
|
||||
zip -r artifact.zip ./artifact/
|
||||
|
||||
release_tag="R2S-Lean-$(date +%Y-%m-%d)"
|
||||
echo "##[set-output name=release_tag;]$release_tag"
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./artifact.zip
|
||||
asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip
|
||||
asset_content_type: application/zip
|
|
@ -1,76 +0,0 @@
|
|||
name: v18_code_and_v18_config Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/v18_code_and_v18_config.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++ python python3 file ecj fastjar java-propose-classpath
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Download Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
rm -f .repo/manifests/h5.xml
|
||||
cp ../h5-18.06.xml .repo/manifests/h5.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
||||
sed -i '/CONFIG_TARGET_MULTI_PROFILE/d' configs/config_h5
|
||||
sed -i 's/CONFIG_TARGET_DEVICE/CONFIG_TARGET/' configs/config_h5
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r1s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R1S
|
||||
path: ./artifact/
|
|
@ -1,79 +0,0 @@
|
|||
name: v19_code_and_master_config Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/v19_code_and_master_config.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Download Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
rm -f .repo/manifests/h5.xml
|
||||
cp ../19s_master_config.xml .repo/manifests/h5.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/286a065e7832458ccd17a5d4cf4dd52a547fa34d/h5/nanopi_r1s.mk' > device/friendlyelec/h5/nanopi_r1s.mk
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/a198d92e1d64bcde2d4169f2e680f5fff1dc80a9/h5/common-files/etc/opkg/distfeeds.conf' > device/friendlyelec/h5/common-files/etc/opkg/distfeeds.conf
|
||||
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
||||
sed -i '1cCONFIG_TARGET_sunxi=y' configs/config_h5
|
||||
sed -i '2cCONFIG_TARGET_sunxi_cortexa53=y' configs/config_h5
|
||||
sed -i '3cCONFIG_TARGET_sunxi_cortexa53_DEVICE_sun50i-h5-nanopi-neo-plus2=y' configs/config_h5
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r1s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R1S
|
||||
path: ./artifact/
|
|
@ -1,78 +0,0 @@
|
|||
name: v19_code_and_v18_config Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/v19_code_and_v18_config.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Initialization Environment
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||
|
||||
- name: Install Repo
|
||||
run: |
|
||||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
|
||||
- name: Download Source
|
||||
run: |
|
||||
mkdir friendlywrt-h5
|
||||
cd friendlywrt-h5
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
rm -f .repo/manifests/h5.xml
|
||||
cp ../19s_18c.xml .repo/manifests/h5.xml
|
||||
repo sync -c --no-clone-bundle
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/286a065e7832458ccd17a5d4cf4dd52a547fa34d/h5/nanopi_r1s.mk' > device/friendlyelec/h5/nanopi_r1s.mk
|
||||
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/a198d92e1d64bcde2d4169f2e680f5fff1dc80a9/h5/common-files/etc/opkg/distfeeds.conf' > device/friendlyelec/h5/common-files/etc/opkg/distfeeds.conf
|
||||
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
||||
sed -i '/CONFIG_TARGET_MULTI_PROFILE/d' configs/config_h5
|
||||
sed -i 's/CONFIG_TARGET_DEVICE/CONFIG_TARGET/' configs/config_h5
|
||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||
|
||||
- name: Clean Feeds
|
||||
run: |
|
||||
cd friendlywrt-h5/friendlywrt
|
||||
./scripts/feeds clean -a
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
run: |
|
||||
cd friendlywrt-h5
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
./build.sh nanopi_r1s.mk
|
||||
|
||||
- name: Zip Files
|
||||
run: |
|
||||
gzip friendlywrt-h5/out/*.img
|
||||
- name: Assemble Artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
mv friendlywrt-h5/out/*img* ./artifact/
|
||||
cp friendlywrt-h5/friendlywrt/.config ./artifact/
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: FriendlyWrt_NanoPi-R1S
|
||||
path: ./artifact/
|
|
@ -1,165 +0,0 @@
|
|||
From b23c4a0853d2f9e5b2653e96128a0e634b4139a3 Mon Sep 17 00:00:00 2001
|
||||
From: klever1988 <klever1988@protonmail.com>
|
||||
Date: Fri, 21 Feb 2020 07:10:30 +0000
|
||||
Subject: [PATCH] fix upx
|
||||
|
||||
---
|
||||
package/lean/v2ray-plugin/Makefile | 2 +-
|
||||
package/lean/v2ray/Makefile | 4 +--
|
||||
tools/Makefile | 1 -
|
||||
tools/ucl/Makefile | 51 ------------------------------
|
||||
tools/upx/Makefile | 37 ----------------------
|
||||
5 files changed, 3 insertions(+), 92 deletions(-)
|
||||
delete mode 100644 tools/ucl/Makefile
|
||||
delete mode 100644 tools/upx/Makefile
|
||||
|
||||
diff --git a/package/lean/v2ray-plugin/Makefile b/package/lean/v2ray-plugin/Makefile
|
||||
index 5eb1dffa..72432811 100644
|
||||
--- a/package/lean/v2ray-plugin/Makefile
|
||||
+++ b/package/lean/v2ray-plugin/Makefile
|
||||
@@ -48,7 +48,7 @@ endef
|
||||
|
||||
define Build/Compile
|
||||
$(call GoPackage/Build/Compile)
|
||||
- $(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray-plugin
|
||||
+ upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray-plugin
|
||||
endef
|
||||
|
||||
define Package/v2ray-plugin/install
|
||||
diff --git a/package/lean/v2ray/Makefile b/package/lean/v2ray/Makefile
|
||||
index c1bd33f4..24cdbf09 100644
|
||||
--- a/package/lean/v2ray/Makefile
|
||||
+++ b/package/lean/v2ray/Makefile
|
||||
@@ -270,7 +270,7 @@ define Build/Compile
|
||||
mv -f $(GO_PKG_BUILD_BIN_DIR)/main $(GO_PKG_BUILD_BIN_DIR)/v2ray
|
||||
|
||||
ifeq ($(CONFIG_V2RAY_COMPRESS_UPX),y)
|
||||
- $(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray
|
||||
+ upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_V2RAY_EXCLUDE_V2CTL),y)
|
||||
@@ -279,7 +279,7 @@ ifneq ($(CONFIG_V2RAY_EXCLUDE_V2CTL),y)
|
||||
mv -f $(GO_PKG_BUILD_BIN_DIR)/main $(GO_PKG_BUILD_BIN_DIR)/v2ctl
|
||||
|
||||
ifeq ($(CONFIG_V2RAY_COMPRESS_UPX),y)
|
||||
- $(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ctl
|
||||
+ upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ctl
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
diff --git a/tools/Makefile b/tools/Makefile
|
||||
index 1bb272fe..b1300e99 100644
|
||||
--- a/tools/Makefile
|
||||
+++ b/tools/Makefile
|
||||
@@ -28,7 +28,6 @@ tools-y += firmware-utils patch-image quilt padjffs2
|
||||
tools-y += mm-macros missing-macros cmake bc findutils gengetopt patchelf
|
||||
tools-y += mtools dosfstools libressl
|
||||
tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2
|
||||
-tools-y += ucl upx
|
||||
tools-$(CONFIG_TARGET_x86) += qemu
|
||||
tools-$(CONFIG_EFI_IMAGES) += gptfdisk popt
|
||||
tools-$(CONFIG_TARGET_mxs) += elftosb sdimage
|
||||
diff --git a/tools/ucl/Makefile b/tools/ucl/Makefile
|
||||
deleted file mode 100644
|
||||
index 9fb9aec1..00000000
|
||||
--- a/tools/ucl/Makefile
|
||||
+++ /dev/null
|
||||
@@ -1,51 +0,0 @@
|
||||
-#
|
||||
-# Copyright (C) 2019 OpenWrt.org
|
||||
-#
|
||||
-# This is free software, licensed under the GNU General Public License v2.
|
||||
-# See /LICENSE for more information.
|
||||
-#
|
||||
-include $(TOPDIR)/rules.mk
|
||||
-
|
||||
-PKG_NAME:=ucl
|
||||
-PKG_VERSION:=1.03
|
||||
-
|
||||
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
-PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/ucl/download/$(PKG_SOURCE)
|
||||
-PKG_HASH:=b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348
|
||||
-
|
||||
-HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
-
|
||||
-include $(INCLUDE_DIR)/host-build.mk
|
||||
-
|
||||
-HOSTCC :=gcc
|
||||
-HOST_CFLAGS +=-std=gnu89
|
||||
-
|
||||
-define Host/Prepare
|
||||
- $(Host/Prepare/Default)
|
||||
- mkdir -p $(STAGING_DIR_HOST)/include/ucl
|
||||
-endef
|
||||
-
|
||||
-define Host/Configure
|
||||
- (cd $(HOST_BUILD_DIR); \
|
||||
- CC="$(HOSTCC)" \
|
||||
- CFLAGS="$(HOST_CFLAGS)" \
|
||||
- ./configure --prefix=$(STAGING_DIR_HOST) \
|
||||
- );
|
||||
- $(call Host/Configure/Default)
|
||||
-endef
|
||||
-
|
||||
-define Host/Compile
|
||||
- $(MAKE) -C $(HOST_BUILD_DIR)
|
||||
-endef
|
||||
-
|
||||
-define Host/Install
|
||||
- $(MAKE) -C $(HOST_BUILD_DIR) install
|
||||
-endef
|
||||
-
|
||||
-define Host/Clean
|
||||
- $(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
||||
- rm -rf $(HOST_BUILD_DIR)
|
||||
- rm -rf $(STAGING_DIR_HOST)/include/ucl
|
||||
-endef
|
||||
-
|
||||
-$(eval $(call HostBuild))
|
||||
diff --git a/tools/upx/Makefile b/tools/upx/Makefile
|
||||
deleted file mode 100644
|
||||
index 127acd0d..00000000
|
||||
--- a/tools/upx/Makefile
|
||||
+++ /dev/null
|
||||
@@ -1,37 +0,0 @@
|
||||
-#
|
||||
-# Copyright (C) 2011-2020 OpenWrt.org
|
||||
-#
|
||||
-# This is free software, licensed under the GNU General Public License v2.
|
||||
-# See /LICENSE for more information.
|
||||
-#
|
||||
-include $(TOPDIR)/rules.mk
|
||||
-
|
||||
-PKG_NAME:=upx
|
||||
-PKG_VERSION:=3.95
|
||||
-
|
||||
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.xz
|
||||
-PKG_SOURCE_URL:=https://github.com/upx/upx/releases/download/v$(PKG_VERSION)
|
||||
-PKG_HASH:=3b0f55468d285c760fcf5ea865a070b27696393002712054c69ff40d8f7f5592
|
||||
-
|
||||
-HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)-src
|
||||
-
|
||||
-include $(INCLUDE_DIR)/host-build.mk
|
||||
-
|
||||
-UPX_UCLDIR := $(BUILD_DIR_HOST)/ucl-1.03
|
||||
-
|
||||
-define Host/Compile
|
||||
- UPX_UCLDIR=$(UPX_UCLDIR) \
|
||||
- $(MAKE) -C $(HOST_BUILD_DIR)/src \
|
||||
- CXXFLAGS_WERROR="" LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
- CXX="$(HOSTCXX)"
|
||||
-endef
|
||||
-
|
||||
-define Host/Install
|
||||
- $(CP) $(HOST_BUILD_DIR)/src/upx.out $(STAGING_DIR_HOST)/bin/upx
|
||||
-endef
|
||||
-
|
||||
-define Host/Clean
|
||||
- rm -f $(STAGING_DIR_HOST)/bin/upx
|
||||
-endef
|
||||
-
|
||||
-$(eval $(call HostBuild))
|
||||
--
|
||||
2.17.1
|
||||
|
20371
0001-nanopi-patch.patch
20371
0001-nanopi-patch.patch
File diff suppressed because it is too large
Load Diff
|
@ -1,10 +0,0 @@
|
|||
sudo apt install -y hwinfo
|
||||
sudo hwinfo --short
|
||||
|
||||
git config --global user.email "action@github.com" && git config --global user.name "GitHub Action"
|
||||
sudo rm -rf /etc/apt/sources.list.d
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --no-install-recommends install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
curl https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/852acb5b6511d31a450fd0a8829a0f795b3f21fd/install.sh | sed '/#/d' | sed 's/\\//g' | sed 's/exit 0//g' | sed 's/sudo apt -y install//g' | sed 's/sudo apt-get -y install//g' | sed 's/:i386//g' | xargs sudo apt-get -y --no-install-recommends install
|
||||
docker rmi `docker images -q`
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk /usr/local/share/boost /opt/ghc
|
|
@ -1,14 +0,0 @@
|
|||
git clone https://github.com/friendlyarm/repo
|
||||
sudo cp repo/repo /usr/bin/
|
||||
mkdir friendlywrt-$2
|
||||
cd friendlywrt-$2
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b $1 -m $2.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1
|
||||
repo sync -c --no-tags --no-clone-bundle -j8
|
||||
cd friendlywrt/ && git fetch --unshallow
|
||||
git checkout `git branch -va | grep remotes/m | awk '{print $3}' | awk -F\/ '{print $2}'`
|
||||
|
||||
[ -f target/linux/rockchip-rk3328/config-4.14 ] && sed -i '/CONFIG_CGROUPS/a\CONFIG_CGROUP_PERF=y' target/linux/rockchip-rk3328/config-4.14
|
||||
[ -f target/linux/allwinner-h5/config-4.14 ] && sed -i '/CONFIG_CGROUPS/a\CONFIG_CGROUP_PERF=y' target/linux/allwinner-h5/config-4.14
|
||||
git add . && git commit -m 'reset'
|
||||
|
||||
cd ../ && find device/ -name distfeeds.conf -delete
|
|
@ -1,34 +0,0 @@
|
|||
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||
rm -rf feeds/packages/libs/libcap/ && svn co https://github.com/openwrt/packages/trunk/libs/libcap feeds/packages/libs/libcap
|
||||
rm -rf feeds/packages/lang/golang/ && svn co https://github.com/coolsnowwolf/packages/trunk/lang/golang feeds/packages/lang/golang
|
||||
sed -i '/enable-jsonc/i\\t--disable-cloud \\' feeds/packages/admin/netdata/Makefile
|
||||
|
||||
cd package/lean/
|
||||
if [[ `pwd` == *"rk3328"* ]]; then
|
||||
rm -rf luci-app-oled/ && git clone https://github.com/NateLol/luci-app-oled
|
||||
fi
|
||||
[ ! -d luci-app-adguardhome ] && git clone https://github.com/rufengsuixing/luci-app-adguardhome
|
||||
[ ! -d luci-app-mentohust ] && git clone https://github.com/BoringCat/luci-app-mentohust
|
||||
[ ! -d mentohust ] && svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/mentohust
|
||||
rm -rf luci-theme-argon*/ ../lean/luci-theme-argon/ && git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon
|
||||
rm -rf luci-theme-edge/ && git clone -b 18.06 https://github.com/garypang13/luci-theme-edge
|
||||
rm -rf luci-theme-infinityfreedom/ && git clone https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom
|
||||
rm -rf luci-app-chinadns-ng/ && git clone https://github.com/WuSiYu/luci-app-chinadns-ng
|
||||
rm -rf openwrt-chinadns-ng/ && git clone https://github.com/pexcn/openwrt-chinadns-ng
|
||||
rm -rf v2ray/ && svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/v2ray
|
||||
rm -rf v2ray-plugin/ && svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/v2ray-plugin
|
||||
rm -rf trojan/ && svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/trojan
|
||||
cd ../../
|
||||
|
||||
|
||||
#git clone https://github.com/jerrykuku/lua-maxminddb.git
|
||||
#git clone https://github.com/jerrykuku/luci-app-vssr.git
|
||||
#cd luci-app-vssr/root/etc/
|
||||
#echo 'china_ssr.txt
|
||||
#config/black.list
|
||||
#config/white.list
|
||||
#dnsmasq.oversea/oversea_list.conf
|
||||
#dnsmasq.ssr/ad.conf
|
||||
#dnsmasq.ssr/gfw_base.conf
|
||||
#dnsmasq.ssr/gfw_list.conf' | xargs rm
|
||||
#cd ../../../
|
|
@ -1,17 +0,0 @@
|
|||
cd $1
|
||||
cd friendlywrt
|
||||
sed -i '/STAMP_BUILT/d' feeds/packages/utils/runc/Makefile feeds/packages/utils/containerd/Makefile #fix compile error
|
||||
cd ..
|
||||
|
||||
echo -e '\nCONFIG_TCP_CONG_ADVANCED=y' >> kernel/arch/arm/configs/sunxi_defconfig
|
||||
echo -e '\nCONFIG_TCP_CONG_BBR=m' >> kernel/arch/arm/configs/sunxi_defconfig
|
||||
sed -i '/feeds/d' scripts/mk-friendlywrt.sh
|
||||
sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh
|
||||
sed -i 's/640/1000/' scripts/sd-fuse/mk-sd-image.sh
|
||||
./build.sh $2
|
||||
|
||||
LOOP_DEVICE=$(losetup -f)
|
||||
sudo losetup -o 100663296 ${LOOP_DEVICE} out/*.img
|
||||
sudo rm -rf /mnt/friendlywrt-tmp && sudo mkdir -p /mnt/friendlywrt-tmp
|
||||
sudo mount ${LOOP_DEVICE} /mnt/friendlywrt-tmp && sudo chown -R root:root /mnt/friendlywrt-tmp && sudo umount /mnt/friendlywrt-tmp
|
||||
sudo losetup -d ${LOOP_DEVICE}
|
|
@ -1,8 +0,0 @@
|
|||
sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings
|
||||
sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/find.*wlan.*wc/a\WIFI_NUM=0' package/base-files/files/root/setup.sh
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
echo 'wireguard' > package/base-files/files/etc/modules.d/10_wireguard
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
|
@ -2,6 +2,10 @@
|
|||
# 更新日志
|
||||
###### (如果没有特别说明,更新内容就是上游Lean和Lienol两位大佬的代码更新)
|
||||
|
||||
## 2020-02-27
|
||||
|
||||
- 改用Tianling Shen的immortalwrt源码产出固件
|
||||
|
||||
## 2020-08-05
|
||||
|
||||
- R2S加入了 https://github.com/NateLol/luci-app-oled 支持oled状态显示
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remote name="origin"
|
||||
fetch="."
|
||||
revision="refs/heads/master" />
|
||||
<remote name="self" fetch="https://github.com/klever1988" />
|
||||
|
||||
<project path="kernel" name="linux" remote="origin" revision="refs/heads/sunxi-4.14.y" />
|
||||
<project path="u-boot" name="u-boot" remote="origin" revision="refs/heads/sunxi-v2017.x" />
|
||||
|
||||
<!-- img tools for h5 -->
|
||||
<project path="scripts/sd-fuse" name="sd-fuse_h5" remote="origin" >
|
||||
<linkfile dest="out" src="out"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlyelec device configs -->
|
||||
<project path="device/friendlyelec" name="friendlywrt_device_h5" remote="origin" />
|
||||
<project path="configs" name="friendlywrt_configs" remote="origin" revision="refs/heads/master-v18.06.1" />
|
||||
|
||||
<!-- friendlyelec scripts -->
|
||||
<project path="scripts" name="friendlywrt_scripts" remote="origin">
|
||||
<linkfile dest="build.sh" src="build.sh"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlywrt source code -->
|
||||
<project path="friendlywrt" name="friendlywrt" remote="self" revision="refs/heads/master-v19.07.0-rc2" />
|
||||
|
||||
<!-- toolchain -->
|
||||
<project path="toolchain" name="prebuilts" remote="origin" revision="refs/heads/master" />
|
||||
</manifest>
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remote name="origin"
|
||||
fetch="."
|
||||
revision="refs/heads/master" />
|
||||
<remote name="self" fetch="https://github.com/klever1988" />
|
||||
|
||||
<project path="kernel" name="linux" remote="origin" revision="refs/heads/sunxi-4.14.y" />
|
||||
<project path="u-boot" name="u-boot" remote="origin" revision="refs/heads/sunxi-v2017.x" />
|
||||
|
||||
<!-- img tools for h5 -->
|
||||
<project path="scripts/sd-fuse" name="sd-fuse_h5" remote="origin" >
|
||||
<linkfile dest="out" src="out"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlyelec device configs -->
|
||||
<project path="device/friendlyelec" name="friendlywrt_device_h5" remote="origin" />
|
||||
<project path="configs" name="friendlywrt_configs" remote="origin" />
|
||||
|
||||
<!-- friendlyelec scripts -->
|
||||
<project path="scripts" name="friendlywrt_scripts" remote="origin">
|
||||
<linkfile dest="build.sh" src="build.sh"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlywrt source code -->
|
||||
<project path="friendlywrt" name="friendlywrt" remote="self" revision="refs/heads/master-v19.07.1" />
|
||||
|
||||
<!-- toolchain -->
|
||||
<project path="toolchain" name="prebuilts" remote="origin" revision="refs/heads/master" />
|
||||
</manifest>
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/ash
|
||||
uci delete wireless.radio0
|
||||
uci delete wireless.default_radio0
|
||||
uci commit wireless
|
||||
wifi
|
||||
echo '请重新插拔usb网卡'
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/ash
|
||||
|
||||
if ! type "pv" > /dev/null; then
|
||||
opkg update ; opkg install pv
|
||||
if ! type "pv" > /dev/null; then
|
||||
echo 'pv安装失败,退出...'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f /tmp/upload/rom.img.gz ]; then
|
||||
pv /tmp/upload/rom.img.gz | gunzip -dc > /dev/mmcblk0
|
||||
echo 1 > /proc/sys/kernel/sysrq
|
||||
echo b > /proc/sysrq-trigger
|
||||
fi
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remote name="origin"
|
||||
fetch="."
|
||||
revision="refs/heads/master" />
|
||||
<remote name="self" fetch="https://github.com/klever1988" />
|
||||
|
||||
<project path="kernel" name="linux" remote="origin" revision="refs/heads/sunxi-4.14.y" />
|
||||
<project path="u-boot" name="u-boot" remote="origin" revision="refs/heads/sunxi-v2017.x" />
|
||||
|
||||
<!-- img tools for h5 -->
|
||||
<project path="scripts/sd-fuse" name="sd-fuse_h5" remote="origin" >
|
||||
<linkfile dest="out" src="out"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlyelec device configs -->
|
||||
<project path="device/friendlyelec" name="friendlywrt_device_h5" remote="origin" revision="refs/heads/master-v18.06.1" />
|
||||
<project path="configs" name="friendlywrt_configs" remote="origin" revision="refs/heads/master-v18.06.1" />
|
||||
|
||||
<!-- friendlyelec scripts -->
|
||||
<project path="scripts" name="friendlywrt_scripts" remote="origin">
|
||||
<linkfile dest="build.sh" src="build.sh"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlywrt source code -->
|
||||
<project path="friendlywrt" name="friendlywrt" remote="self" revision="refs/heads/master-v18.06.1" />
|
||||
|
||||
<!-- toolchain -->
|
||||
<project path="toolchain" name="prebuilts" remote="origin" revision="refs/heads/master" />
|
||||
</manifest>
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remote name="origin"
|
||||
fetch="."
|
||||
revision="refs/heads/master" />
|
||||
<remote name="self" fetch="https://github.com/klever1988" />
|
||||
|
||||
<project path="kernel" name="linux" remote="origin" revision="refs/heads/sunxi-4.14.y" />
|
||||
<project path="u-boot" name="u-boot" remote="origin" revision="refs/heads/sunxi-v2017.x" />
|
||||
|
||||
<!-- img tools for h5 -->
|
||||
<project path="scripts/sd-fuse" name="sd-fuse_h5" remote="origin" >
|
||||
<linkfile dest="out" src="out"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlyelec device configs -->
|
||||
<project path="device/friendlyelec" name="friendlywrt_device_h5" remote="origin" />
|
||||
<project path="configs" name="friendlywrt_configs" remote="origin" />
|
||||
|
||||
<!-- friendlyelec scripts -->
|
||||
<project path="scripts" name="friendlywrt_scripts" remote="origin">
|
||||
<linkfile dest="build.sh" src="build.sh"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlywrt source code -->
|
||||
<project path="friendlywrt" name="friendlywrt" remote="self" revision="refs/heads/master" />
|
||||
|
||||
<!-- toolchain -->
|
||||
<project path="toolchain" name="prebuilts" remote="origin" revision="refs/heads/master" />
|
||||
</manifest>
|
|
@ -1,390 +0,0 @@
|
|||
CONFIG_TARGET_sunxi=y
|
||||
CONFIG_TARGET_sunxi_cortexa53=y
|
||||
CONFIG_TARGET_sunxi_cortexa53_DEVICE_sun50i-h5-nanopi-neo-plus2=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_CRYPTODEV=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_IMAGEOPT=y
|
||||
CONFIG_KERNEL_ARM_PMU=y
|
||||
CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_BUILD_DOMAIN="buildhost"
|
||||
CONFIG_KERNEL_BUILD_USER="builder"
|
||||
CONFIG_KERNEL_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_FS_POSIX_ACL=y
|
||||
# CONFIG_KERNEL_KALLSYMS is not set
|
||||
CONFIG_KERNEL_KEYS=y
|
||||
CONFIG_KERNEL_PERF_EVENTS=y
|
||||
CONFIG_LIBCURL_COOKIES=y
|
||||
CONFIG_LIBCURL_FILE=y
|
||||
CONFIG_LIBCURL_FTP=y
|
||||
CONFIG_LIBCURL_HTTP=y
|
||||
CONFIG_LIBCURL_MBEDTLS=y
|
||||
CONFIG_LIBCURL_NO_SMB="!"
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_LUCI_LANG_en=y
|
||||
CONFIG_LUCI_LANG_zh_Hans=y
|
||||
CONFIG_LUCI_LANG_zh_Hant=y
|
||||
CONFIG_OPENCONNECT_GNUTLS=y
|
||||
CONFIG_OPENSSL_ENGINE=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO=y
|
||||
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
|
||||
CONFIG_OPENSSL_WITH_ASM=y
|
||||
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
|
||||
CONFIG_OPENSSL_WITH_CMS=y
|
||||
CONFIG_OPENSSL_WITH_DEPRECATED=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_OPENSSL_WITH_PSK=y
|
||||
CONFIG_OPENSSL_WITH_SRP=y
|
||||
CONFIG_OPENSSL_WITH_TLS13=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_SERVER=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
|
||||
CONFIG_PACKAGE_adblock=y
|
||||
CONFIG_PACKAGE_ar3k-firmware=y
|
||||
CONFIG_PACKAGE_aria2=y
|
||||
CONFIG_PACKAGE_ath6k-firmware=y
|
||||
CONFIG_PACKAGE_ath9k-htc-firmware=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_block-mount=y
|
||||
CONFIG_PACKAGE_blockd=y
|
||||
CONFIG_PACKAGE_btrfs-progs=y
|
||||
CONFIG_PACKAGE_ca-bundle=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_carl9170-firmware=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_cgi-io=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_collectd=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_collectd-mod-load=y
|
||||
CONFIG_PACKAGE_collectd-mod-memory=y
|
||||
CONFIG_PACKAGE_collectd-mod-network=y
|
||||
CONFIG_PACKAGE_collectd-mod-rrdtool=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
CONFIG_PACKAGE_collectd-mod-uptime=y
|
||||
CONFIG_PACKAGE_collectd-mod-wireless=y
|
||||
CONFIG_PACKAGE_coreutils=y
|
||||
CONFIG_PACKAGE_coreutils-base64=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_ddns-scripts=y
|
||||
CONFIG_PACKAGE_dns2socks=y
|
||||
CONFIG_PACKAGE_edgeport-firmware=y
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_git=y
|
||||
CONFIG_PACKAGE_git-http=y
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_ip-tiny=y
|
||||
CONFIG_PACKAGE_iperf=y
|
||||
CONFIG_PACKAGE_ipset=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-br-netfilter=y
|
||||
CONFIG_PACKAGE_kmod-crypto-acompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-aead=y
|
||||
CONFIG_PACKAGE_kmod-crypto-authenc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ctr=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gcm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gf128=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ghash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-iv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-manager=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-null=y
|
||||
CONFIG_PACKAGE_kmod-crypto-pcompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-seqiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha1=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-wq=y
|
||||
CONFIG_PACKAGE_kmod-cryptodev=y
|
||||
CONFIG_PACKAGE_kmod-dax=y
|
||||
CONFIG_PACKAGE_kmod-dm=y
|
||||
CONFIG_PACKAGE_kmod-dummy=y
|
||||
CONFIG_PACKAGE_kmod-fs-autofs4=y
|
||||
CONFIG_PACKAGE_kmod-fs-btrfs=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-ikconfig=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-raw=y
|
||||
CONFIG_PACKAGE_kmod-ipt-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-lzo=y
|
||||
CONFIG_PACKAGE_kmod-lib-raid6=y
|
||||
CONFIG_PACKAGE_kmod-lib-textsearch=y
|
||||
CONFIG_PACKAGE_kmod-lib-xor=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zstd=y
|
||||
CONFIG_PACKAGE_kmod-macvlan=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipvs=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-connmark=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-veth=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libbz2=y
|
||||
CONFIG_PACKAGE_libcurl=y
|
||||
CONFIG_PACKAGE_libdevmapper=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libertas-spi-firmware=y
|
||||
CONFIG_PACKAGE_libertas-usb-firmware=y
|
||||
CONFIG_PACKAGE_libexif=y
|
||||
CONFIG_PACKAGE_libfdisk=y
|
||||
CONFIG_PACKAGE_libffmpeg-audio-dec=y
|
||||
CONFIG_PACKAGE_libflac=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libid3tag=y
|
||||
CONFIG_PACKAGE_libipset=y
|
||||
CONFIG_PACKAGE_libiwinfo-lua=y
|
||||
CONFIG_PACKAGE_libjpeg=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua=y
|
||||
CONFIG_PACKAGE_liblucihttp=y
|
||||
CONFIG_PACKAGE_liblucihttp-lua=y
|
||||
CONFIG_PACKAGE_liblzo=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libncurses=y
|
||||
CONFIG_PACKAGE_libogg=y
|
||||
CONFIG_PACKAGE_libopenssl=y
|
||||
CONFIG_PACKAGE_libopenssl-conf=y
|
||||
CONFIG_PACKAGE_libpcre=y
|
||||
CONFIG_PACKAGE_libpopt=y
|
||||
CONFIG_PACKAGE_libreadline=y
|
||||
CONFIG_PACKAGE_librrd1=y
|
||||
CONFIG_PACKAGE_libseccomp=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libtasn1=y
|
||||
CONFIG_PACKAGE_libubus-lua=y
|
||||
CONFIG_PACKAGE_libuci-lua=y
|
||||
CONFIG_PACKAGE_libusb-1.0=y
|
||||
CONFIG_PACKAGE_libuv=y
|
||||
CONFIG_PACKAGE_libvorbis=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_lua=y
|
||||
CONFIG_PACKAGE_luci=y
|
||||
CONFIG_PACKAGE_luci-app-adblock=y
|
||||
CONFIG_PACKAGE_luci-app-aria2=y
|
||||
CONFIG_PACKAGE_luci-app-commands=y
|
||||
CONFIG_PACKAGE_luci-app-ddns=y
|
||||
CONFIG_PACKAGE_luci-app-firewall=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-minidlna=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-nlbwmon=y
|
||||
CONFIG_PACKAGE_luci-app-ntpc=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn=y
|
||||
CONFIG_PACKAGE_luci-app-opkg=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-qos=y
|
||||
CONFIG_PACKAGE_luci-app-samba=y
|
||||
CONFIG_PACKAGE_luci-app-sqm=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
CONFIG_PACKAGE_luci-app-watchcat=y
|
||||
CONFIG_PACKAGE_luci-app-wifischedule=y
|
||||
CONFIG_PACKAGE_luci-base=y
|
||||
CONFIG_PACKAGE_luci-compat=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-lib-ip=y
|
||||
CONFIG_PACKAGE_luci-lib-ipkg=y
|
||||
CONFIG_PACKAGE_luci-lib-iptparser=y
|
||||
CONFIG_PACKAGE_luci-lib-jsonc=y
|
||||
CONFIG_PACKAGE_luci-lib-nixio=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-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-proto-openconnect=y
|
||||
CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-dark-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-light-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-darkmatter=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear-mc=y
|
||||
CONFIG_PACKAGE_luci-theme-openwrt=y
|
||||
CONFIG_PACKAGE_minidlna=y
|
||||
CONFIG_PACKAGE_miniupnpd=y
|
||||
CONFIG_PACKAGE_mount-utils=y
|
||||
CONFIG_PACKAGE_mt7601u-firmware=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_mwl8k-firmware=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_ntpclient=y
|
||||
CONFIG_PACKAGE_openconnect=y
|
||||
CONFIG_PACKAGE_openssh-client=y
|
||||
CONFIG_PACKAGE_openssh-client-utils=y
|
||||
CONFIG_PACKAGE_openssh-keygen=y
|
||||
CONFIG_PACKAGE_openssl-util=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_p54-usb-firmware=y
|
||||
CONFIG_PACKAGE_pdnsd-alt=y
|
||||
CONFIG_PACKAGE_prism54-firmware=y
|
||||
CONFIG_PACKAGE_qos-scripts=y
|
||||
CONFIG_PACKAGE_r8169-firmware=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_rpcd=y
|
||||
CONFIG_PACKAGE_rpcd-mod-file=y
|
||||
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_rpcd-mod-luci=y
|
||||
CONFIG_PACKAGE_rpcd-mod-rrdns=y
|
||||
CONFIG_PACKAGE_rrdtool1=y
|
||||
CONFIG_PACKAGE_rs9113-firmware=y
|
||||
CONFIG_PACKAGE_rsync=y
|
||||
CONFIG_PACKAGE_rt2800-usb-firmware=y
|
||||
CONFIG_PACKAGE_rt73-usb-firmware=y
|
||||
CONFIG_PACKAGE_rtl8188eu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192ce-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192cu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192de-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192se-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192su-firmware=y
|
||||
CONFIG_PACKAGE_rtl8821ae-firmware=y
|
||||
CONFIG_PACKAGE_samba36-server=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-alt=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_tc=y
|
||||
CONFIG_PACKAGE_tcping=y
|
||||
CONFIG_PACKAGE_terminfo=y
|
||||
CONFIG_PACKAGE_ti-3410-firmware=y
|
||||
CONFIG_PACKAGE_ti-5052-firmware=y
|
||||
CONFIG_PACKAGE_triggerhappy=y
|
||||
CONFIG_PACKAGE_uclibcxx=y
|
||||
CONFIG_PACKAGE_uhttpd=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_usb-modeswitch=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_v2ray=y
|
||||
CONFIG_PACKAGE_vpnc-scripts=y
|
||||
CONFIG_PACKAGE_watchcat=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_wifischedule=y
|
||||
CONFIG_PACKAGE_wl12xx-firmware=y
|
||||
CONFIG_PACKAGE_wl18xx-firmware=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_RSYNC_zlib=y
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=512
|
||||
CONFIG_VERSIONOPT=y
|
||||
CONFIG_VERSION_BUG_URL=""
|
||||
CONFIG_VERSION_CODE=""
|
||||
CONFIG_VERSION_CODE_FILENAMES=y
|
||||
CONFIG_VERSION_DIST="OpenWrt"
|
||||
CONFIG_VERSION_FILENAMES=y
|
||||
CONFIG_VERSION_HOME_URL=""
|
||||
CONFIG_VERSION_HWREV=""
|
||||
CONFIG_VERSION_MANUFACTURER=""
|
||||
CONFIG_VERSION_MANUFACTURER_URL=""
|
||||
CONFIG_VERSION_NUMBER=""
|
||||
CONFIG_VERSION_PRODUCT=""
|
||||
CONFIG_VERSION_REPO="https://downloads.openwrt.org/snapshots"
|
||||
CONFIG_VERSION_SUPPORT_URL=""
|
||||
|
||||
CONFIG_PACKAGE_dns2socks=n
|
|
@ -1,335 +0,0 @@
|
|||
CONFIG_TARGET_allwinner_h5=y
|
||||
CONFIG_TARGET_allwinner_h5_Default=y
|
||||
CONFIG_TARGET_BOARD="allwinner-h5"
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_ARIA2_BITTORRENT=y
|
||||
CONFIG_ARIA2_NOXML=y
|
||||
CONFIG_ARIA2_OPENSSL=y
|
||||
CONFIG_ARIA2_WEBSOCKET=y
|
||||
CONFIG_AUTOREMOVE=y
|
||||
CONFIG_BRCMFMAC_PCIE=y
|
||||
CONFIG_BRCMFMAC_SDIO=y
|
||||
CONFIG_BRCMFMAC_USB=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
CONFIG_DRIVER_11N_SUPPORT=y
|
||||
CONFIG_DRIVER_11W_SUPPORT=y
|
||||
CONFIG_GNUTLS_ALPN=y
|
||||
CONFIG_GNUTLS_ANON=y
|
||||
CONFIG_GNUTLS_CRYPTODEV=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_IMAGEOPT=y
|
||||
CONFIG_KERNEL_ARM_PMU=y
|
||||
CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_BUILD_DOMAIN="buildhost"
|
||||
CONFIG_KERNEL_BUILD_USER="builder"
|
||||
CONFIG_KERNEL_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_FS_POSIX_ACL=y
|
||||
# CONFIG_KERNEL_KALLSYMS is not set
|
||||
CONFIG_KERNEL_KEYS=y
|
||||
CONFIG_KERNEL_PERF_EVENTS=y
|
||||
CONFIG_LIBCURL_COOKIES=y
|
||||
CONFIG_LIBCURL_FILE=y
|
||||
CONFIG_LIBCURL_FTP=y
|
||||
CONFIG_LIBCURL_HTTP=y
|
||||
CONFIG_LIBCURL_MBEDTLS=y
|
||||
CONFIG_LIBCURL_NO_SMB="!"
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_LUCI_LANG_en=y
|
||||
CONFIG_LUCI_LANG_zh-tw=y
|
||||
CONFIG_OPENCONNECT_GNUTLS=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_NPN=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_SERVER=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
|
||||
CONFIG_PACKAGE_adblock=y
|
||||
CONFIG_PACKAGE_ar3k-firmware=y
|
||||
CONFIG_PACKAGE_aria2=y
|
||||
CONFIG_PACKAGE_ath6k-firmware=y
|
||||
CONFIG_PACKAGE_ath9k-htc-firmware=y
|
||||
CONFIG_PACKAGE_block-mount=y
|
||||
CONFIG_PACKAGE_blockd=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-43430-sdio=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-usb=y
|
||||
CONFIG_PACKAGE_btrfs-progs=y
|
||||
CONFIG_PACKAGE_ca-bundle=y
|
||||
CONFIG_PACKAGE_carl9170-firmware=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_cgi-io=y
|
||||
CONFIG_PACKAGE_collectd=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_collectd-mod-load=y
|
||||
CONFIG_PACKAGE_collectd-mod-memory=y
|
||||
CONFIG_PACKAGE_collectd-mod-network=y
|
||||
CONFIG_PACKAGE_collectd-mod-rrdtool=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
CONFIG_PACKAGE_collectd-mod-uptime=y
|
||||
CONFIG_PACKAGE_collectd-mod-wireless=y
|
||||
CONFIG_PACKAGE_containerd=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_e2fsprogs=y
|
||||
CONFIG_PACKAGE_edgeport-firmware=y
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_git=y
|
||||
CONFIG_PACKAGE_git-http=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_hostapd-common=y
|
||||
CONFIG_PACKAGE_iperf=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_kmod-br-netfilter=y
|
||||
CONFIG_PACKAGE_kmod-brcmfmac=y
|
||||
CONFIG_PACKAGE_kmod-brcmutil=y
|
||||
CONFIG_PACKAGE_kmod-cfg80211=y
|
||||
CONFIG_PACKAGE_kmod-crypto-acompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-authenc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ctr=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gcm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gf128=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ghash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-iv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-seqiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-wq=y
|
||||
CONFIG_PACKAGE_kmod-cryptodev=y
|
||||
CONFIG_PACKAGE_kmod-dax=y
|
||||
CONFIG_PACKAGE_kmod-dm=y
|
||||
CONFIG_PACKAGE_kmod-dummy=y
|
||||
CONFIG_PACKAGE_kmod-fs-autofs4=y
|
||||
CONFIG_PACKAGE_kmod-fs-btrfs=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-ikconfig=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-raw=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-lzo=y
|
||||
CONFIG_PACKAGE_kmod-lib-raid6=y
|
||||
CONFIG_PACKAGE_kmod-lib-xor=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zstd=y
|
||||
CONFIG_PACKAGE_kmod-macvlan=y
|
||||
CONFIG_PACKAGE_kmod-mmc=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipvs=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
|
||||
CONFIG_PACKAGE_kmod-nls-base=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-connmark=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-usb-core=y
|
||||
CONFIG_PACKAGE_kmod-veth=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libblkid=y
|
||||
CONFIG_PACKAGE_libbz2=y
|
||||
CONFIG_PACKAGE_libcomerr=y
|
||||
CONFIG_PACKAGE_libcurl=y
|
||||
CONFIG_PACKAGE_libdevmapper=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libertas-spi-firmware=y
|
||||
CONFIG_PACKAGE_libertas-usb-firmware=y
|
||||
CONFIG_PACKAGE_libexif=y
|
||||
CONFIG_PACKAGE_libext2fs=y
|
||||
CONFIG_PACKAGE_libf2fs=y
|
||||
CONFIG_PACKAGE_libfdisk=y
|
||||
CONFIG_PACKAGE_libffmpeg-audio-dec=y
|
||||
CONFIG_PACKAGE_libflac=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libid3tag=y
|
||||
CONFIG_PACKAGE_libjpeg=y
|
||||
CONFIG_PACKAGE_liblzo=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libnetwork=y
|
||||
CONFIG_PACKAGE_libogg=y
|
||||
CONFIG_PACKAGE_libopenssl-conf=y
|
||||
CONFIG_PACKAGE_libpopt=y
|
||||
CONFIG_PACKAGE_librrd1=y
|
||||
CONFIG_PACKAGE_libseccomp=y
|
||||
CONFIG_PACKAGE_libsmartcols=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libss=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libtasn1=y
|
||||
CONFIG_PACKAGE_libusb-1.0=y
|
||||
CONFIG_PACKAGE_libuuid=y
|
||||
CONFIG_PACKAGE_libvorbis=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_luci-app-adblock=y
|
||||
CONFIG_PACKAGE_luci-app-aria2=y
|
||||
CONFIG_PACKAGE_luci-app-commands=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-minidlna=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-nlbwmon=y
|
||||
CONFIG_PACKAGE_luci-app-ntpc=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn=y
|
||||
CONFIG_PACKAGE_luci-app-qos=y
|
||||
CONFIG_PACKAGE_luci-app-samba=y
|
||||
CONFIG_PACKAGE_luci-app-sqm=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
CONFIG_PACKAGE_luci-app-watchcat=y
|
||||
CONFIG_PACKAGE_luci-app-wifischedule=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-wol-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-wol-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-proto-openconnect=y
|
||||
CONFIG_PACKAGE_minidlna=y
|
||||
CONFIG_PACKAGE_miniupnpd=y
|
||||
CONFIG_PACKAGE_mkf2fs=y
|
||||
CONFIG_PACKAGE_mount-utils=y
|
||||
CONFIG_PACKAGE_mt7601u-firmware=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_mwl8k-firmware=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_ntpclient=y
|
||||
CONFIG_PACKAGE_openconnect=y
|
||||
CONFIG_PACKAGE_openssh-client=y
|
||||
CONFIG_PACKAGE_openssh-client-utils=y
|
||||
CONFIG_PACKAGE_openssh-keygen=y
|
||||
CONFIG_PACKAGE_openssl-util=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_p54-usb-firmware=y
|
||||
CONFIG_PACKAGE_partx-utils=y
|
||||
CONFIG_PACKAGE_prism54-firmware=y
|
||||
CONFIG_PACKAGE_qos-scripts=y
|
||||
CONFIG_PACKAGE_r8169-firmware=y
|
||||
CONFIG_PACKAGE_rpcd-mod-file=y
|
||||
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_rrdtool1=y
|
||||
CONFIG_PACKAGE_rs9113-firmware=y
|
||||
CONFIG_PACKAGE_rsync=y
|
||||
CONFIG_PACKAGE_rt2800-usb-firmware=y
|
||||
CONFIG_PACKAGE_rt73-usb-firmware=y
|
||||
CONFIG_PACKAGE_rtl8188eu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192ce-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192cu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192de-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192se-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192su-firmware=y
|
||||
CONFIG_PACKAGE_rtl8821ae-firmware=y
|
||||
CONFIG_PACKAGE_runc=y
|
||||
CONFIG_PACKAGE_samba36-server=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_tc=y
|
||||
CONFIG_PACKAGE_ti-3410-firmware=y
|
||||
CONFIG_PACKAGE_ti-5052-firmware=y
|
||||
CONFIG_PACKAGE_tini=y
|
||||
CONFIG_PACKAGE_triggerhappy=y
|
||||
CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_uclibcxx=y
|
||||
CONFIG_PACKAGE_usb-modeswitch=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_vpnc-scripts=y
|
||||
CONFIG_PACKAGE_watchcat=y
|
||||
CONFIG_PACKAGE_wifischedule=y
|
||||
CONFIG_PACKAGE_wireless-regdb=y
|
||||
CONFIG_PACKAGE_wl12xx-firmware=y
|
||||
CONFIG_PACKAGE_wl18xx-firmware=y
|
||||
CONFIG_PACKAGE_wpad-mini=y
|
||||
CONFIG_RSYNC_zlib=y
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_TARGET_EXT4_BLOCKSIZE=4096
|
||||
CONFIG_TARGET_EXT4_BLOCKSIZE_4K=y
|
||||
CONFIG_TARGET_EXT4_RESERVED_PCT=0
|
||||
CONFIG_TARGET_IMAGES_GZIP=y
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=512
|
||||
CONFIG_TARGET_ROOTFS_SQUASHFS=y
|
||||
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
|
||||
CONFIG_VERSIONOPT=y
|
||||
CONFIG_VERSION_BUG_URL=""
|
||||
CONFIG_VERSION_CODE=""
|
||||
CONFIG_VERSION_CODE_FILENAMES=y
|
||||
CONFIG_VERSION_DIST="OpenWrt"
|
||||
CONFIG_VERSION_FILENAMES=y
|
||||
CONFIG_VERSION_HOME_URL=""
|
||||
CONFIG_VERSION_HWREV=""
|
||||
CONFIG_VERSION_MANUFACTURER=""
|
||||
CONFIG_VERSION_MANUFACTURER_URL=""
|
||||
CONFIG_VERSION_NUMBER=""
|
||||
CONFIG_VERSION_PRODUCT=""
|
||||
CONFIG_VERSION_REPO="https://downloads.openwrt.org/snapshots"
|
||||
CONFIG_VERSION_SUPPORT_URL=""
|
||||
CONFIG_WPA_MSG_MIN_PRIORITY=3
|
||||
CONFIG_KERNEL_CGROUP_PERF=n
|
||||
|
||||
CONFIG_PACKAGE_dns2socks=n
|
|
@ -1,509 +0,0 @@
|
|||
CONFIG_TARGET_rockchip_rk3328=y
|
||||
CONFIG_TARGET_rockchip_rk3328_Default=y
|
||||
CONFIG_TARGET_BOARD="rockchip-rk3328"
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_ARIA2_BITTORRENT=y
|
||||
CONFIG_ARIA2_NOXML=y
|
||||
CONFIG_ARIA2_OPENSSL=y
|
||||
CONFIG_ARIA2_WEBSOCKET=y
|
||||
CONFIG_AUTOREMOVE=y
|
||||
CONFIG_BRCMFMAC_PCIE=y
|
||||
CONFIG_BRCMFMAC_SDIO=y
|
||||
CONFIG_BRCMFMAC_USB=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
CONFIG_DRIVER_11N_SUPPORT=y
|
||||
CONFIG_DRIVER_11W_SUPPORT=y
|
||||
CONFIG_GNUTLS_ALPN=y
|
||||
CONFIG_GNUTLS_ANON=y
|
||||
CONFIG_GNUTLS_CRYPTODEV=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_IMAGEOPT=y
|
||||
CONFIG_JSON_ADD_IMAGE_INFO=y
|
||||
CONFIG_KERNEL_ARM_PMU=y
|
||||
CONFIG_KERNEL_BLK_DEV_THROTTLING=y
|
||||
CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_BUILD_DOMAIN="buildhost"
|
||||
CONFIG_KERNEL_BUILD_USER="builder"
|
||||
CONFIG_KERNEL_CFQ_GROUP_IOSCHED=y
|
||||
CONFIG_KERNEL_CFS_BANDWIDTH=y
|
||||
CONFIG_KERNEL_CGROUP_PERF=y
|
||||
CONFIG_KERNEL_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_FS_POSIX_ACL=y
|
||||
# CONFIG_KERNEL_KALLSYMS is not set
|
||||
CONFIG_KERNEL_KEYS=y
|
||||
CONFIG_KERNEL_MEMCG_SWAP=y
|
||||
CONFIG_KERNEL_MEMCG_SWAP_ENABLED=y
|
||||
CONFIG_KERNEL_PERF_EVENTS=y
|
||||
CONFIG_LIBCURL_COOKIES=y
|
||||
CONFIG_LIBCURL_FILE=y
|
||||
CONFIG_LIBCURL_FTP=y
|
||||
CONFIG_LIBCURL_HTTP=y
|
||||
CONFIG_LIBCURL_MBEDTLS=y
|
||||
CONFIG_LIBCURL_NO_SMB="!"
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_LUCI_LANG_en=y
|
||||
CONFIG_LUCI_LANG_zh_Hans=y
|
||||
CONFIG_LUCI_LANG_zh_Hant=y
|
||||
CONFIG_MODEMMANAGER_WITH_MBIM=y
|
||||
CONFIG_MODEMMANAGER_WITH_QMI=y
|
||||
CONFIG_OPENCONNECT_GNUTLS=y
|
||||
CONFIG_OPENSSL_ENGINE=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO=y
|
||||
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
|
||||
CONFIG_OPENSSL_WITH_ASM=y
|
||||
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
|
||||
CONFIG_OPENSSL_WITH_CMS=y
|
||||
CONFIG_OPENSSL_WITH_DEPRECATED=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_OPENSSL_WITH_PSK=y
|
||||
CONFIG_OPENSSL_WITH_SRP=y
|
||||
CONFIG_OPENSSL_WITH_TLS13=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_SERVER=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
|
||||
CONFIG_PACKAGE_adblock=y
|
||||
CONFIG_PACKAGE_ar3k-firmware=y
|
||||
CONFIG_PACKAGE_aria2=y
|
||||
CONFIG_PACKAGE_ath6k-firmware=y
|
||||
CONFIG_PACKAGE_ath9k-htc-firmware=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_block-mount=y
|
||||
CONFIG_PACKAGE_blockd=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-43430-sdio=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-usb=y
|
||||
CONFIG_PACKAGE_btrfs-progs=y
|
||||
CONFIG_PACKAGE_ca-bundle=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_carl9170-firmware=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_cgi-io=y
|
||||
CONFIG_PACKAGE_cgroupfs-mount=y
|
||||
CONFIG_PACKAGE_chat=y
|
||||
CONFIG_PACKAGE_collectd=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_collectd-mod-load=y
|
||||
CONFIG_PACKAGE_collectd-mod-memory=y
|
||||
CONFIG_PACKAGE_collectd-mod-network=y
|
||||
CONFIG_PACKAGE_collectd-mod-rrdtool=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
CONFIG_PACKAGE_collectd-mod-uptime=y
|
||||
CONFIG_PACKAGE_collectd-mod-wireless=y
|
||||
CONFIG_PACKAGE_comgt=y
|
||||
CONFIG_PACKAGE_containerd=y
|
||||
CONFIG_PACKAGE_dbus=y
|
||||
CONFIG_PACKAGE_ddns-scripts=y
|
||||
# CONFIG_PACKAGE_dnsmasq is not set
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_auth=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_conntrack=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcp=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dnssec=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_ipset=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_noid=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_tftp=y
|
||||
CONFIG_PACKAGE_e2fsprogs=y
|
||||
CONFIG_PACKAGE_edgeport-firmware=y
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_git=y
|
||||
CONFIG_PACKAGE_git-http=y
|
||||
CONFIG_PACKAGE_glib2=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_hostapd-common=y
|
||||
CONFIG_PACKAGE_ip-tiny=y
|
||||
CONFIG_PACKAGE_iperf=y
|
||||
CONFIG_PACKAGE_ipset=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_kmod-atm=y
|
||||
CONFIG_PACKAGE_kmod-br-netfilter=y
|
||||
CONFIG_PACKAGE_kmod-brcmfmac=y
|
||||
CONFIG_PACKAGE_kmod-brcmutil=y
|
||||
CONFIG_PACKAGE_kmod-cfg80211=y
|
||||
CONFIG_PACKAGE_kmod-crypto-acompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-aead=y
|
||||
CONFIG_PACKAGE_kmod-crypto-arc4=y
|
||||
CONFIG_PACKAGE_kmod-crypto-authenc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ctr=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ecb=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gcm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gf128=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ghash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-manager=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-null=y
|
||||
CONFIG_PACKAGE_kmod-crypto-pcompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-seqiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha1=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-wq=y
|
||||
CONFIG_PACKAGE_kmod-cryptodev=y
|
||||
CONFIG_PACKAGE_kmod-dax=y
|
||||
CONFIG_PACKAGE_kmod-dm=y
|
||||
CONFIG_PACKAGE_kmod-dummy=y
|
||||
CONFIG_PACKAGE_kmod-fs-autofs4=y
|
||||
CONFIG_PACKAGE_kmod-fs-btrfs=y
|
||||
CONFIG_PACKAGE_kmod-gre=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-ikconfig=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipset=y
|
||||
CONFIG_PACKAGE_kmod-ipt-raw=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-l2tp=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-lzo=y
|
||||
CONFIG_PACKAGE_kmod-lib-raid6=y
|
||||
CONFIG_PACKAGE_kmod-lib-textsearch=y
|
||||
CONFIG_PACKAGE_kmod-lib-xor=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zstd=y
|
||||
CONFIG_PACKAGE_kmod-macvlan=y
|
||||
CONFIG_PACKAGE_kmod-mii=y
|
||||
CONFIG_PACKAGE_kmod-mmc=y
|
||||
CONFIG_PACKAGE_kmod-mppe=y
|
||||
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipvs=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
|
||||
CONFIG_PACKAGE_kmod-nfnetlink=y
|
||||
CONFIG_PACKAGE_kmod-nls-base=y
|
||||
CONFIG_PACKAGE_kmod-pppoa=y
|
||||
CONFIG_PACKAGE_kmod-pppol2tp=y
|
||||
CONFIG_PACKAGE_kmod-pptp=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-connmark=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-usb-core=y
|
||||
CONFIG_PACKAGE_kmod-usb-net=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
|
||||
CONFIG_PACKAGE_kmod-usb-wdm=y
|
||||
CONFIG_PACKAGE_kmod-veth=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libblkid=y
|
||||
CONFIG_PACKAGE_libbz2=y
|
||||
CONFIG_PACKAGE_libcomerr=y
|
||||
CONFIG_PACKAGE_libcurl=y
|
||||
CONFIG_PACKAGE_libdbus=y
|
||||
CONFIG_PACKAGE_libdevmapper=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libertas-spi-firmware=y
|
||||
CONFIG_PACKAGE_libertas-usb-firmware=y
|
||||
CONFIG_PACKAGE_libexif=y
|
||||
CONFIG_PACKAGE_libexpat=y
|
||||
CONFIG_PACKAGE_libext2fs=y
|
||||
CONFIG_PACKAGE_libf2fs=y
|
||||
CONFIG_PACKAGE_libfdisk=y
|
||||
CONFIG_PACKAGE_libffi=y
|
||||
CONFIG_PACKAGE_libffmpeg-audio-dec=y
|
||||
CONFIG_PACKAGE_libflac=y
|
||||
CONFIG_PACKAGE_libgmp=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libid3tag=y
|
||||
CONFIG_PACKAGE_libipset=y
|
||||
CONFIG_PACKAGE_libiwinfo=y
|
||||
CONFIG_PACKAGE_libiwinfo-lua=y
|
||||
CONFIG_PACKAGE_libjpeg=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua=y
|
||||
CONFIG_PACKAGE_liblucihttp=y
|
||||
CONFIG_PACKAGE_liblucihttp-lua=y
|
||||
CONFIG_PACKAGE_liblzo=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmbim=y
|
||||
CONFIG_PACKAGE_libmnl=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libncurses=y
|
||||
CONFIG_PACKAGE_libnetfilter-conntrack=y
|
||||
CONFIG_PACKAGE_libnettle=y
|
||||
CONFIG_PACKAGE_libnetwork=y
|
||||
CONFIG_PACKAGE_libnfnetlink=y
|
||||
CONFIG_PACKAGE_libogg=y
|
||||
CONFIG_PACKAGE_libopenssl=y
|
||||
CONFIG_PACKAGE_libopenssl-conf=y
|
||||
CONFIG_PACKAGE_libpcre=y
|
||||
CONFIG_PACKAGE_libpopt=y
|
||||
CONFIG_PACKAGE_libqmi=y
|
||||
CONFIG_PACKAGE_libreadline=y
|
||||
CONFIG_PACKAGE_librrd1=y
|
||||
CONFIG_PACKAGE_librt=y
|
||||
CONFIG_PACKAGE_libseccomp=y
|
||||
CONFIG_PACKAGE_libsmartcols=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libss=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libtasn1=y
|
||||
CONFIG_PACKAGE_libubus-lua=y
|
||||
CONFIG_PACKAGE_libuci-lua=y
|
||||
CONFIG_PACKAGE_libusb-1.0=y
|
||||
CONFIG_PACKAGE_libuuid=y
|
||||
CONFIG_PACKAGE_libvorbis=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_linux-atm=y
|
||||
CONFIG_PACKAGE_lua=y
|
||||
CONFIG_PACKAGE_luci=y
|
||||
CONFIG_PACKAGE_luci-app-adblock=y
|
||||
CONFIG_PACKAGE_luci-app-aria2=y
|
||||
CONFIG_PACKAGE_luci-app-commands=y
|
||||
CONFIG_PACKAGE_luci-app-ddns=y
|
||||
CONFIG_PACKAGE_luci-app-firewall=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-minidlna=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-nlbwmon=y
|
||||
CONFIG_PACKAGE_luci-app-ntpc=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn=y
|
||||
CONFIG_PACKAGE_luci-app-opkg=y
|
||||
CONFIG_PACKAGE_luci-app-qos=y
|
||||
CONFIG_PACKAGE_luci-app-samba=y
|
||||
CONFIG_PACKAGE_luci-app-sqm=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
CONFIG_PACKAGE_luci-app-watchcat=y
|
||||
CONFIG_PACKAGE_luci-app-wifischedule=y
|
||||
CONFIG_PACKAGE_luci-base=y
|
||||
CONFIG_PACKAGE_luci-compat=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-lib-ip=y
|
||||
CONFIG_PACKAGE_luci-lib-ipkg=y
|
||||
CONFIG_PACKAGE_luci-lib-iptparser=y
|
||||
CONFIG_PACKAGE_luci-lib-jsonc=y
|
||||
CONFIG_PACKAGE_luci-lib-nixio=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-proto-3g=y
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-proto-modemmanager=y
|
||||
CONFIG_PACKAGE_luci-proto-openconnect=y
|
||||
CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
CONFIG_PACKAGE_luci-proto-qmi=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_minidlna=y
|
||||
CONFIG_PACKAGE_miniupnpd=y
|
||||
CONFIG_PACKAGE_mkf2fs=y
|
||||
CONFIG_PACKAGE_modemmanager=y
|
||||
CONFIG_PACKAGE_mount-utils=y
|
||||
CONFIG_PACKAGE_mt7601u-firmware=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_mwl8k-firmware=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_ntpclient=y
|
||||
CONFIG_PACKAGE_openconnect=y
|
||||
CONFIG_PACKAGE_openssh-client=y
|
||||
CONFIG_PACKAGE_openssh-client-utils=y
|
||||
CONFIG_PACKAGE_openssh-keygen=y
|
||||
CONFIG_PACKAGE_openssl-util=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_p54-usb-firmware=y
|
||||
CONFIG_PACKAGE_partx-utils=y
|
||||
CONFIG_PACKAGE_ppp-mod-passwordfd=y
|
||||
CONFIG_PACKAGE_ppp-mod-pppoa=y
|
||||
CONFIG_PACKAGE_ppp-mod-pppol2tp=y
|
||||
CONFIG_PACKAGE_ppp-mod-pptp=y
|
||||
CONFIG_PACKAGE_ppp-mod-radius=y
|
||||
CONFIG_PACKAGE_prism54-firmware=y
|
||||
CONFIG_PACKAGE_qmi-utils=y
|
||||
CONFIG_PACKAGE_qos-scripts=y
|
||||
CONFIG_PACKAGE_r8169-firmware=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_rpcd=y
|
||||
CONFIG_PACKAGE_rpcd-mod-file=y
|
||||
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_rpcd-mod-luci=y
|
||||
CONFIG_PACKAGE_rpcd-mod-rrdns=y
|
||||
CONFIG_PACKAGE_rrdtool1=y
|
||||
CONFIG_PACKAGE_rs9113-firmware=y
|
||||
CONFIG_PACKAGE_rsync=y
|
||||
CONFIG_PACKAGE_rt2800-usb-firmware=y
|
||||
CONFIG_PACKAGE_rt73-usb-firmware=y
|
||||
CONFIG_PACKAGE_rtl8188eu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192ce-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192cu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192de-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192se-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192su-firmware=y
|
||||
CONFIG_PACKAGE_rtl8821ae-firmware=y
|
||||
CONFIG_PACKAGE_runc=y
|
||||
CONFIG_PACKAGE_samba36-server=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_tc=y
|
||||
CONFIG_PACKAGE_terminfo=y
|
||||
CONFIG_PACKAGE_ti-3410-firmware=y
|
||||
CONFIG_PACKAGE_ti-5052-firmware=y
|
||||
CONFIG_PACKAGE_tini=y
|
||||
CONFIG_PACKAGE_triggerhappy=y
|
||||
CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_uclibcxx=y
|
||||
CONFIG_PACKAGE_uhttpd=y
|
||||
CONFIG_PACKAGE_umbim=y
|
||||
CONFIG_PACKAGE_uqmi=y
|
||||
CONFIG_PACKAGE_usb-modeswitch=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_vpnc-scripts=y
|
||||
CONFIG_PACKAGE_watchcat=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_wifischedule=y
|
||||
CONFIG_PACKAGE_wireless-regdb=y
|
||||
CONFIG_PACKAGE_wl12xx-firmware=y
|
||||
CONFIG_PACKAGE_wl18xx-firmware=y
|
||||
CONFIG_PACKAGE_wpad-mini=y
|
||||
CONFIG_PACKAGE_wwan=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_RSYNC_zlib=y
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_TARGET_EXT4_BLOCKSIZE=4096
|
||||
CONFIG_TARGET_EXT4_BLOCKSIZE_4K=y
|
||||
CONFIG_TARGET_EXT4_RESERVED_PCT=0
|
||||
CONFIG_TARGET_IMAGES_GZIP=y
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=512
|
||||
CONFIG_TARGET_ROOTFS_SQUASHFS=y
|
||||
# CONFIG_TARGET_ROOTFS_TARGZ is not set
|
||||
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
|
||||
CONFIG_VERSIONOPT=y
|
||||
CONFIG_VERSION_BUG_URL=""
|
||||
CONFIG_VERSION_CODE=""
|
||||
CONFIG_VERSION_CODE_FILENAMES=y
|
||||
CONFIG_VERSION_DIST="OpenWrt"
|
||||
CONFIG_VERSION_FILENAMES=y
|
||||
CONFIG_VERSION_HOME_URL=""
|
||||
CONFIG_VERSION_HWREV=""
|
||||
CONFIG_VERSION_MANUFACTURER=""
|
||||
CONFIG_VERSION_MANUFACTURER_URL=""
|
||||
CONFIG_VERSION_NUMBER=""
|
||||
CONFIG_VERSION_PRODUCT=""
|
||||
CONFIG_VERSION_REPO="http://downloads.openwrt.org/releases/18.06.1"
|
||||
CONFIG_VERSION_SUPPORT_URL=""
|
||||
CONFIG_WPA_MSG_MIN_PRIORITY=3
|
||||
|
||||
# CONFIG_PACKAGE_mt76-test is not set
|
||||
# CONFIG_PACKAGE_mt7601u-firmware is not set
|
||||
# CONFIG_PACKAGE_mt7622bt-firmware is not set
|
||||
CONFIG_PACKAGE_kmod-mt76=y
|
||||
CONFIG_PACKAGE_kmod-mt76-core=y
|
||||
CONFIG_PACKAGE_kmod-mt76-usb=y
|
||||
# CONFIG_PACKAGE_kmod-mt7601u is not set
|
||||
CONFIG_PACKAGE_kmod-mt7603=y
|
||||
CONFIG_PACKAGE_kmod-mt7615-common=y
|
||||
# CONFIG_PACKAGE_kmod-mt7615-firmware is not set
|
||||
# CONFIG_PACKAGE_kmod-mt7615e is not set
|
||||
# CONFIG_PACKAGE_kmod-mt7663-firmware-ap is not set
|
||||
# CONFIG_PACKAGE_kmod-mt7663-firmware-sta is not set
|
||||
CONFIG_PACKAGE_kmod-mt7663-usb-sdio=y
|
||||
# CONFIG_PACKAGE_kmod-mt7663s is not set
|
||||
CONFIG_PACKAGE_kmod-mt7663u=y
|
||||
CONFIG_PACKAGE_kmod-mt76x0-common=y
|
||||
CONFIG_PACKAGE_kmod-mt76x02-common=y
|
||||
CONFIG_PACKAGE_kmod-mt76x02-usb=y
|
||||
# CONFIG_PACKAGE_kmod-mt76x0e is not set
|
||||
CONFIG_PACKAGE_kmod-mt76x0u=y
|
||||
CONFIG_PACKAGE_kmod-mt76x2=y
|
||||
CONFIG_PACKAGE_kmod-mt76x2-common=y
|
||||
CONFIG_PACKAGE_kmod-mt76x2u=y
|
||||
# CONFIG_PACKAGE_kmod-mt7915e is not set
|
||||
|
||||
|
||||
CONFIG_PACKAGE_dns2socks=n
|
|
@ -1,503 +0,0 @@
|
|||
CONFIG_TARGET_rockchip_rk3328=y
|
||||
CONFIG_TARGET_rockchip_rk3328_Default=y
|
||||
CONFIG_TARGET_BOARD="rockchip-rk3328"
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_ARIA2_BITTORRENT=y
|
||||
CONFIG_ARIA2_NOXML=y
|
||||
CONFIG_ARIA2_OPENSSL=y
|
||||
CONFIG_ARIA2_WEBSOCKET=y
|
||||
CONFIG_AUTOREMOVE=y
|
||||
CONFIG_BRCMFMAC_PCIE=y
|
||||
CONFIG_BRCMFMAC_SDIO=y
|
||||
CONFIG_BRCMFMAC_USB=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
CONFIG_DRIVER_11N_SUPPORT=y
|
||||
CONFIG_DRIVER_11W_SUPPORT=y
|
||||
CONFIG_GNUTLS_ALPN=y
|
||||
CONFIG_GNUTLS_ANON=y
|
||||
CONFIG_GNUTLS_CRYPTODEV=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_IMAGEOPT=y
|
||||
CONFIG_JSON_ADD_IMAGE_INFO=y
|
||||
CONFIG_KERNEL_ARM_PMU=y
|
||||
CONFIG_KERNEL_BLK_DEV_THROTTLING=y
|
||||
CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_BUILD_DOMAIN="buildhost"
|
||||
CONFIG_KERNEL_BUILD_USER="builder"
|
||||
CONFIG_KERNEL_CFQ_GROUP_IOSCHED=y
|
||||
CONFIG_KERNEL_CFS_BANDWIDTH=y
|
||||
CONFIG_KERNEL_CGROUP_PERF=y
|
||||
CONFIG_KERNEL_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_KERNEL_FS_POSIX_ACL=y
|
||||
# CONFIG_KERNEL_KALLSYMS is not set
|
||||
CONFIG_KERNEL_KEYS=y
|
||||
CONFIG_KERNEL_MEMCG_SWAP=y
|
||||
CONFIG_KERNEL_MEMCG_SWAP_ENABLED=y
|
||||
CONFIG_KERNEL_PERF_EVENTS=y
|
||||
CONFIG_LIBCURL_COOKIES=y
|
||||
CONFIG_LIBCURL_FILE=y
|
||||
CONFIG_LIBCURL_FTP=y
|
||||
CONFIG_LIBCURL_HTTP=y
|
||||
CONFIG_LIBCURL_MBEDTLS=y
|
||||
CONFIG_LIBCURL_NO_SMB="!"
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_LUCI_LANG_en=y
|
||||
CONFIG_LUCI_LANG_zh_Hans=y
|
||||
CONFIG_LUCI_LANG_zh_Hant=y
|
||||
CONFIG_MODEMMANAGER_WITH_MBIM=y
|
||||
CONFIG_MODEMMANAGER_WITH_QMI=y
|
||||
CONFIG_OPENCONNECT_GNUTLS=y
|
||||
CONFIG_OPENSSL_ENGINE=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN=y
|
||||
CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO=y
|
||||
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
|
||||
CONFIG_OPENSSL_WITH_ASM=y
|
||||
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
|
||||
CONFIG_OPENSSL_WITH_CMS=y
|
||||
CONFIG_OPENSSL_WITH_DEPRECATED=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
|
||||
CONFIG_OPENSSL_WITH_NPN=y
|
||||
CONFIG_OPENSSL_WITH_PSK=y
|
||||
CONFIG_OPENSSL_WITH_SRP=y
|
||||
CONFIG_OPENSSL_WITH_TLS13=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_SERVER=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
|
||||
CONFIG_PACKAGE_adblock=y
|
||||
CONFIG_PACKAGE_ar3k-firmware=y
|
||||
CONFIG_PACKAGE_aria2=y
|
||||
CONFIG_PACKAGE_ath6k-firmware=y
|
||||
CONFIG_PACKAGE_ath9k-htc-firmware=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_block-mount=y
|
||||
CONFIG_PACKAGE_blockd=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-43430-sdio=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-usb=y
|
||||
CONFIG_PACKAGE_btrfs-progs=y
|
||||
CONFIG_PACKAGE_ca-bundle=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_carl9170-firmware=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_cgi-io=y
|
||||
CONFIG_PACKAGE_cgroupfs-mount=y
|
||||
CONFIG_PACKAGE_chat=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_collectd=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_collectd-mod-load=y
|
||||
CONFIG_PACKAGE_collectd-mod-memory=y
|
||||
CONFIG_PACKAGE_collectd-mod-network=y
|
||||
CONFIG_PACKAGE_collectd-mod-rrdtool=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
CONFIG_PACKAGE_collectd-mod-uptime=y
|
||||
CONFIG_PACKAGE_collectd-mod-wireless=y
|
||||
CONFIG_PACKAGE_comgt=y
|
||||
CONFIG_PACKAGE_containerd=y
|
||||
CONFIG_PACKAGE_coreutils=y
|
||||
CONFIG_PACKAGE_coreutils-base64=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_dbus=y
|
||||
CONFIG_PACKAGE_ddns-scripts=y
|
||||
CONFIG_PACKAGE_dns2socks=y
|
||||
# CONFIG_PACKAGE_dnsmasq is not set
|
||||
CONFIG_PACKAGE_dnsmasq-full=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_auth=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_conntrack=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcp=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dnssec=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_ipset=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_noid=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_tftp=y
|
||||
CONFIG_PACKAGE_e2fsprogs=y
|
||||
CONFIG_PACKAGE_edgeport-firmware=y
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_git=y
|
||||
CONFIG_PACKAGE_git-http=y
|
||||
CONFIG_PACKAGE_glib2=y
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_hd-idle=y
|
||||
CONFIG_PACKAGE_hostapd-common=y
|
||||
CONFIG_PACKAGE_ip-tiny=y
|
||||
CONFIG_PACKAGE_iperf=y
|
||||
CONFIG_PACKAGE_ipset=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_kmod-atm=y
|
||||
CONFIG_PACKAGE_kmod-br-netfilter=y
|
||||
CONFIG_PACKAGE_kmod-brcmfmac=y
|
||||
CONFIG_PACKAGE_kmod-brcmutil=y
|
||||
CONFIG_PACKAGE_kmod-cfg80211=y
|
||||
CONFIG_PACKAGE_kmod-crypto-acompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-aead=y
|
||||
CONFIG_PACKAGE_kmod-crypto-arc4=y
|
||||
CONFIG_PACKAGE_kmod-crypto-authenc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ctr=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ecb=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gcm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gf128=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ghash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-manager=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-null=y
|
||||
CONFIG_PACKAGE_kmod-crypto-pcompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-seqiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha1=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-wq=y
|
||||
CONFIG_PACKAGE_kmod-cryptodev=y
|
||||
CONFIG_PACKAGE_kmod-dax=y
|
||||
CONFIG_PACKAGE_kmod-dm=y
|
||||
CONFIG_PACKAGE_kmod-dummy=y
|
||||
CONFIG_PACKAGE_kmod-fs-autofs4=y
|
||||
CONFIG_PACKAGE_kmod-fs-btrfs=y
|
||||
CONFIG_PACKAGE_kmod-gre=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-ikconfig=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipset=y
|
||||
CONFIG_PACKAGE_kmod-ipt-raw=y
|
||||
CONFIG_PACKAGE_kmod-ipt-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-l2tp=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-lzo=y
|
||||
CONFIG_PACKAGE_kmod-lib-raid6=y
|
||||
CONFIG_PACKAGE_kmod-lib-textsearch=y
|
||||
CONFIG_PACKAGE_kmod-lib-xor=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zstd=y
|
||||
CONFIG_PACKAGE_kmod-macvlan=y
|
||||
CONFIG_PACKAGE_kmod-mii=y
|
||||
CONFIG_PACKAGE_kmod-mmc=y
|
||||
CONFIG_PACKAGE_kmod-mppe=y
|
||||
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipvs=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper=y
|
||||
CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
|
||||
CONFIG_PACKAGE_kmod-nfnetlink=y
|
||||
CONFIG_PACKAGE_kmod-nls-base=y
|
||||
CONFIG_PACKAGE_kmod-pppoa=y
|
||||
CONFIG_PACKAGE_kmod-pppol2tp=y
|
||||
CONFIG_PACKAGE_kmod-pptp=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-connmark=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-usb-core=y
|
||||
CONFIG_PACKAGE_kmod-usb-net=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
|
||||
CONFIG_PACKAGE_kmod-usb-wdm=y
|
||||
CONFIG_PACKAGE_kmod-veth=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libblkid=y
|
||||
CONFIG_PACKAGE_libbz2=y
|
||||
CONFIG_PACKAGE_libcomerr=y
|
||||
CONFIG_PACKAGE_libcurl=y
|
||||
CONFIG_PACKAGE_libdbus=y
|
||||
CONFIG_PACKAGE_libdevmapper=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libertas-spi-firmware=y
|
||||
CONFIG_PACKAGE_libertas-usb-firmware=y
|
||||
CONFIG_PACKAGE_libexif=y
|
||||
CONFIG_PACKAGE_libexpat=y
|
||||
CONFIG_PACKAGE_libext2fs=y
|
||||
CONFIG_PACKAGE_libf2fs=y
|
||||
CONFIG_PACKAGE_libfdisk=y
|
||||
CONFIG_PACKAGE_libffi=y
|
||||
CONFIG_PACKAGE_libffmpeg-audio-dec=y
|
||||
CONFIG_PACKAGE_libflac=y
|
||||
CONFIG_PACKAGE_libgmp=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libid3tag=y
|
||||
CONFIG_PACKAGE_libipset=y
|
||||
CONFIG_PACKAGE_libiwinfo=y
|
||||
CONFIG_PACKAGE_libiwinfo-lua=y
|
||||
CONFIG_PACKAGE_libjpeg=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_liblucihttp=y
|
||||
CONFIG_PACKAGE_liblucihttp-lua=y
|
||||
CONFIG_PACKAGE_liblzo=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmbim=y
|
||||
CONFIG_PACKAGE_libmnl=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libncurses=y
|
||||
CONFIG_PACKAGE_libnetfilter-conntrack=y
|
||||
CONFIG_PACKAGE_libnettle=y
|
||||
CONFIG_PACKAGE_libnetwork=y
|
||||
CONFIG_PACKAGE_libnfnetlink=y
|
||||
CONFIG_PACKAGE_libogg=y
|
||||
CONFIG_PACKAGE_libopenssl=y
|
||||
CONFIG_PACKAGE_libopenssl-conf=y
|
||||
CONFIG_PACKAGE_libpcre=y
|
||||
CONFIG_PACKAGE_libpopt=y
|
||||
CONFIG_PACKAGE_libqmi=y
|
||||
CONFIG_PACKAGE_libreadline=y
|
||||
CONFIG_PACKAGE_librrd1=y
|
||||
CONFIG_PACKAGE_librt=y
|
||||
CONFIG_PACKAGE_libseccomp=y
|
||||
CONFIG_PACKAGE_libsmartcols=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libss=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libtasn1=y
|
||||
CONFIG_PACKAGE_libubus-lua=y
|
||||
CONFIG_PACKAGE_libuci-lua=y
|
||||
CONFIG_PACKAGE_libusb-1.0=y
|
||||
CONFIG_PACKAGE_libuuid=y
|
||||
CONFIG_PACKAGE_libuv=y
|
||||
CONFIG_PACKAGE_libvorbis=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_linux-atm=y
|
||||
CONFIG_PACKAGE_lua=y
|
||||
CONFIG_PACKAGE_luci=y
|
||||
CONFIG_PACKAGE_luci-app-adblock=y
|
||||
CONFIG_PACKAGE_luci-app-aria2=y
|
||||
CONFIG_PACKAGE_luci-app-commands=y
|
||||
CONFIG_PACKAGE_luci-app-ddns=y
|
||||
CONFIG_PACKAGE_luci-app-firewall=y
|
||||
CONFIG_PACKAGE_luci-app-hd-idle=y
|
||||
CONFIG_PACKAGE_luci-app-minidlna=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-nlbwmon=y
|
||||
CONFIG_PACKAGE_luci-app-ntpc=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn=y
|
||||
CONFIG_PACKAGE_luci-app-opkg=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-qos=y
|
||||
CONFIG_PACKAGE_luci-app-samba=y
|
||||
CONFIG_PACKAGE_luci-app-sqm=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
CONFIG_PACKAGE_luci-app-watchcat=y
|
||||
CONFIG_PACKAGE_luci-app-wifischedule=y
|
||||
CONFIG_PACKAGE_luci-base=y
|
||||
CONFIG_PACKAGE_luci-compat=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-adblock-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-aria2-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-base-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-commands-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-firewall-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-hd-idle-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-minidlna-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-nlbwmon-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ntpc-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-openvpn-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-opkg-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-qos-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-samba-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-statistics-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-watchcat-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-wifischedule-zh-tw=y
|
||||
CONFIG_PACKAGE_luci-lib-ip=y
|
||||
CONFIG_PACKAGE_luci-lib-ipkg=y
|
||||
CONFIG_PACKAGE_luci-lib-iptparser=y
|
||||
CONFIG_PACKAGE_luci-lib-jsonc=y
|
||||
CONFIG_PACKAGE_luci-lib-nixio=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-proto-3g=y
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-proto-modemmanager=y
|
||||
CONFIG_PACKAGE_luci-proto-openconnect=y
|
||||
CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
CONFIG_PACKAGE_luci-proto-qmi=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-dark-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-argon-light-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap-mod=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear-mc=y
|
||||
CONFIG_PACKAGE_luci-theme-openwrt=y
|
||||
CONFIG_PACKAGE_minidlna=y
|
||||
CONFIG_PACKAGE_miniupnpd=y
|
||||
CONFIG_PACKAGE_mkf2fs=y
|
||||
CONFIG_PACKAGE_modemmanager=y
|
||||
CONFIG_PACKAGE_mount-utils=y
|
||||
CONFIG_PACKAGE_mt7601u-firmware=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_mwl8k-firmware=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_ntpclient=y
|
||||
CONFIG_PACKAGE_openconnect=y
|
||||
CONFIG_PACKAGE_openssh-client=y
|
||||
CONFIG_PACKAGE_openssh-client-utils=y
|
||||
CONFIG_PACKAGE_openssh-keygen=y
|
||||
CONFIG_PACKAGE_openssl-util=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_p54-usb-firmware=y
|
||||
CONFIG_PACKAGE_partx-utils=y
|
||||
CONFIG_PACKAGE_pdnsd-alt=y
|
||||
CONFIG_PACKAGE_ppp-mod-passwordfd=y
|
||||
CONFIG_PACKAGE_ppp-mod-pppoa=y
|
||||
CONFIG_PACKAGE_ppp-mod-pppol2tp=y
|
||||
CONFIG_PACKAGE_ppp-mod-pptp=y
|
||||
CONFIG_PACKAGE_ppp-mod-radius=y
|
||||
CONFIG_PACKAGE_prism54-firmware=y
|
||||
CONFIG_PACKAGE_qmi-utils=y
|
||||
CONFIG_PACKAGE_qos-scripts=y
|
||||
CONFIG_PACKAGE_r8169-firmware=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_rpcd=y
|
||||
CONFIG_PACKAGE_rpcd-mod-file=y
|
||||
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_rpcd-mod-luci=y
|
||||
CONFIG_PACKAGE_rpcd-mod-rrdns=y
|
||||
CONFIG_PACKAGE_rrdtool1=y
|
||||
CONFIG_PACKAGE_rs9113-firmware=y
|
||||
CONFIG_PACKAGE_rsync=y
|
||||
CONFIG_PACKAGE_rt2800-usb-firmware=y
|
||||
CONFIG_PACKAGE_rt73-usb-firmware=y
|
||||
CONFIG_PACKAGE_rtl8188eu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192ce-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192cu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192de-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192se-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192su-firmware=y
|
||||
CONFIG_PACKAGE_rtl8821ae-firmware=y
|
||||
CONFIG_PACKAGE_runc=y
|
||||
CONFIG_PACKAGE_samba36-server=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-alt=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_tc=y
|
||||
CONFIG_PACKAGE_tcping=y
|
||||
CONFIG_PACKAGE_terminfo=y
|
||||
CONFIG_PACKAGE_ti-3410-firmware=y
|
||||
CONFIG_PACKAGE_ti-5052-firmware=y
|
||||
CONFIG_PACKAGE_tini=y
|
||||
CONFIG_PACKAGE_triggerhappy=y
|
||||
CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_uclibcxx=y
|
||||
CONFIG_PACKAGE_uhttpd=y
|
||||
CONFIG_PACKAGE_umbim=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_uqmi=y
|
||||
CONFIG_PACKAGE_usb-modeswitch=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_v2ray=y
|
||||
CONFIG_PACKAGE_vpnc-scripts=y
|
||||
CONFIG_PACKAGE_watchcat=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_wifischedule=y
|
||||
CONFIG_PACKAGE_wireless-regdb=y
|
||||
CONFIG_PACKAGE_wl12xx-firmware=y
|
||||
CONFIG_PACKAGE_wl18xx-firmware=y
|
||||
CONFIG_PACKAGE_wpad-mini=y
|
||||
CONFIG_PACKAGE_wwan=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_RSYNC_zlib=y
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_TARGET_EXT4_BLOCKSIZE=4096
|
||||
CONFIG_TARGET_EXT4_BLOCKSIZE_4K=y
|
||||
CONFIG_TARGET_EXT4_RESERVED_PCT=0
|
||||
CONFIG_TARGET_IMAGES_GZIP=y
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=512
|
||||
CONFIG_TARGET_ROOTFS_SQUASHFS=y
|
||||
# CONFIG_TARGET_ROOTFS_TARGZ is not set
|
||||
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
|
||||
CONFIG_VERSIONOPT=y
|
||||
CONFIG_VERSION_BUG_URL=""
|
||||
CONFIG_VERSION_CODE=""
|
||||
CONFIG_VERSION_CODE_FILENAMES=y
|
||||
CONFIG_VERSION_DIST="OpenWrt"
|
||||
CONFIG_VERSION_FILENAMES=y
|
||||
CONFIG_VERSION_HOME_URL=""
|
||||
CONFIG_VERSION_HWREV=""
|
||||
CONFIG_VERSION_MANUFACTURER=""
|
||||
CONFIG_VERSION_MANUFACTURER_URL=""
|
||||
CONFIG_VERSION_NUMBER=""
|
||||
CONFIG_VERSION_PRODUCT=""
|
||||
CONFIG_VERSION_REPO="http://downloads.openwrt.org/releases/18.06.1"
|
||||
CONFIG_VERSION_SUPPORT_URL=""
|
||||
CONFIG_WPA_MSG_MIN_PRIORITY=3
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remote name="origin"
|
||||
fetch="."
|
||||
revision="refs/heads/master" />
|
||||
<remote name="self" fetch="https://github.com/klever1988" />
|
||||
|
||||
<project path="kernel" name="kernel-rockchip" remote="origin" revision="refs/heads/nanopi-r2-v5.4.y" />
|
||||
<project path="u-boot" name="uboot-rockchip" remote="origin" revision="refs/heads/nanopi-r2-v2014.10" />
|
||||
|
||||
<!-- img tools for rk3328 -->
|
||||
<project path="scripts/sd-fuse" name="sd-fuse_rk3328" remote="origin" >
|
||||
<linkfile dest="out" src="out"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlyelec device configs -->
|
||||
<project path="device/friendlyelec" name="friendlywrt_device_rk3328" remote="origin" />
|
||||
<project path="configs" name="friendlywrt_configs" remote="origin" revision="refs/heads/master-v19.07.1" />
|
||||
|
||||
<!-- friendlyelec scripts -->
|
||||
<project path="scripts" name="friendlywrt_scripts" remote="origin">
|
||||
<linkfile dest="build.sh" src="build.sh"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlywrt source code -->
|
||||
<project path="friendlywrt" name="friendlywrt" remote="self" revision="refs/heads/master-v19.07.1" />
|
||||
|
||||
<!-- toolchain -->
|
||||
<project path="toolchain" name="prebuilts" remote="origin" revision="refs/heads/master" />
|
||||
</manifest>
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remote name="origin"
|
||||
fetch="."
|
||||
revision="refs/heads/master" />
|
||||
<remote name="self" fetch="https://github.com/klever1988" />
|
||||
|
||||
<project path="kernel" name="kernel-rockchip" remote="origin" revision="refs/heads/nanopi-r2-v5.4.y" />
|
||||
<project path="u-boot" name="uboot-rockchip" remote="origin" revision="refs/heads/nanopi-r2-v2014.10" />
|
||||
|
||||
<!-- img tools for rk3328 -->
|
||||
<project path="scripts/sd-fuse" name="sd-fuse_rk3328" remote="origin" >
|
||||
<linkfile dest="out" src="out"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlyelec device configs -->
|
||||
<project path="device/friendlyelec" name="friendlywrt_device_rk3328" remote="origin" />
|
||||
<project path="configs" name="friendlywrt_configs" remote="origin" />
|
||||
|
||||
<!-- friendlyelec scripts -->
|
||||
<project path="scripts" name="friendlywrt_scripts" remote="origin">
|
||||
<linkfile dest="build.sh" src="build.sh"/>
|
||||
</project>
|
||||
|
||||
<!-- friendlywrt source code -->
|
||||
<project path="friendlywrt" name="friendlywrt" remote="self" revision="refs/heads/master" />
|
||||
|
||||
<!-- toolchain -->
|
||||
<project path="toolchain" name="prebuilts" remote="origin" revision="refs/heads/master" />
|
||||
</manifest>
|
|
@ -1 +0,0 @@
|
|||
|
42
README.md
42
README.md
|
@ -5,43 +5,31 @@
|
|||
https://github.com/klever1988/nanopi-openwrt/releases
|
||||
(请记得下载zip包之后解压出里头的固件包再刷,不要拿zip直刷,会失败的!)
|
||||
|
||||
### 编译方式:
|
||||
### 固件源码:
|
||||
|
||||
本编译方案采用git rebase(变基),把友善friendlywrt对openwrt代码的修改应用到Lean和Lienol两个大佬的openwrt分支,并替换friendlywrt整套代码的方式,由此编译出分别包含两位大佬特色优化和插件的两版固件,寻求最佳的插件兼容性和稳定性。而minimal版是我根据自己的理解,在Lean版的基础上只编译我认为不影响设备性能的插件。目前测试结果显示,minimal虽然功能较少,但是性能是比较好的。
|
||||
https://github.com/immortalwrt/immortalwrt
|
||||
|
||||
### 温馨提示:
|
||||
|
||||
Lean版的默认用户名是root, 密码是password
|
||||
Lienol版默认用户名是root, 密码为空
|
||||
默认用户名是root, 密码是password
|
||||
烧制完固件插入tf卡并启动完成,电脑端显示“网络(已连接)”之后,在浏览器输入 http://immortalwrt/ 可以直接打开路由器后台,无需修改本地连接设置或者查看IP地址。如果网络状态一直是未识别(上电超过5分钟),请直接插拔一次电源重启试试。
|
||||
|
||||
烧制完固件插入tf卡并启动完成,电脑端显示“网络(已连接)”之后,在浏览器输入 http://friendlywrt/ 可以直接打开路由器后台,无需修改本地连接设置或者查看IP地址。如果网络状态一直是未识别(上电超过5分钟),请直接插拔一次电源重启试试。
|
||||
### 终端内在线升级方法:
|
||||
先安装好依赖
|
||||
```bash
|
||||
opkg update
|
||||
opkg install --force-overwrite pv fdisk
|
||||
```
|
||||
然后下载脚本执行
|
||||
```bash
|
||||
wget -qO- https://github.com/klever1988/nanopi-openwrt/raw/master/scripts/autoupdate.sh | sh
|
||||
```
|
||||
(脚本由gary lau提供,非常感谢!)
|
||||
|
||||
### 更新说明:
|
||||
|
||||
https://github.com/klever1988/nanopi-openwrt/blob/master/CHANGELOG.md
|
||||
|
||||
### R2S在线升级方法:
|
||||
(注意:目前仅支持R2S,仅能升级到minimal版本固件,如果你使用的是Lienol版也不要用此方法升级)
|
||||
先安装好依赖
|
||||
```bash
|
||||
opkg update
|
||||
opkg install zstd
|
||||
opkg install libzstd
|
||||
```
|
||||
然后下载脚本执行
|
||||
```bash
|
||||
wget -qO- https://github.com/klever1988/nanopi-openwrt/raw/master/scripts/autoupdate.sh | sh
|
||||
```
|
||||
(脚本由gary lau提供,非常感谢!)
|
||||
|
||||
### R2S离线升级方法:
|
||||
(注意:目前仅支持R2S,仅能升级到minimal版本固件,如果你使用的是Lienol版也不要用此方法升级)
|
||||
把下载好的 release固件 上传到R2S(系统 -> 文件传输 -> 上传)
|
||||
把下载好的scripts目录下的 autoupdate-offline.sh 上传到R2S(系统 -> 文件传输 -> 上传)
|
||||
然后脚本执行
|
||||
```bash
|
||||
sh /tmp/upload/autoupdate-offline.sh
|
||||
```
|
||||
#### 本固件(minimal版本)NAT基准性能测试:
|
||||
|
||||
<img src="https://github.com/klever1988/nanopi-openwrt/raw/master/assets/NAT.jpg" width="600" /><img src="https://raw.githubusercontent.com/klever1988/nanopi-openwrt/master/assets/Acc.jpg" width="250" />
|
||||
|
|
|
@ -1,798 +0,0 @@
|
|||
diff --git a/arch/arm64/configs/nanopi-r2_linux_defconfig b/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
index 240a9bf57..9f8f37ca7 100644
|
||||
--- a/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
+++ b/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
@@ -1665,3 +1665,4 @@ CONFIG_SCHEDSTATS=y
|
||||
CONFIG_DEBUG_SPINLOCK=y
|
||||
CONFIG_FUNCTION_TRACER=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
+CONFIG_IP_NF_TARGET_FULLCONENAT=y
|
||||
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
|
||||
index f17b40211..99f691a67 100644
|
||||
--- a/net/ipv4/netfilter/Kconfig
|
||||
+++ b/net/ipv4/netfilter/Kconfig
|
||||
@@ -239,6 +239,15 @@ config IP_NF_TARGET_NETMAP
|
||||
(e.g. when running oldconfig). It selects
|
||||
CONFIG_NETFILTER_XT_TARGET_NETMAP.
|
||||
|
||||
+config IP_NF_TARGET_FULLCONENAT
|
||||
+ tristate "FULLCONENAT target support"
|
||||
+ depends on NETFILTER_ADVANCED
|
||||
+ select NETFILTER_XT_TARGET_FULLCONENAT
|
||||
+ ---help---
|
||||
+ This is a backwards-compat option for the user's convenience
|
||||
+ (e.g. when running oldconfig). It selects
|
||||
+ CONFIG_NETFILTER_XT_TARGET_FULLCONENAT.
|
||||
+
|
||||
config IP_NF_TARGET_REDIRECT
|
||||
tristate "REDIRECT target support"
|
||||
depends on NETFILTER_ADVANCED
|
||||
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
|
||||
index 91efae88e..17f5c748a 100644
|
||||
--- a/net/netfilter/Kconfig
|
||||
+++ b/net/netfilter/Kconfig
|
||||
@@ -956,6 +956,14 @@ config NETFILTER_XT_TARGET_NETMAP
|
||||
|
||||
To compile it as a module, choose M here. If unsure, say N.
|
||||
|
||||
+config NETFILTER_XT_TARGET_FULLCONENAT
|
||||
+ tristate '"FULLCONENAT" target support'
|
||||
+ depends on NF_NAT
|
||||
+ ---help---
|
||||
+ Full Cone NAT
|
||||
+
|
||||
+ To compile it as a module, choose M here. If unsure, say N.
|
||||
+
|
||||
config NETFILTER_XT_TARGET_NFLOG
|
||||
tristate '"NFLOG" target support'
|
||||
default m if NETFILTER_ADVANCED=n
|
||||
diff --git a/net/netfilter/Makefile b/net/netfilter/Makefile
|
||||
index 4fc075b61..2b588d5a5 100644
|
||||
--- a/net/netfilter/Makefile
|
||||
+++ b/net/netfilter/Makefile
|
||||
@@ -209,3 +209,6 @@ obj-$(CONFIG_IP_SET) += ipset/
|
||||
|
||||
# IPVS
|
||||
obj-$(CONFIG_IP_VS) += ipvs/
|
||||
+
|
||||
+# Full cone NAT
|
||||
+obj-$(CONFIG_NETFILTER_XT_TARGET_FULLCONENAT) += xt_FULLCONENAT.o
|
||||
diff --git a/net/netfilter/xt_FULLCONENAT.c b/net/netfilter/xt_FULLCONENAT.c
|
||||
new file mode 100644
|
||||
index 000000000..8555b54e2
|
||||
--- /dev/null
|
||||
+++ b/net/netfilter/xt_FULLCONENAT.c
|
||||
@@ -0,0 +1,733 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2018 Chion Tang <tech@chionlab.moe>
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or modify
|
||||
+ * it under the terms of the GNU General Public License version 2 as
|
||||
+ * published by the Free Software Foundation.
|
||||
+ */
|
||||
+
|
||||
+#include <linux/kernel.h>
|
||||
+#include <linux/module.h>
|
||||
+#include <linux/version.h>
|
||||
+#include <linux/types.h>
|
||||
+#include <linux/list.h>
|
||||
+#include <linux/hashtable.h>
|
||||
+#include <linux/netdevice.h>
|
||||
+#include <linux/inetdevice.h>
|
||||
+#include <linux/workqueue.h>
|
||||
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
||||
+#include <linux/notifier.h>
|
||||
+#endif
|
||||
+#include <linux/netfilter.h>
|
||||
+#include <linux/netfilter_ipv4.h>
|
||||
+#include <linux/netfilter/x_tables.h>
|
||||
+#include <net/netfilter/nf_nat.h>
|
||||
+#include <net/netfilter/nf_conntrack.h>
|
||||
+#include <net/netfilter/nf_conntrack_zones.h>
|
||||
+#include <net/netfilter/nf_conntrack_tuple.h>
|
||||
+#include <net/netfilter/nf_conntrack_core.h>
|
||||
+#include <net/netfilter/nf_conntrack_ecache.h>
|
||||
+
|
||||
+#define HASH_2(x, y) ((x + y) / 2 * (x + y + 1) + y)
|
||||
+
|
||||
+#define HASHTABLE_BUCKET_BITS 10
|
||||
+
|
||||
+#ifndef NF_NAT_RANGE_PROTO_RANDOM_FULLY
|
||||
+#define NF_NAT_RANGE_PROTO_RANDOM_FULLY (1 << 4)
|
||||
+#endif
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0)
|
||||
+
|
||||
+static inline int nf_ct_netns_get(struct net *net, u8 nfproto) { return 0; }
|
||||
+
|
||||
+static inline void nf_ct_netns_put(struct net *net, u8 nfproto) {}
|
||||
+
|
||||
+static inline struct net_device *xt_in(const struct xt_action_param *par) {
|
||||
+ return par->in;
|
||||
+}
|
||||
+
|
||||
+static inline struct net_device *xt_out(const struct xt_action_param *par) {
|
||||
+ return par->out;
|
||||
+}
|
||||
+
|
||||
+static inline unsigned int xt_hooknum(const struct xt_action_param *par) {
|
||||
+ return par->hooknum;
|
||||
+}
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
+struct nat_mapping_original_tuple {
|
||||
+ struct nf_conntrack_tuple tuple;
|
||||
+
|
||||
+ struct list_head node;
|
||||
+};
|
||||
+
|
||||
+struct nat_mapping {
|
||||
+ uint16_t port; /* external UDP port */
|
||||
+ int ifindex; /* external interface index*/
|
||||
+
|
||||
+ __be32 int_addr; /* internal source ip address */
|
||||
+ uint16_t int_port; /* internal source port */
|
||||
+
|
||||
+ int refer_count; /* how many references linked to this mapping
|
||||
+ * aka. length of original_tuple_list */
|
||||
+
|
||||
+ struct list_head original_tuple_list;
|
||||
+
|
||||
+ struct hlist_node node_by_ext_port;
|
||||
+ struct hlist_node node_by_int_src;
|
||||
+
|
||||
+};
|
||||
+
|
||||
+struct tuple_list {
|
||||
+ struct nf_conntrack_tuple tuple_original;
|
||||
+ struct nf_conntrack_tuple tuple_reply;
|
||||
+ struct list_head list;
|
||||
+};
|
||||
+
|
||||
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
||||
+struct notifier_block ct_event_notifier;
|
||||
+#else
|
||||
+struct nf_ct_event_notifier ct_event_notifier;
|
||||
+#endif
|
||||
+int tg_refer_count = 0;
|
||||
+int ct_event_notifier_registered = 0;
|
||||
+
|
||||
+static DEFINE_MUTEX(nf_ct_net_event_lock);
|
||||
+
|
||||
+static DEFINE_HASHTABLE(mapping_table_by_ext_port, HASHTABLE_BUCKET_BITS);
|
||||
+static DEFINE_HASHTABLE(mapping_table_by_int_src, HASHTABLE_BUCKET_BITS);
|
||||
+
|
||||
+static DEFINE_SPINLOCK(fullconenat_lock);
|
||||
+
|
||||
+static LIST_HEAD(dying_tuple_list);
|
||||
+static DEFINE_SPINLOCK(dying_tuple_list_lock);
|
||||
+static void gc_worker(struct work_struct *work);
|
||||
+static struct workqueue_struct *wq __read_mostly = NULL;
|
||||
+static DECLARE_DELAYED_WORK(gc_worker_wk, gc_worker);
|
||||
+
|
||||
+static char tuple_tmp_string[512];
|
||||
+/* non-atomic: can only be called serially within lock zones. */
|
||||
+static char* nf_ct_stringify_tuple(const struct nf_conntrack_tuple *t) {
|
||||
+ snprintf(tuple_tmp_string, sizeof(tuple_tmp_string), "%pI4:%hu -> %pI4:%hu",
|
||||
+ &t->src.u3.ip, be16_to_cpu(t->src.u.all),
|
||||
+ &t->dst.u3.ip, be16_to_cpu(t->dst.u.all));
|
||||
+ return tuple_tmp_string;
|
||||
+}
|
||||
+
|
||||
+static struct nat_mapping* allocate_mapping(const __be32 int_addr, const uint16_t int_port, const uint16_t port, const int ifindex) {
|
||||
+ struct nat_mapping *p_new;
|
||||
+ u32 hash_src;
|
||||
+
|
||||
+ p_new = kmalloc(sizeof(struct nat_mapping), GFP_ATOMIC);
|
||||
+ if (p_new == NULL) {
|
||||
+ pr_debug("xt_FULLCONENAT: ERROR: kmalloc() for new nat_mapping failed.\n");
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ p_new->port = port;
|
||||
+ p_new->int_addr = int_addr;
|
||||
+ p_new->int_port = int_port;
|
||||
+ p_new->ifindex = ifindex;
|
||||
+ p_new->refer_count = 0;
|
||||
+ (p_new->original_tuple_list).next = &(p_new->original_tuple_list);
|
||||
+ (p_new->original_tuple_list).prev = &(p_new->original_tuple_list);
|
||||
+
|
||||
+ hash_src = HASH_2(int_addr, (u32)int_port);
|
||||
+
|
||||
+ hash_add(mapping_table_by_ext_port, &p_new->node_by_ext_port, port);
|
||||
+ hash_add(mapping_table_by_int_src, &p_new->node_by_int_src, hash_src);
|
||||
+
|
||||
+ pr_debug("xt_FULLCONENAT: new mapping allocated for %pI4:%d ==> %d\n",
|
||||
+ &p_new->int_addr, p_new->int_port, p_new->port);
|
||||
+
|
||||
+ return p_new;
|
||||
+}
|
||||
+
|
||||
+static void add_original_tuple_to_mapping(struct nat_mapping *mapping, const struct nf_conntrack_tuple* original_tuple) {
|
||||
+ struct nat_mapping_original_tuple *item = kmalloc(sizeof(struct nat_mapping_original_tuple), GFP_ATOMIC);
|
||||
+ if (item == NULL) {
|
||||
+ pr_debug("xt_FULLCONENAT: ERROR: kmalloc() for nat_mapping_original_tuple failed.\n");
|
||||
+ return;
|
||||
+ }
|
||||
+ memcpy(&item->tuple, original_tuple, sizeof(struct nf_conntrack_tuple));
|
||||
+ list_add(&item->node, &mapping->original_tuple_list);
|
||||
+ (mapping->refer_count)++;
|
||||
+}
|
||||
+
|
||||
+static struct nat_mapping* get_mapping_by_ext_port(const uint16_t port, const int ifindex) {
|
||||
+ struct nat_mapping *p_current;
|
||||
+
|
||||
+ hash_for_each_possible(mapping_table_by_ext_port, p_current, node_by_ext_port, port) {
|
||||
+ if (p_current->port == port && p_current->ifindex == ifindex) {
|
||||
+ return p_current;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+static struct nat_mapping* get_mapping_by_int_src(const __be32 src_ip, const uint16_t src_port) {
|
||||
+ struct nat_mapping *p_current;
|
||||
+ u32 hash_src = HASH_2(src_ip, (u32)src_port);
|
||||
+
|
||||
+ hash_for_each_possible(mapping_table_by_int_src, p_current, node_by_int_src, hash_src) {
|
||||
+ if (p_current->int_addr == src_ip && p_current->int_port == src_port) {
|
||||
+ return p_current;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+static void kill_mapping(struct nat_mapping *mapping) {
|
||||
+ struct list_head *iter, *tmp;
|
||||
+ struct nat_mapping_original_tuple *original_tuple_item;
|
||||
+
|
||||
+ if (mapping == NULL) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ list_for_each_safe(iter, tmp, &mapping->original_tuple_list) {
|
||||
+ original_tuple_item = list_entry(iter, struct nat_mapping_original_tuple, node);
|
||||
+ list_del(&original_tuple_item->node);
|
||||
+ kfree(original_tuple_item);
|
||||
+ }
|
||||
+
|
||||
+ hash_del(&mapping->node_by_ext_port);
|
||||
+ hash_del(&mapping->node_by_int_src);
|
||||
+ kfree(mapping);
|
||||
+}
|
||||
+
|
||||
+static void destroy_mappings(void) {
|
||||
+ struct nat_mapping *p_current;
|
||||
+ struct hlist_node *tmp;
|
||||
+ int i;
|
||||
+
|
||||
+ spin_lock_bh(&fullconenat_lock);
|
||||
+
|
||||
+ hash_for_each_safe(mapping_table_by_ext_port, i, tmp, p_current, node_by_ext_port) {
|
||||
+ kill_mapping(p_current);
|
||||
+ }
|
||||
+
|
||||
+ spin_unlock_bh(&fullconenat_lock);
|
||||
+}
|
||||
+
|
||||
+/* check if a mapping is valid.
|
||||
+ * possibly delete and free an invalid mapping.
|
||||
+ * the mapping should not be used anymore after check_mapping() returns 0. */
|
||||
+static int check_mapping(struct nat_mapping* mapping, struct net *net, const struct nf_conntrack_zone *zone) {
|
||||
+ struct list_head *iter, *tmp;
|
||||
+ struct nat_mapping_original_tuple *original_tuple_item;
|
||||
+ struct nf_conntrack_tuple_hash *tuple_hash;
|
||||
+ struct nf_conn *ct;
|
||||
+
|
||||
+ if (mapping == NULL) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ if (mapping->port == 0 || mapping->int_addr == 0 || mapping->int_port == 0 || mapping->ifindex == -1) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ /* for dying/unconfirmed conntrack tuples, an IPCT_DESTROY event may NOT be fired.
|
||||
+ * so we manually kill one of those tuples once we acquire one. */
|
||||
+
|
||||
+ list_for_each_safe(iter, tmp, &mapping->original_tuple_list) {
|
||||
+ original_tuple_item = list_entry(iter, struct nat_mapping_original_tuple, node);
|
||||
+
|
||||
+ tuple_hash = nf_conntrack_find_get(net, zone, &original_tuple_item->tuple);
|
||||
+
|
||||
+ if (tuple_hash == NULL) {
|
||||
+ pr_debug("xt_FULLCONENAT: check_mapping(): tuple %s dying/unconfirmed. free this tuple.\n", nf_ct_stringify_tuple(&original_tuple_item->tuple));
|
||||
+
|
||||
+ list_del(&original_tuple_item->node);
|
||||
+ kfree(original_tuple_item);
|
||||
+ (mapping->refer_count)--;
|
||||
+ } else {
|
||||
+ ct = nf_ct_tuplehash_to_ctrack(tuple_hash);
|
||||
+ if (ct != NULL)
|
||||
+ nf_ct_put(ct);
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ /* kill the mapping if need */
|
||||
+ pr_debug("xt_FULLCONENAT: check_mapping() refer_count for mapping at ext_port %d is now %d\n", mapping->port, mapping->refer_count);
|
||||
+ if (mapping->refer_count <= 0) {
|
||||
+ pr_debug("xt_FULLCONENAT: check_mapping(): kill dying/unconfirmed mapping at ext port %d\n", mapping->port);
|
||||
+ kill_mapping(mapping);
|
||||
+ return 0;
|
||||
+ } else {
|
||||
+ return 1;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static void handle_dying_tuples(void) {
|
||||
+ struct list_head *iter, *tmp, *iter_2, *tmp_2;
|
||||
+ struct tuple_list *item;
|
||||
+ struct nf_conntrack_tuple *ct_tuple;
|
||||
+ struct nat_mapping *mapping;
|
||||
+ __be32 ip;
|
||||
+ uint16_t port;
|
||||
+ struct nat_mapping_original_tuple *original_tuple_item;
|
||||
+
|
||||
+ spin_lock_bh(&fullconenat_lock);
|
||||
+ spin_lock_bh(&dying_tuple_list_lock);
|
||||
+
|
||||
+ list_for_each_safe(iter, tmp, &dying_tuple_list) {
|
||||
+ item = list_entry(iter, struct tuple_list, list);
|
||||
+
|
||||
+ /* we dont know the conntrack direction for now so we try in both ways. */
|
||||
+ ct_tuple = &(item->tuple_original);
|
||||
+ ip = (ct_tuple->src).u3.ip;
|
||||
+ port = be16_to_cpu((ct_tuple->src).u.udp.port);
|
||||
+ mapping = get_mapping_by_int_src(ip, port);
|
||||
+ if (mapping == NULL) {
|
||||
+ ct_tuple = &(item->tuple_reply);
|
||||
+ ip = (ct_tuple->src).u3.ip;
|
||||
+ port = be16_to_cpu((ct_tuple->src).u.udp.port);
|
||||
+ mapping = get_mapping_by_int_src(ip, port);
|
||||
+ if (mapping != NULL) {
|
||||
+ pr_debug("xt_FULLCONENAT: handle_dying_tuples(): INBOUND dying conntrack at ext port %d\n", mapping->port);
|
||||
+ }
|
||||
+ } else {
|
||||
+ pr_debug("xt_FULLCONENAT: handle_dying_tuples(): OUTBOUND dying conntrack at ext port %d\n", mapping->port);
|
||||
+ }
|
||||
+
|
||||
+ if (mapping == NULL) {
|
||||
+ goto next;
|
||||
+ }
|
||||
+
|
||||
+ /* look for the corresponding out-dated tuple and free it */
|
||||
+ list_for_each_safe(iter_2, tmp_2, &mapping->original_tuple_list) {
|
||||
+ original_tuple_item = list_entry(iter_2, struct nat_mapping_original_tuple, node);
|
||||
+
|
||||
+ if (nf_ct_tuple_equal(&original_tuple_item->tuple, &(item->tuple_original))) {
|
||||
+ pr_debug("xt_FULLCONENAT: handle_dying_tuples(): tuple %s expired. free this tuple.\n",
|
||||
+ nf_ct_stringify_tuple(&original_tuple_item->tuple));
|
||||
+ list_del(&original_tuple_item->node);
|
||||
+ kfree(original_tuple_item);
|
||||
+ (mapping->refer_count)--;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ /* then kill the mapping if needed*/
|
||||
+ pr_debug("xt_FULLCONENAT: handle_dying_tuples(): refer_count for mapping at ext_port %d is now %d\n", mapping->port, mapping->refer_count);
|
||||
+ if (mapping->refer_count <= 0) {
|
||||
+ pr_debug("xt_FULLCONENAT: handle_dying_tuples(): kill expired mapping at ext port %d\n", mapping->port);
|
||||
+ kill_mapping(mapping);
|
||||
+ }
|
||||
+
|
||||
+next:
|
||||
+ list_del(&item->list);
|
||||
+ kfree(item);
|
||||
+ }
|
||||
+
|
||||
+ spin_unlock_bh(&dying_tuple_list_lock);
|
||||
+ spin_unlock_bh(&fullconenat_lock);
|
||||
+}
|
||||
+
|
||||
+static void gc_worker(struct work_struct *work) {
|
||||
+ handle_dying_tuples();
|
||||
+}
|
||||
+
|
||||
+/* conntrack destroy event callback function */
|
||||
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
||||
+static int ct_event_cb(struct notifier_block *this, unsigned long events, void *ptr) {
|
||||
+ struct nf_ct_event *item = ptr;
|
||||
+#else
|
||||
+static int ct_event_cb(unsigned int events, struct nf_ct_event *item) {
|
||||
+#endif
|
||||
+ struct nf_conn *ct;
|
||||
+ struct nf_conntrack_tuple *ct_tuple_reply, *ct_tuple_original;
|
||||
+ uint8_t protonum;
|
||||
+ struct tuple_list *dying_tuple_item;
|
||||
+
|
||||
+ ct = item->ct;
|
||||
+ /* we handle only conntrack destroy events */
|
||||
+ if (ct == NULL || !(events & (1 << IPCT_DESTROY))) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ ct_tuple_original = &(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple);
|
||||
+
|
||||
+ ct_tuple_reply = &(ct->tuplehash[IP_CT_DIR_REPLY].tuple);
|
||||
+
|
||||
+ protonum = (ct_tuple_original->dst).protonum;
|
||||
+ if (protonum != IPPROTO_UDP) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ dying_tuple_item = kmalloc(sizeof(struct tuple_list), GFP_ATOMIC);
|
||||
+
|
||||
+ if (dying_tuple_item == NULL) {
|
||||
+ pr_debug("xt_FULLCONENAT: warning: ct_event_cb(): kmalloc failed.\n");
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ memcpy(&(dying_tuple_item->tuple_original), ct_tuple_original, sizeof(struct nf_conntrack_tuple));
|
||||
+ memcpy(&(dying_tuple_item->tuple_reply), ct_tuple_reply, sizeof(struct nf_conntrack_tuple));
|
||||
+
|
||||
+ spin_lock_bh(&dying_tuple_list_lock);
|
||||
+
|
||||
+ list_add(&(dying_tuple_item->list), &dying_tuple_list);
|
||||
+
|
||||
+ spin_unlock_bh(&dying_tuple_list_lock);
|
||||
+
|
||||
+ if (wq != NULL)
|
||||
+ queue_delayed_work(wq, &gc_worker_wk, msecs_to_jiffies(100));
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static __be32 get_device_ip(const struct net_device* dev) {
|
||||
+ struct in_device* in_dev;
|
||||
+ struct in_ifaddr* if_info;
|
||||
+ __be32 result;
|
||||
+
|
||||
+ if (dev == NULL) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ rcu_read_lock();
|
||||
+ in_dev = dev->ip_ptr;
|
||||
+ if (in_dev == NULL) {
|
||||
+ rcu_read_unlock();
|
||||
+ return 0;
|
||||
+ }
|
||||
+ if_info = in_dev->ifa_list;
|
||||
+ if (if_info) {
|
||||
+ result = if_info->ifa_local;
|
||||
+ rcu_read_unlock();
|
||||
+ return result;
|
||||
+ } else {
|
||||
+ rcu_read_unlock();
|
||||
+ return 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static uint16_t find_appropriate_port(struct net *net, const struct nf_conntrack_zone *zone, const uint16_t original_port, const int ifindex, const struct nf_nat_ipv4_range *range) {
|
||||
+ uint16_t min, start, selected, range_size, i;
|
||||
+ struct nat_mapping* mapping = NULL;
|
||||
+
|
||||
+ if (range->flags & NF_NAT_RANGE_PROTO_SPECIFIED) {
|
||||
+ min = be16_to_cpu((range->min).udp.port);
|
||||
+ range_size = be16_to_cpu((range->max).udp.port) - min + 1;
|
||||
+ } else {
|
||||
+ /* minimum port is 1024. same behavior as default linux NAT. */
|
||||
+ min = 1024;
|
||||
+ range_size = 65535 - min + 1;
|
||||
+ }
|
||||
+
|
||||
+ if ((range->flags & NF_NAT_RANGE_PROTO_RANDOM)
|
||||
+ || (range->flags & NF_NAT_RANGE_PROTO_RANDOM_FULLY)) {
|
||||
+ /* for now we do the same thing for both --random and --random-fully */
|
||||
+
|
||||
+ /* select a random starting point */
|
||||
+ start = (uint16_t)(prandom_u32() % (u32)range_size);
|
||||
+ } else {
|
||||
+
|
||||
+ if ((original_port >= min && original_port <= min + range_size - 1)
|
||||
+ || !(range->flags & NF_NAT_RANGE_PROTO_SPECIFIED)) {
|
||||
+ /* 1. try to preserve the port if it's available */
|
||||
+ mapping = get_mapping_by_ext_port(original_port, ifindex);
|
||||
+ if (mapping == NULL || !(check_mapping(mapping, net, zone))) {
|
||||
+ return original_port;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ /* otherwise, we start from zero */
|
||||
+ start = 0;
|
||||
+ }
|
||||
+
|
||||
+ for (i = 0; i < range_size; i++) {
|
||||
+ /* 2. try to find an available port */
|
||||
+ selected = min + ((start + i) % range_size);
|
||||
+ mapping = get_mapping_by_ext_port(selected, ifindex);
|
||||
+ if (mapping == NULL || !(check_mapping(mapping, net, zone))) {
|
||||
+ return selected;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ /* 3. at least we tried. override a previous mapping. */
|
||||
+ selected = min + start;
|
||||
+ mapping = get_mapping_by_ext_port(selected, ifindex);
|
||||
+ kill_mapping(mapping);
|
||||
+
|
||||
+ return selected;
|
||||
+}
|
||||
+
|
||||
+static unsigned int fullconenat_tg(struct sk_buff *skb, const struct xt_action_param *par)
|
||||
+{
|
||||
+ const struct nf_nat_ipv4_multi_range_compat *mr;
|
||||
+ const struct nf_nat_ipv4_range *range;
|
||||
+
|
||||
+ const struct nf_conntrack_zone *zone;
|
||||
+ struct net *net;
|
||||
+ struct nf_conn *ct;
|
||||
+ enum ip_conntrack_info ctinfo;
|
||||
+ struct nf_conntrack_tuple *ct_tuple, *ct_tuple_origin;
|
||||
+
|
||||
+ struct net_device *net_dev;
|
||||
+
|
||||
+ struct nat_mapping *mapping, *src_mapping;
|
||||
+ unsigned int ret;
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)
|
||||
+ struct nf_nat_range2 newrange;
|
||||
+#else
|
||||
+ struct nf_nat_range newrange;
|
||||
+#endif
|
||||
+
|
||||
+ __be32 new_ip, ip;
|
||||
+ uint16_t port, original_port, want_port;
|
||||
+ uint8_t protonum;
|
||||
+ int ifindex;
|
||||
+
|
||||
+ ip = 0;
|
||||
+ original_port = 0;
|
||||
+ src_mapping = NULL;
|
||||
+
|
||||
+ mr = par->targinfo;
|
||||
+ range = &mr->range[0];
|
||||
+
|
||||
+ mapping = NULL;
|
||||
+ ret = XT_CONTINUE;
|
||||
+
|
||||
+ ct = nf_ct_get(skb, &ctinfo);
|
||||
+ net = nf_ct_net(ct);
|
||||
+ zone = nf_ct_zone(ct);
|
||||
+
|
||||
+ memset(&newrange.min_addr, 0, sizeof(newrange.min_addr));
|
||||
+ memset(&newrange.max_addr, 0, sizeof(newrange.max_addr));
|
||||
+ newrange.flags = mr->range[0].flags | NF_NAT_RANGE_MAP_IPS;
|
||||
+ newrange.min_proto = mr->range[0].min;
|
||||
+ newrange.max_proto = mr->range[0].max;
|
||||
+
|
||||
+ if (xt_hooknum(par) == NF_INET_PRE_ROUTING) {
|
||||
+ /* inbound packets */
|
||||
+ ifindex = xt_in(par)->ifindex;
|
||||
+
|
||||
+ ct_tuple_origin = &(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple);
|
||||
+
|
||||
+ protonum = (ct_tuple_origin->dst).protonum;
|
||||
+ if (protonum != IPPROTO_UDP) {
|
||||
+ return ret;
|
||||
+ }
|
||||
+ ip = (ct_tuple_origin->dst).u3.ip;
|
||||
+ port = be16_to_cpu((ct_tuple_origin->dst).u.udp.port);
|
||||
+
|
||||
+ /* get the corresponding ifindex by the dst_ip (aka. external ip of this host),
|
||||
+ * in case the packet needs to be forwarded from another inbound interface. */
|
||||
+ net_dev = ip_dev_find(net, ip);
|
||||
+ if (net_dev != NULL) {
|
||||
+ ifindex = net_dev->ifindex;
|
||||
+ dev_put(net_dev);
|
||||
+ }
|
||||
+
|
||||
+ spin_lock_bh(&fullconenat_lock);
|
||||
+
|
||||
+ /* find an active mapping based on the inbound port */
|
||||
+ mapping = get_mapping_by_ext_port(port, ifindex);
|
||||
+ if (mapping == NULL) {
|
||||
+ spin_unlock_bh(&fullconenat_lock);
|
||||
+ return ret;
|
||||
+ }
|
||||
+ if (check_mapping(mapping, net, zone)) {
|
||||
+ newrange.flags = NF_NAT_RANGE_MAP_IPS | NF_NAT_RANGE_PROTO_SPECIFIED;
|
||||
+ newrange.min_addr.ip = mapping->int_addr;
|
||||
+ newrange.max_addr.ip = mapping->int_addr;
|
||||
+ newrange.min_proto.udp.port = cpu_to_be16(mapping->int_port);
|
||||
+ newrange.max_proto = newrange.min_proto;
|
||||
+
|
||||
+ pr_debug("xt_FULLCONENAT: <INBOUND DNAT> %s ==> %pI4:%d\n", nf_ct_stringify_tuple(ct_tuple_origin), &mapping->int_addr, mapping->int_port);
|
||||
+
|
||||
+ ret = nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par)));
|
||||
+
|
||||
+ if (ret == NF_ACCEPT) {
|
||||
+ add_original_tuple_to_mapping(mapping, ct_tuple_origin);
|
||||
+ pr_debug("xt_FULLCONENAT: fullconenat_tg(): INBOUND: refer_count for mapping at ext_port %d is now %d\n", mapping->port, mapping->refer_count);
|
||||
+ }
|
||||
+ }
|
||||
+ spin_unlock_bh(&fullconenat_lock);
|
||||
+ return ret;
|
||||
+
|
||||
+
|
||||
+ } else if (xt_hooknum(par) == NF_INET_POST_ROUTING) {
|
||||
+ /* outbound packets */
|
||||
+ ifindex = xt_out(par)->ifindex;
|
||||
+
|
||||
+ ct_tuple_origin = &(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple);
|
||||
+ protonum = (ct_tuple_origin->dst).protonum;
|
||||
+
|
||||
+ spin_lock_bh(&fullconenat_lock);
|
||||
+
|
||||
+ if (protonum == IPPROTO_UDP) {
|
||||
+ ip = (ct_tuple_origin->src).u3.ip;
|
||||
+ original_port = be16_to_cpu((ct_tuple_origin->src).u.udp.port);
|
||||
+
|
||||
+ src_mapping = get_mapping_by_int_src(ip, original_port);
|
||||
+ if (src_mapping != NULL && check_mapping(src_mapping, net, zone)) {
|
||||
+
|
||||
+ /* outbound nat: if a previously established mapping is active,
|
||||
+ * we will reuse that mapping. */
|
||||
+
|
||||
+ newrange.flags = NF_NAT_RANGE_MAP_IPS | NF_NAT_RANGE_PROTO_SPECIFIED;
|
||||
+ newrange.min_proto.udp.port = cpu_to_be16(src_mapping->port);
|
||||
+ newrange.max_proto = newrange.min_proto;
|
||||
+
|
||||
+ } else {
|
||||
+
|
||||
+ /* if not, we find a new external port to map to.
|
||||
+ * the SNAT may fail so we should re-check the mapped port later. */
|
||||
+ want_port = find_appropriate_port(net, zone, original_port, ifindex, range);
|
||||
+
|
||||
+ newrange.flags = NF_NAT_RANGE_MAP_IPS | NF_NAT_RANGE_PROTO_SPECIFIED;
|
||||
+ newrange.min_proto.udp.port = cpu_to_be16(want_port);
|
||||
+ newrange.max_proto = newrange.min_proto;
|
||||
+
|
||||
+ src_mapping = NULL;
|
||||
+
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if(mr->range[0].flags & NF_NAT_RANGE_MAP_IPS) {
|
||||
+ newrange.min_addr.ip = mr->range[0].min_ip;
|
||||
+ newrange.max_addr.ip = mr->range[0].max_ip;
|
||||
+ } else {
|
||||
+ new_ip = get_device_ip(skb->dev);
|
||||
+ newrange.min_addr.ip = new_ip;
|
||||
+ newrange.max_addr.ip = new_ip;
|
||||
+ }
|
||||
+
|
||||
+ /* do SNAT now */
|
||||
+ ret = nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par)));
|
||||
+
|
||||
+ if (protonum != IPPROTO_UDP || ret != NF_ACCEPT) {
|
||||
+ /* for non-UDP packets and failed SNAT, bailout */
|
||||
+ spin_unlock_bh(&fullconenat_lock);
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ /* the reply tuple contains the mapped port. */
|
||||
+ ct_tuple = &(ct->tuplehash[IP_CT_DIR_REPLY].tuple);
|
||||
+ /* this is the resulted mapped port. */
|
||||
+ port = be16_to_cpu((ct_tuple->dst).u.udp.port);
|
||||
+
|
||||
+ pr_debug("xt_FULLCONENAT: <OUTBOUND SNAT> %s ==> %d\n", nf_ct_stringify_tuple(ct_tuple_origin), port);
|
||||
+
|
||||
+ /* save the mapping information into our mapping table */
|
||||
+ mapping = src_mapping;
|
||||
+ if (mapping == NULL || !check_mapping(mapping, net, zone)) {
|
||||
+ mapping = allocate_mapping(ip, original_port, port, ifindex);
|
||||
+ }
|
||||
+ if (mapping != NULL) {
|
||||
+ add_original_tuple_to_mapping(mapping, ct_tuple_origin);
|
||||
+ pr_debug("xt_FULLCONENAT: fullconenat_tg(): OUTBOUND: refer_count for mapping at ext_port %d is now %d\n", mapping->port, mapping->refer_count);
|
||||
+ }
|
||||
+
|
||||
+ spin_unlock_bh(&fullconenat_lock);
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+static int fullconenat_tg_check(const struct xt_tgchk_param *par)
|
||||
+{
|
||||
+ mutex_lock(&nf_ct_net_event_lock);
|
||||
+
|
||||
+ tg_refer_count++;
|
||||
+
|
||||
+ pr_debug("xt_FULLCONENAT: fullconenat_tg_check(): tg_refer_count is now %d\n", tg_refer_count);
|
||||
+
|
||||
+ if (tg_refer_count == 1) {
|
||||
+ nf_ct_netns_get(par->net, par->family);
|
||||
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
||||
+ ct_event_notifier.notifier_call = ct_event_cb;
|
||||
+#else
|
||||
+ ct_event_notifier.fcn = ct_event_cb;
|
||||
+#endif
|
||||
+
|
||||
+ if (nf_conntrack_register_notifier(par->net, &ct_event_notifier) == 0) {
|
||||
+ ct_event_notifier_registered = 1;
|
||||
+ pr_debug("xt_FULLCONENAT: fullconenat_tg_check(): ct_event_notifier registered\n");
|
||||
+ } else {
|
||||
+ printk("xt_FULLCONENAT: warning: failed to register a conntrack notifier. Disable active GC for mappings.\n");
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ mutex_unlock(&nf_ct_net_event_lock);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static void fullconenat_tg_destroy(const struct xt_tgdtor_param *par)
|
||||
+{
|
||||
+ mutex_lock(&nf_ct_net_event_lock);
|
||||
+
|
||||
+ tg_refer_count--;
|
||||
+
|
||||
+ pr_debug("xt_FULLCONENAT: fullconenat_tg_destroy(): tg_refer_count is now %d\n", tg_refer_count);
|
||||
+
|
||||
+ if (tg_refer_count == 0) {
|
||||
+ if (ct_event_notifier_registered) {
|
||||
+ nf_conntrack_unregister_notifier(par->net, &ct_event_notifier);
|
||||
+ ct_event_notifier_registered = 0;
|
||||
+
|
||||
+ pr_debug("xt_FULLCONENAT: fullconenat_tg_destroy(): ct_event_notifier unregistered\n");
|
||||
+
|
||||
+ }
|
||||
+ nf_ct_netns_put(par->net, par->family);
|
||||
+ }
|
||||
+
|
||||
+ mutex_unlock(&nf_ct_net_event_lock);
|
||||
+}
|
||||
+
|
||||
+static struct xt_target tg_reg[] __read_mostly = {
|
||||
+ {
|
||||
+ .name = "FULLCONENAT",
|
||||
+ .family = NFPROTO_IPV4,
|
||||
+ .revision = 0,
|
||||
+ .target = fullconenat_tg,
|
||||
+ .targetsize = sizeof(struct nf_nat_ipv4_multi_range_compat),
|
||||
+ .table = "nat",
|
||||
+ .hooks = (1 << NF_INET_PRE_ROUTING) |
|
||||
+ (1 << NF_INET_POST_ROUTING),
|
||||
+ .checkentry = fullconenat_tg_check,
|
||||
+ .destroy = fullconenat_tg_destroy,
|
||||
+ .me = THIS_MODULE,
|
||||
+ },
|
||||
+};
|
||||
+
|
||||
+static int __init fullconenat_tg_init(void)
|
||||
+{
|
||||
+ wq = create_singlethread_workqueue("xt_FULLCONENAT");
|
||||
+ if (wq == NULL) {
|
||||
+ printk("xt_FULLCONENAT: warning: failed to create workqueue\n");
|
||||
+ }
|
||||
+
|
||||
+ return xt_register_targets(tg_reg, ARRAY_SIZE(tg_reg));
|
||||
+}
|
||||
+
|
||||
+static void fullconenat_tg_exit(void)
|
||||
+{
|
||||
+ xt_unregister_targets(tg_reg, ARRAY_SIZE(tg_reg));
|
||||
+
|
||||
+ if (wq) {
|
||||
+ cancel_delayed_work_sync(&gc_worker_wk);
|
||||
+ flush_workqueue(wq);
|
||||
+ destroy_workqueue(wq);
|
||||
+ }
|
||||
+
|
||||
+ handle_dying_tuples();
|
||||
+ destroy_mappings();
|
||||
+}
|
||||
+
|
||||
+module_init(fullconenat_tg_init);
|
||||
+module_exit(fullconenat_tg_exit);
|
||||
+
|
||||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("Xtables: implementation of RFC3489 full cone NAT");
|
||||
+MODULE_AUTHOR("Chion Tang <tech@chionlab.moe>");
|
||||
+MODULE_ALIAS("ipt_FULLCONENAT");
|
|
@ -1,8 +0,0 @@
|
|||
cd ../../
|
||||
git clone -b master https://github.com/vernesong/OpenClash.git
|
||||
mv OpenClash/luci-app-openclash friendlywrt-rk3328/friendlywrt/package
|
||||
cd friendlywrt-rk3328/friendlywrt/package/base-files/files
|
||||
mkdir -p etc/openclash/core && cd etc/openclash/core
|
||||
curl -L https://github.com/vernesong/OpenClash/releases/download/Clash/clash-linux-armv8.tar.gz | tar zxf -
|
||||
chmod +x clash
|
||||
cd ../../../../../../
|
|
@ -1,14 +0,0 @@
|
|||
echo -e '\nsrc-git lienol https://github.com/xiaorouji/openwrt-passwall' >> feeds.conf.default
|
||||
./scripts/feeds update lienol
|
||||
rm -rf feeds/lienol/lienol/ipt2socks
|
||||
rm -rf feeds/lienol/lienol/shadowsocksr-libev
|
||||
rm -rf feeds/lienol/lienol/pdnsd-alt
|
||||
rm -rf feeds/lienol/lienol/luci-app-verysync
|
||||
rm -rf feeds/lienol/package/verysync
|
||||
#rm -rf feeds/lienol/package/chinadns-ng
|
||||
rm -rf package/lean/openwrt-chinadns-ng
|
||||
rm -rf package/lean/luci-app-kodexplorer
|
||||
rm -rf package/lean/luci-app-pppoe-relay
|
||||
rm -rf package/lean/luci-app-pptp-server
|
||||
rm -rf package/lean/luci-app-v2ray-server
|
||||
./scripts/feeds install -a -p lienol
|
|
@ -1,59 +0,0 @@
|
|||
diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile
|
||||
index c6cde396e..347a45203 100644
|
||||
--- a/package/lean/autocore/Makefile
|
||||
+++ b/package/lean/autocore/Makefile
|
||||
@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
define Package/autocore
|
||||
TITLE:=x86/x64 auto core loadbalance script.
|
||||
MAINTAINER:=Lean
|
||||
- DEPENDS:=@TARGET_x86 +bc +lm-sensors +ethtool
|
||||
+ DEPENDS:=+bc +lm-sensors +ethtool
|
||||
endef
|
||||
|
||||
define Package/autocore/description
|
||||
diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore
|
||||
index 614e21761..90f9f52dd 100755
|
||||
--- a/package/lean/autocore/files/autocore
|
||||
+++ b/package/lean/autocore/files/autocore
|
||||
@@ -31,7 +31,7 @@ start()
|
||||
g=${a}${b}${c}${d}${e}${f}
|
||||
|
||||
mkdir -p /tmp/sysinfo
|
||||
- echo $g > /tmp/sysinfo/model
|
||||
+ #echo $g > /tmp/sysinfo/model
|
||||
|
||||
a=$(ip address | grep ^[0-9] | awk -F: '{print $2}' | sed "s/ //g" | grep '^[e]' | grep -v "@" | grep -v "\.")
|
||||
b=$(echo "$a" | wc -l)
|
||||
@@ -42,7 +42,7 @@ start()
|
||||
ethtool -K $c tx-checksum-ip-generic on >/dev/null 2>&1 || (
|
||||
ethtool -K $c tx-checksum-ipv4 on >/dev/null 2>&1
|
||||
ethtool -K $c tx-checksum-ipv6 on >/dev/null 2>&1)
|
||||
- ethtool -K $c tx-scatter-gather on >/dev/null 2>&1
|
||||
+ #ethtool -K $c tx-scatter-gather on >/dev/null 2>&1
|
||||
ethtool -K $c gso on >/dev/null 2>&1
|
||||
ethtool -K $c tso on >/dev/null 2>&1
|
||||
ethtool -K $c ufo on >/dev/null 2>&1
|
||||
diff --git a/package/lean/autocore/files/index.htm b/package/lean/autocore/files/index.htm
|
||||
index c24224cb3..e7da9b7a6 100644
|
||||
--- a/package/lean/autocore/files/index.htm
|
||||
+++ b/package/lean/autocore/files/index.htm
|
||||
@@ -718,6 +718,7 @@
|
||||
<tr><td width="33%"><%:Firmware Version%></td><td>
|
||||
<%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> /
|
||||
<%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>)
|
||||
+ built by DYC
|
||||
</td></tr>
|
||||
<tr><td width="33%"><%:Kernel Version%></td><td><%=unameinfo.release or "?"%></td></tr>
|
||||
<tr><td width="33%"><%:Local Time%></td><td id="localtime">-</td></tr>
|
||||
diff --git a/package/lean/autocore/files/sbin/cpuinfo b/package/lean/autocore/files/sbin/cpuinfo
|
||||
index 8c0527f84..6adabeafc 100755
|
||||
--- a/package/lean/autocore/files/sbin/cpuinfo
|
||||
+++ b/package/lean/autocore/files/sbin/cpuinfo
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
-MHz=`grep 'MHz' /proc/cpuinfo | cut -c11- |sed -n '1p'`
|
||||
-TEMP=`sensors 2>/dev/null | grep 'Core 0' | cut -c12-`
|
||||
+MHz=`echo "$(cat /sys/devices/system/cpu/cpu[04]/cpufreq/cpuinfo_cur_freq)/1000" | bc`
|
||||
+TEMP=`echo "scale=2; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc`°
|
||||
echo "$MHz MHz $TEMP "
|
|
@ -1,60 +0,0 @@
|
|||
diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile
|
||||
index 22b986d58c..945f9a2784 100644
|
||||
--- a/package/lean/autocore/Makefile
|
||||
+++ b/package/lean/autocore/Makefile
|
||||
@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
define Package/autocore
|
||||
TITLE:=x86/x64 auto core loadbalance script.
|
||||
MAINTAINER:=Lean
|
||||
- DEPENDS:=@TARGET_x86 +bc +lm-sensors +ethtool
|
||||
+ DEPENDS:=+bc +lm-sensors +ethtool
|
||||
endef
|
||||
|
||||
define Package/autocore/description
|
||||
diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore
|
||||
index 436e92940a..16262fb1c6 100755
|
||||
--- a/package/lean/autocore/files/autocore
|
||||
+++ b/package/lean/autocore/files/autocore
|
||||
@@ -33,7 +33,7 @@ start()
|
||||
g=${a}${b}${c}${d}${e}${f}
|
||||
|
||||
mkdir -p /tmp/sysinfo
|
||||
- echo $g > /tmp/sysinfo/model
|
||||
+ #echo $g > /tmp/sysinfo/model
|
||||
|
||||
a=$(ip address | grep ^[0-9] | awk -F: '{print $2}' | sed "s/ //g" | grep '^[e]' | grep -v "@" | grep -v "\.")
|
||||
b=$(echo "$a" | wc -l)
|
||||
@@ -44,7 +44,7 @@ start()
|
||||
ethtool -K $c tx-checksum-ip-generic on >/dev/null 2>&1 || (
|
||||
ethtool -K $c tx-checksum-ipv4 on >/dev/null 2>&1
|
||||
ethtool -K $c tx-checksum-ipv6 on >/dev/null 2>&1)
|
||||
- ethtool -K $c tx-scatter-gather on >/dev/null 2>&1
|
||||
+ #ethtool -K $c tx-scatter-gather on >/dev/null 2>&1
|
||||
ethtool -K $c gso on >/dev/null 2>&1
|
||||
ethtool -K $c tso on >/dev/null 2>&1
|
||||
ethtool -K $c ufo on >/dev/null 2>&1
|
||||
diff --git a/package/lean/autocore/files/cpuinfo b/package/lean/autocore/files/cpuinfo
|
||||
index 8c0527f84f..6adabeafc7 100755
|
||||
--- a/package/lean/autocore/files/cpuinfo
|
||||
+++ b/package/lean/autocore/files/cpuinfo
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
-MHz=`grep 'MHz' /proc/cpuinfo | cut -c11- |sed -n '1p'`
|
||||
-TEMP=`sensors 2>/dev/null | grep 'Core 0' | cut -c12-`
|
||||
+MHz=`echo "$(cat /sys/devices/system/cpu/cpu[04]/cpufreq/cpuinfo_cur_freq)/1000" | bc`
|
||||
+TEMP=`echo "scale=2; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc`°
|
||||
echo "$MHz MHz $TEMP "
|
||||
diff --git a/package/lean/autocore/files/rpcd_10_system.js b/package/lean/autocore/files/rpcd_10_system.js
|
||||
index 73638a0b6b..dda369ba5c 100644
|
||||
--- a/package/lean/autocore/files/rpcd_10_system.js
|
||||
+++ b/package/lean/autocore/files/rpcd_10_system.js
|
||||
@@ -76,7 +76,7 @@ return L.Class.extend({
|
||||
_('Hostname'), boardinfo.hostname,
|
||||
_('Model'), boardinfo.model + cpubench.cpubench,
|
||||
_('CPU Info'), cpuinfo.cpuinfo,
|
||||
- _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description : '')/* + ' / ' : '') + (luciversion || '')*/,
|
||||
+ _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description : '') + ' built by DYC'/* + ' / ' : '') + (luciversion || '')*/,
|
||||
_('Kernel Version'), boardinfo.kernel,
|
||||
_('Local Time'), datestr,
|
||||
_('Uptime'), systeminfo.uptime ? '%t'.format(systeminfo.uptime) : null,
|
|
@ -1,66 +0,0 @@
|
|||
diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile
|
||||
index b10064ba..2b702480 100644
|
||||
--- a/package/lean/autocore/Makefile
|
||||
+++ b/package/lean/autocore/Makefile
|
||||
@@ -25,7 +25,7 @@ endef
|
||||
define Package/autocore-x86
|
||||
TITLE:=x86/x64 auto core loadbalance script.
|
||||
MAINTAINER:=Lean
|
||||
- DEPENDS:=@TARGET_x86 +bc +lm-sensors +ethtool
|
||||
+ DEPENDS:=+bc +lm-sensors +ethtool
|
||||
VARIANT:=x86
|
||||
endef
|
||||
|
||||
diff --git a/package/lean/autocore/files/x86/autocore b/package/lean/autocore/files/x86/autocore
|
||||
index 614e2176..5ca9d6cb 100755
|
||||
--- a/package/lean/autocore/files/x86/autocore
|
||||
+++ b/package/lean/autocore/files/x86/autocore
|
||||
@@ -1,5 +1,4 @@
|
||||
-#!/bin/sh /etc/rc.common
|
||||
-# Copyright (C) 2017 lean <coolsnowwolf@gmail.com>
|
||||
+
|
||||
|
||||
START=99
|
||||
|
||||
@@ -31,7 +30,7 @@ start()
|
||||
g=${a}${b}${c}${d}${e}${f}
|
||||
|
||||
mkdir -p /tmp/sysinfo
|
||||
- echo $g > /tmp/sysinfo/model
|
||||
+ #echo $g > /tmp/sysinfo/model
|
||||
|
||||
a=$(ip address | grep ^[0-9] | awk -F: '{print $2}' | sed "s/ //g" | grep '^[e]' | grep -v "@" | grep -v "\.")
|
||||
b=$(echo "$a" | wc -l)
|
||||
@@ -42,7 +41,7 @@ start()
|
||||
ethtool -K $c tx-checksum-ip-generic on >/dev/null 2>&1 || (
|
||||
ethtool -K $c tx-checksum-ipv4 on >/dev/null 2>&1
|
||||
ethtool -K $c tx-checksum-ipv6 on >/dev/null 2>&1)
|
||||
- ethtool -K $c tx-scatter-gather on >/dev/null 2>&1
|
||||
+ #ethtool -K $c tx-scatter-gather on >/dev/null 2>&1
|
||||
ethtool -K $c gso on >/dev/null 2>&1
|
||||
ethtool -K $c tso on >/dev/null 2>&1
|
||||
ethtool -K $c ufo on >/dev/null 2>&1
|
||||
diff --git a/package/lean/autocore/files/x86/index.htm b/package/lean/autocore/files/x86/index.htm
|
||||
index b0b56033..cbf45bc2 100644
|
||||
--- a/package/lean/autocore/files/x86/index.htm
|
||||
+++ b/package/lean/autocore/files/x86/index.htm
|
||||
@@ -718,6 +718,7 @@
|
||||
<tr><td width="33%"><%:Firmware Version%></td><td>
|
||||
<%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> <!--/
|
||||
<%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>) !-->
|
||||
+ built by DYC
|
||||
</td></tr>
|
||||
<tr><td width="33%"><%:Kernel Version%></td><td><%=unameinfo.release or "?"%></td></tr>
|
||||
<tr><td width="33%"><%:Local Time%></td><td id="localtime">-</td></tr>
|
||||
diff --git a/package/lean/autocore/files/x86/sbin/cpuinfo b/package/lean/autocore/files/x86/sbin/cpuinfo
|
||||
index 8c0527f8..575c620f 100755
|
||||
--- a/package/lean/autocore/files/x86/sbin/cpuinfo
|
||||
+++ b/package/lean/autocore/files/x86/sbin/cpuinfo
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
-MHz=`grep 'MHz' /proc/cpuinfo | cut -c11- |sed -n '1p'`
|
||||
-TEMP=`sensors 2>/dev/null | grep 'Core 0' | cut -c12-`
|
||||
+MHz=`echo "$(cat /sys/devices/system/cpu/cpu[04]/cpufreq/cpuinfo_cur_freq)/1000" | bc`
|
||||
+TEMP=`echo "scale=2; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc`
|
||||
echo "$MHz MHz $TEMP "
|
|
@ -1,25 +0,0 @@
|
|||
diff --git a/package/lean/luci-app-cpufreq/root/etc/config/cpufreq b/package/lean/luci-app-cpufreq/root/etc/config/cpufreq
|
||||
index 0443dc77..214d7cb8 100644
|
||||
--- a/package/lean/luci-app-cpufreq/root/etc/config/cpufreq
|
||||
+++ b/package/lean/luci-app-cpufreq/root/etc/config/cpufreq
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
config settings 'cpufreq'
|
||||
- option maxfreq '716000'
|
||||
+ option maxfreq '1296000'
|
||||
option upthreshold '50'
|
||||
option factor '10'
|
||||
option minifreq '300000'
|
||||
diff --git a/package/lean/luci-app-cpufreq/root/etc/init.d/cpufreq b/package/lean/luci-app-cpufreq/root/etc/init.d/cpufreq
|
||||
index df42f3c7..c81e237d 100755
|
||||
--- a/package/lean/luci-app-cpufreq/root/etc/init.d/cpufreq
|
||||
+++ b/package/lean/luci-app-cpufreq/root/etc/init.d/cpufreq
|
||||
@@ -13,7 +13,7 @@ start()
|
||||
config_load cpufreq
|
||||
local governor=$(uci_get_by_type settings governor ondemand)
|
||||
local minifreq=$(uci_get_by_type settings minifreq 48000)
|
||||
- local maxfreq=$(uci_get_by_type settings maxfreq 716000)
|
||||
+ local maxfreq=$(uci_get_by_type settings maxfreq 1296000)
|
||||
local upthreshold=$(uci_get_by_type settings upthreshold 50)
|
||||
local factor=$(uci_get_by_type settings factor 10)
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
LOOP_DEVICE=$(losetup -f)
|
||||
losetup -o 100663296 ${LOOP_DEVICE} friendlywrt-*/out/*.img
|
||||
rm -rf /mnt/friendlywrt-tmp && mkdir -p /mnt/friendlywrt-tmp
|
||||
mount ${LOOP_DEVICE} /mnt/friendlywrt-tmp && chown -R root:root /mnt/friendlywrt-tmp && umount /mnt/friendlywrt-tmp
|
||||
losetup -d ${LOOP_DEVICE}
|
|
@ -1,25 +0,0 @@
|
|||
cd friendlywrt-rk3328
|
||||
cd kernel/
|
||||
git apply ../../add_fullconenat.diff
|
||||
wget https://raw.githubusercontent.com/QiuSimons/R2S-OpenWrt/master/PATCH/new/main/999-unlock-1608mhz-rk3328.patch
|
||||
git apply 999-unlock-1608mhz-rk3328.patch
|
||||
cd ../
|
||||
git clone -b openwrt-18.06-k5.4 --single-branch https://github.com/project-openwrt/openwrt && cd openwrt/
|
||||
git checkout 20c62b15584e5c902d51abdcec6e056584daa926
|
||||
cp -a ./target/linux/generic/files/* ../kernel/
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/backport-5.4
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/pending-5.4
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/hack-5.4
|
||||
cd ../
|
||||
wget https://github.com/torvalds/linux/raw/master/scripts/kconfig/merge_config.sh && chmod +x merge_config.sh
|
||||
grep -i '_NETFILTER_\|FLOW' ../.config.override > .config.override
|
||||
./merge_config.sh -m .config.override kernel/arch/arm64/configs/nanopi-r2_linux_defconfig && mv .config kernel/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
echo '
|
||||
CONFIG_NF_CONNTRACK_EVENTS=y
|
||||
CONFIG_NF_CONNTRACK_TIMEOUT=y
|
||||
CONFIG_SHORTCUT_FE=y
|
||||
CONFIG_XFRM=y
|
||||
CONFIG_NF_CONNTRACK_CHAIN_EVENTS=y
|
||||
' >> kernel/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
|
||||
sed -i -r 's/# (CONFIG_.*_ERRATUM_.*?) is.*/\1=y/g' kernel/arch/arm64/configs/nanopi-r2_linux_defconfig
|
|
@ -1,18 +0,0 @@
|
|||
cd friendlywrt-rk3328
|
||||
cd kernel/
|
||||
git apply ../../add_fullconenat.diff
|
||||
wget https://raw.githubusercontent.com/coolsnowwolf/lede/c39177efcfd9df8ea8e5d8e687d327fe77bfde52/target/linux/rockchip/patches-5.4/003-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch
|
||||
git apply 003-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch
|
||||
cd ../
|
||||
git clone https://github.com/openwrt/openwrt && cd openwrt/
|
||||
git checkout a47279154e08d54df05fa8bf45fe935ebf0df5da
|
||||
#rm target/linux/generic/pending-5.4/403-mtd-hook-mtdsplit-to-Kbuild.patch
|
||||
#rm target/linux/generic/hack-5.4/700-swconfig_switch_drivers.patch
|
||||
cp -a ./target/linux/generic/files/* ../kernel/
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/backport-5.4
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/pending-5.4
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/hack-5.4
|
||||
cd ../
|
||||
wget https://github.com/torvalds/linux/raw/master/scripts/kconfig/merge_config.sh && chmod +x merge_config.sh
|
||||
grep -i '_NETFILTER_\|FLOW' ../.config.override > .config.override
|
||||
./merge_config.sh -m .config.override kernel/arch/arm64/configs/nanopi-r2_linux_defconfig && mv .config kernel/arch/arm64/configs/nanopi-r2_linux_defconfig
|
|
@ -0,0 +1,57 @@
|
|||
CONFIG_TARGET_sunxi=y
|
||||
CONFIG_TARGET_sunxi_cortexa53=y
|
||||
CONFIG_TARGET_sunxi_cortexa53_DEVICE_friendlyarm_nanopi-r1s-h5=y
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_TARGET_OPTIONS=y
|
||||
CONFIG_TARGET_OPTIMIZATION="-O3 -pipe -march=armv8-a+crypto+crc -mcpu=cortex-a53+crypto+crc -mtune=cortex-a53"
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=320
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
# CONFIG_TARGET_ROOTFS_SQUASHFS is not set
|
||||
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_luci-app-adguardhome=y
|
||||
CONFIG_PACKAGE_luci-app-frpc=y
|
||||
CONFIG_PACKAGE_luci-app-ipsec-vpnd=y
|
||||
CONFIG_PACKAGE_luci-app-mentohust=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
CONFIG_PACKAGE_luci-app-nft-qos=y
|
||||
CONFIG_PACKAGE_luci-app-oaf=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn-server=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-pptp-server=y
|
||||
CONFIG_PACKAGE_luci-app-softethervpn=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-app-uhttpd=y
|
||||
CONFIG_PACKAGE_luci-app-vnstat=y
|
||||
CONFIG_PACKAGE_luci-app-zerotier=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_luci-theme-edge=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear=y
|
||||
CONFIG_PACKAGE_luci-theme-rosy=y
|
||||
CONFIG_PACKAGE_luci-theme-infinityfreedom=y
|
||||
CONFIG_PACKAGE_pv=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_screen=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_collectd-mod-ping=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpufreq=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_AFALG is not set
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO is not set
|
||||
CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
|
||||
CONFIG_DROPBEAR_ECC=y
|
||||
CONFIG_DROPBEAR_ECC_FULL=y
|
||||
CONFIG_PACKAGE_zram-swap=y
|
||||
CONFIG_PACKAGE_autocore-arm=y
|
|
@ -0,0 +1,70 @@
|
|||
CONFIG_TARGET_rockchip=y
|
||||
CONFIG_TARGET_rockchip_armv8=y
|
||||
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_TARGET_OPTIONS=y
|
||||
CONFIG_TARGET_OPTIMIZATION="-O3 -pipe -march=armv8-a+crypto+crc -mcpu=cortex-a53+crypto+crc -mtune=cortex-a53"
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=320
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
# CONFIG_TARGET_ROOTFS_SQUASHFS is not set
|
||||
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_luci-app-adguardhome=y
|
||||
CONFIG_PACKAGE_luci-app-frpc=y
|
||||
CONFIG_PACKAGE_luci-app-ipsec-vpnd=y
|
||||
CONFIG_PACKAGE_luci-app-mentohust=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
CONFIG_PACKAGE_luci-app-nft-qos=y
|
||||
CONFIG_PACKAGE_luci-app-oaf=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn-server=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-pptp-server=y
|
||||
CONFIG_PACKAGE_luci-app-softethervpn=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-app-uhttpd=y
|
||||
CONFIG_PACKAGE_luci-app-vnstat=y
|
||||
CONFIG_PACKAGE_luci-app-zerotier=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_luci-theme-edge=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear=y
|
||||
CONFIG_PACKAGE_luci-theme-rosy=y
|
||||
CONFIG_PACKAGE_luci-theme-infinityfreedom=y
|
||||
CONFIG_PACKAGE_pv=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_screen=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_collectd-mod-ping=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpufreq=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_AFALG is not set
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO is not set
|
||||
CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
|
||||
CONFIG_DROPBEAR_ECC=y
|
||||
CONFIG_DROPBEAR_ECC_FULL=y
|
||||
CONFIG_PACKAGE_zram-swap=y
|
||||
CONFIG_PACKAGE_autocore-arm=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-rtl8821cu=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_hostapd=y
|
||||
CONFIG_PACKAGE_hostapd-basic=y
|
||||
CONFIG_PACKAGE_hostapd-utils=y
|
||||
CONFIG_PACKAGE_wpad=y
|
||||
CONFIG_PACKAGE_wpad-mini=y
|
||||
CONFIG_PACKAGE_wpa-supplicant=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
CONFIG_DRIVER_11N_SUPPORT=y
|
||||
CONFIG_DRIVER_11W_SUPPORT=y
|
|
@ -0,0 +1,70 @@
|
|||
CONFIG_TARGET_rockchip=y
|
||||
CONFIG_TARGET_rockchip_armv8=y
|
||||
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r4s=y
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_TARGET_OPTIONS=y
|
||||
CONFIG_TARGET_OPTIMIZATION="-O3 -pipe -march=armv8-a+crypto+crc -mcpu=cortex-a72.cortex-a53+crypto+crc -mtune=cortex-a72.cortex-a53"
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=320
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
# CONFIG_TARGET_ROOTFS_SQUASHFS is not set
|
||||
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_luci-app-adguardhome=y
|
||||
CONFIG_PACKAGE_luci-app-frpc=y
|
||||
CONFIG_PACKAGE_luci-app-ipsec-vpnd=y
|
||||
CONFIG_PACKAGE_luci-app-mentohust=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
CONFIG_PACKAGE_luci-app-nft-qos=y
|
||||
CONFIG_PACKAGE_luci-app-oaf=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-openvpn-server=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-pptp-server=y
|
||||
CONFIG_PACKAGE_luci-app-softethervpn=y
|
||||
CONFIG_PACKAGE_luci-app-statistics=y
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-app-uhttpd=y
|
||||
CONFIG_PACKAGE_luci-app-vnstat=y
|
||||
CONFIG_PACKAGE_luci-app-zerotier=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_luci-theme-edge=y
|
||||
CONFIG_PACKAGE_luci-theme-material=y
|
||||
CONFIG_PACKAGE_luci-theme-netgear=y
|
||||
CONFIG_PACKAGE_luci-theme-rosy=y
|
||||
CONFIG_PACKAGE_luci-theme-infinityfreedom=y
|
||||
CONFIG_PACKAGE_pv=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_fdisk=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_screen=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_wget=y
|
||||
CONFIG_PACKAGE_collectd-mod-ping=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpufreq=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_AFALG is not set
|
||||
# CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO is not set
|
||||
CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
|
||||
CONFIG_DROPBEAR_ECC=y
|
||||
CONFIG_DROPBEAR_ECC_FULL=y
|
||||
CONFIG_PACKAGE_zram-swap=y
|
||||
CONFIG_PACKAGE_autocore-arm=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-rtl8821cu=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_hostapd=y
|
||||
CONFIG_PACKAGE_hostapd-basic=y
|
||||
CONFIG_PACKAGE_hostapd-utils=y
|
||||
CONFIG_PACKAGE_wpad=y
|
||||
CONFIG_PACKAGE_wpad-mini=y
|
||||
CONFIG_PACKAGE_wpa-supplicant=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
CONFIG_DRIVER_11N_SUPPORT=y
|
||||
CONFIG_DRIVER_11W_SUPPORT=y
|
|
@ -1,10 +0,0 @@
|
|||
[ -f configs/config_rk3328 ] && sed -i '/=m/d;/CONFIG_IB/d;/CONFIG_SDK/d;/CONFIG_BUILDBOT/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d;/CONFIG_AUDIO_SUPPORT/d;/CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM/d;/CONFIG_VERSION/d;/SAMBA/Id;/modemmanager/d;/CGROUPS/d;/PACKAGE_lib/d;/luci-lib/d;/luci-app/d' configs/config_rk3328
|
||||
[ -f configs/config_h5 ] && sed -i '/=m/d;/CONFIG_IB/d;/CONFIG_SDK/d;/CONFIG_BUILDBOT/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d;/CONFIG_AUDIO_SUPPORT/d;/CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM/d;/CONFIG_VERSION/d;/SAMBA/Id;/modemmanager/d;/CGROUPS/d;/PACKAGE_lib/d;/luci-lib/d;/luci-app/d' configs/config_h5
|
||||
[ -f configs/config_h3 ] && sed -i '/=m/d;/CONFIG_IB/d;/CONFIG_SDK/d;/CONFIG_BUILDBOT/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d;/CONFIG_AUDIO_SUPPORT/d;/CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM/d;/CONFIG_VERSION/d;/SAMBA/Id;/modemmanager/d;/CGROUPS/d;/PACKAGE_lib/d;/luci-lib/d;/luci-app/d' configs/config_h3
|
||||
|
||||
[ -f configs/config_rk3328 ] && echo -e '\nCONFIG_KERNEL_BUILD_USER="Dayong Chen"\nCONFIG_GRUB_TITLE="OpenWrt on Nanopi devices compiled by DayongChen"' >> configs/config_rk3328
|
||||
[ -f configs/config_h5 ] && echo -e '\nCONFIG_KERNEL_BUILD_USER="Dayong Chen"\nCONFIG_GRUB_TITLE="OpenWrt on Nanopi devices compiled by DayongChen"' >> configs/config_h5
|
||||
[ -f configs/config_h3 ] && echo -e '\nCONFIG_KERNEL_BUILD_USER="Dayong Chen"\nCONFIG_GRUB_TITLE="OpenWrt on Nanopi devices compiled by DayongChen"' >> configs/config_h3
|
||||
|
||||
sed -i -r 's/# (CONFIG_.*_ERRATUM_.*?) is.*/\1=y/g' kernel/arch/arm64/configs/*
|
||||
echo "\nCONFIG_ZRAM=m\n" >> kernel/arch/arm64/configs/sunxi_arm64_defconfig
|
|
@ -1,52 +1,69 @@
|
|||
#!/bin/sh
|
||||
set -e $1
|
||||
|
||||
cd /mnt/mmcblk0p2
|
||||
rm -rf artifact R2S*.zip FriendlyWrt*img*
|
||||
wget https://github.com/klever1988/nanopi-openwrt/releases/download/R2S-Minimal-$(date +%Y-%m-%d)/R2S-Minimal-$(date +%Y-%m-%d)-ROM.zip
|
||||
if [ -f /mnt/mmcblk0p2/R2S*.zip ]; then
|
||||
if ! command -v pv &> /dev/null
|
||||
then
|
||||
opkg update || true
|
||||
opkg install pv
|
||||
if ! command -v pv &> /dev/null; then echo -e '\e[91mpv命令无效,升级中止!\e[0m' && exit 1; fi
|
||||
fi
|
||||
if ! command -v fdisk &> /dev/null
|
||||
then
|
||||
opkg update || true
|
||||
opkg install --force-overwrite fdisk
|
||||
if ! command -v fdisk &> /dev/null; then echo -e '\e[91mfdisk命令无效,升级中止!\e[0m' && exit 1; fi
|
||||
fi
|
||||
|
||||
board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].name' | tail -c 4 | tr -d "\n" | awk '{print tolower($0)}')
|
||||
mount -t tmpfs -o remount,size=650m tmpfs /tmp
|
||||
rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg
|
||||
wget https://ghproxy.com/https://github.com/klever1988/nanopi-openwrt/releases/download/$board_id-$(date +%Y-%m-%d)/$board_id.img.gz || true
|
||||
if [ -f $board_id.img.gz ]; then
|
||||
wget https://ghproxy.com/https://github.com/klever1988/nanopi-openwrt/releases/download/$board_id-$(date +%Y-%m-%d)/md5sum.txt
|
||||
echo -e '\e[92m今天固件已下载,准备解压\e[0m'
|
||||
else
|
||||
echo -e '\e[91m今天的固件还没更新,尝试下载昨天的固件\e[0m'
|
||||
wget https://github.com/klever1988/nanopi-openwrt/releases/download/R2S-Minimal-$(date -d "@$(( $(busybox date +%s) - 86400))" +%Y-%m-%d)/R2S-Minimal-$(date -d "@$(( $(busybox date +%s) - 86400))" +%Y-%m-%d)-ROM.zip
|
||||
if [ -f /mnt/mmcblk0p2/R2S*.zip ]; then
|
||||
wget https://ghproxy.com/https://github.com/klever1988/nanopi-openwrt/releases/download/$board_id-$(date -d "@$(( $(busybox date +%s) - 86400))" +%Y-%m-%d)/$board_id.img.gz || true
|
||||
if [ -f $board_id.img.gz ]; then
|
||||
wget https://ghproxy.com/https://github.com/klever1988/nanopi-openwrt/releases/download/$board_id-$(date -d "@$(( $(busybox date +%s) - 86400))" +%Y-%m-%d)/md5sum.txt
|
||||
echo -e '\e[92m昨天的固件已下载,准备解压\e[0m'
|
||||
else
|
||||
echo -e '\e[91m没找到最新的固件,脚本退出\e[0m'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
unzip R2S*.zip
|
||||
rm R2S*.zip
|
||||
if [ -f /mnt/mmcblk0p2/artifact/FriendlyWrt*.img.gz ]; then
|
||||
cd /mnt/mmcblk0p2/artifact/
|
||||
|
||||
#if [ -f /mnt/mmcblk0p2/artifact/FriendlyWrt*.img.gz ]; then
|
||||
#cd /mnt/mmcblk0p2/artifact/
|
||||
if [ `md5sum -c md5sum.txt|grep -c "OK"` -eq 0 ]; then
|
||||
echo -e '\e[91m固件HASH值匹配失败,脚本退出\e[0m'
|
||||
exit 1
|
||||
fi
|
||||
cd /mnt/mmcblk0p2
|
||||
pv /mnt/mmcblk0p2/artifact/FriendlyWrt*.img.gz | gunzip -dc > FriendlyWrt.img
|
||||
#cd /mnt/mmcblk0p2
|
||||
echo -e '\e[92m准备解压镜像文件\e[0m'
|
||||
fi
|
||||
lodev=$(losetup -f)
|
||||
mkdir /mnt/img
|
||||
losetup -o 100663296 $lodev /mnt/mmcblk0p2/FriendlyWrt.img
|
||||
mount $lodev /mnt/img
|
||||
pv $board_id.img.gz | gunzip -dc > FriendlyWrt.img && rm $board_id.img.gz
|
||||
|
||||
#fi
|
||||
offset=`expr $(fdisk -l -u FriendlyWrt.img | tail -n1 | awk '{print $2}') \* 512`
|
||||
mkdir -p /mnt/img
|
||||
mount -o loop,offset=$offset FriendlyWrt.img /mnt/img
|
||||
echo -e '\e[92m解压已完成,准备编辑镜像文件,写入备份信息\e[0m'
|
||||
cd /mnt/img
|
||||
sysupgrade -b /mnt/img/back.tar.gz
|
||||
sysupgrade -b back.tar.gz
|
||||
tar zxf back.tar.gz
|
||||
echo -e '\e[91m注意:由于已知的问题,“网络接口”配置无法继承,重启后需要重新设置WAN拨号和LAN网段信息\e[0m'
|
||||
if ! grep -q macaddr /etc/config/network; then rm etc/config/network; fi
|
||||
echo -e '\e[92m备份文件已经写入,移除挂载\e[0m'
|
||||
rm back.tar.gz
|
||||
cd /tmp
|
||||
#rm back.tar.gz
|
||||
cd /tmp/upg
|
||||
umount /mnt/img
|
||||
losetup -d $lodev
|
||||
echo -e '\e[92m准备重新打包\e[0m'
|
||||
zstdmt /mnt/mmcblk0p2/FriendlyWrt.img -o /tmp/FriendlyWrtupdate.img.zst
|
||||
echo -e '\e[92m打包完毕,准备刷机\e[0m'
|
||||
if [ -f /tmp/FriendlyWrtupdate.img.zst ]; then
|
||||
echo -e '\e[92m正在打包...\e[0m'
|
||||
#zstdmt /mnt/mmcblk0p2/FriendlyWrt.img -o /tmp/FriendlyWrtupdate.img.zst
|
||||
echo -e '\e[92m开始写入,请勿中断...\e[0m'
|
||||
if [ -f FriendlyWrt.img ]; then
|
||||
echo 1 > /proc/sys/kernel/sysrq
|
||||
echo u > /proc/sysrq-trigger || umount /
|
||||
pv /tmp/FriendlyWrtupdate.img.zst | zstdcat | dd of=/dev/mmcblk0 conv=fsync
|
||||
echo -e '\e[92m刷机完毕,正在重启...\e[0m'
|
||||
pv FriendlyWrt.img | dd of=/dev/mmcblk0 conv=fsync
|
||||
echo -e '\e[92m刷机完毕,正在重启...\e[0m'
|
||||
echo b > /proc/sysrq-trigger
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
#!/bin/sh
|
||||
|
||||
display_usage() {
|
||||
echo "USB网卡WIFI设置"
|
||||
echo -e "\nUsage: $0 AP名称 密码\n"
|
||||
echo -e "\n例如: $0 OpenWrt 12345678\n"
|
||||
}
|
||||
# if less than two arguments supplied, display usage
|
||||
if [ $# -le 1 ]
|
||||
then
|
||||
display_usage
|
||||
exit 1
|
||||
fi
|
||||
# check whether user had supplied -h or --help . If yes display usage
|
||||
if [[ "$1" == "--help" || "$1" == "-h" ]]
|
||||
then
|
||||
display_usage
|
||||
exit 0
|
||||
fi
|
||||
|
||||
rm -f /etc/config/wireless
|
||||
wifi config
|
||||
|
||||
uci batch <<EOF
|
||||
set wireless.radio0.hwmode='11a'
|
||||
set wireless.radio0.country='US'
|
||||
set wireless.radio0.channel='40'
|
||||
set wireless.radio0.legacy_rates='1'
|
||||
set wireless.radio0.mu_beamformer='1'
|
||||
set wireless.radio0.htmode='HT40'
|
||||
set wireless.default_radio0.device='radio0'
|
||||
set wireless.default_radio0.network='lan'
|
||||
set wireless.default_radio0.mode='ap'
|
||||
set wireless.default_radio0.ssid=$1
|
||||
set wireless.default_radio0.disassoc_low_ack='0'
|
||||
set wireless.default_radio0.encryption='psk2+tkip+ccmp'
|
||||
set wireless.default_radio0.key=$2
|
||||
set wireless.default_radio0.wps_pushbutton='0'
|
||||
EOF
|
||||
uci commit wireless
|
||||
|
||||
read -r -p "需要重启,现在执行? [Y/n] " response
|
||||
case "$response" in
|
||||
[yY][eE][sS]|[yY])
|
||||
reboot
|
||||
;;
|
||||
*)
|
||||
exit
|
||||
;;
|
||||
esac
|
|
@ -1,8 +0,0 @@
|
|||
gzip friendlywrt-*/out/*.img
|
||||
rm -rf ./artifact/ && mkdir -p ./artifact/
|
||||
mv friendlywrt-*/out/*img* ./artifact/
|
||||
cp friendlywrt-*/friendlywrt/.config ./artifact/
|
||||
cd ./artifact/
|
||||
md5sum *img* > md5sum.txt
|
||||
cd ..
|
||||
zip -r artifact.zip ./artifact/
|
Loading…
Reference in New Issue