Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from QiuSimons:master #3

Open
wants to merge 247 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
4bfa263
Update 02_prepare_package.sh
QiuSimons Apr 15, 2021
b0af263
Update 02_prepare_package.sh
QiuSimons Apr 15, 2021
54d9556
Update 02_prepare_package.sh
QiuSimons Apr 15, 2021
c0e7bd4
Update 02_prepare_package.sh
QiuSimons Apr 15, 2021
318d087
Update 02_prepare_package.sh
QiuSimons Apr 15, 2021
94f8a93
Update R4S-OpenWrt.yml
QiuSimons Apr 16, 2021
ed83571
Update R2S-OpenWrt.yml
QiuSimons Apr 16, 2021
88471a3
Update X86-OpenWrt.yml
QiuSimons Apr 16, 2021
fa7e350
Update R4S-OpenWrt.yml
QiuSimons Apr 16, 2021
c966676
Update R2S-OpenWrt.yml
QiuSimons Apr 16, 2021
882f72e
Update 02_prepare_package.sh
QiuSimons Apr 16, 2021
bf24d90
Update R2S-OpenWrt.yml
QiuSimons Apr 16, 2021
a4b68a7
Update R4S-OpenWrt.yml
QiuSimons Apr 16, 2021
4ebf5d8
Update X86-OpenWrt.yml
QiuSimons Apr 16, 2021
c1db3e3
Update config.seed
QiuSimons Apr 16, 2021
fa05fb2
Update config.seed
QiuSimons Apr 16, 2021
8e06f33
Update config.seed
QiuSimons Apr 16, 2021
e0201b9
Update 02_prepare_package.sh
QiuSimons Apr 16, 2021
da7a8d8
Update 02_prepare_package.sh
QiuSimons Apr 18, 2021
b3a030f
Update 01_get_ready.sh
QiuSimons Apr 20, 2021
dad8ea6
Update 02_target_only.sh
QiuSimons Apr 20, 2021
0923a6e
Update 02_target_only.sh
QiuSimons Apr 20, 2021
3322b4b
Update 02_target_only.sh
QiuSimons Apr 20, 2021
71d32b1
Update zzz-default-settings
QiuSimons Apr 20, 2021
1bac03e
Update R2S-OpenWrt.yml
QiuSimons Apr 21, 2021
776dbde
Update R4S-OpenWrt.yml
QiuSimons Apr 21, 2021
33ae76b
Update X86-OpenWrt.yml
QiuSimons Apr 21, 2021
4c97f4e
Update Cleaning.yml
QiuSimons Apr 21, 2021
4211994
Update 02_prepare_package.sh
QiuSimons Apr 21, 2021
283ee8e
Update 02_prepare_package.sh
QiuSimons Apr 21, 2021
70c7584
Update 02_prepare_package.sh
QiuSimons Apr 21, 2021
71be9fb
Update 02_prepare_package.sh
QiuSimons Apr 21, 2021
60db120
Update 02_prepare_package.sh
QiuSimons Apr 21, 2021
489a099
Update 02_prepare_package.sh
QiuSimons Apr 21, 2021
1c6a78e
Update R2S-OpenWrt.yml
QiuSimons Apr 22, 2021
ebbfe25
Update R4S-OpenWrt.yml
QiuSimons Apr 22, 2021
3f667ff
Update X86-OpenWrt.yml
QiuSimons Apr 22, 2021
0cb4efb
Update 02_prepare_package.sh
QiuSimons Apr 26, 2021
1056adb
Update config.seed
QiuSimons Apr 26, 2021
7e3beae
Update config.seed
QiuSimons Apr 26, 2021
48b646b
Update config.seed
QiuSimons Apr 26, 2021
5a73026
Update 02_prepare_package.sh
QiuSimons Apr 29, 2021
a828f86
Update zzz-default-settings
QiuSimons Apr 30, 2021
23eb754
Update 02_prepare_package.sh
QiuSimons May 4, 2021
a4d83f5
Update 02_prepare_package.sh
QiuSimons May 4, 2021
b4474f8
Update 02_target_only.sh
QiuSimons May 4, 2021
8732020
Update 02_target_only.sh
QiuSimons May 4, 2021
454f97b
Update 02_target_only.sh
QiuSimons May 4, 2021
5f3468b
Update 02_prepare_package.sh
QiuSimons May 5, 2021
f1805a4
Update 900-add-filter-aaaa-option.patch
QiuSimons May 5, 2021
2d3efe9
Update 02_prepare_package.sh
QiuSimons May 5, 2021
0ffc13b
Update 02_prepare_package.sh
QiuSimons May 5, 2021
31998b8
Update zzz-default-settings
QiuSimons May 5, 2021
74c6968
Update smartdns
QiuSimons May 6, 2021
fa72bcc
Update smartdns
QiuSimons May 6, 2021
47cc750
Update smartdns
QiuSimons May 6, 2021
c32e3d1
Update zzz-default-settings
QiuSimons May 6, 2021
317d68d
Update README.md
QiuSimons May 6, 2021
5ffa0d9
Update smartdns
QiuSimons May 6, 2021
b43169b
Update smartdns
QiuSimons May 6, 2021
c6eb6a6
Update smartdns
QiuSimons May 6, 2021
061f6f5
Update AdGuardHome.yaml
QiuSimons May 6, 2021
c15563b
Update AdGuardHome.yaml
QiuSimons May 6, 2021
a216cb5
Update AdGuardHome.yaml
QiuSimons May 6, 2021
5dfa560
Update AdGuardHome.yaml
QiuSimons May 6, 2021
1e15b8c
Update smartdns
QiuSimons May 6, 2021
715ac8c
Update AdGuardHome.yaml
QiuSimons May 6, 2021
86f29bb
Update smartdns
QiuSimons May 6, 2021
b45bfa0
Update AdGuardHome.yaml
QiuSimons May 6, 2021
6e3fcdd
Update smartdns
QiuSimons May 6, 2021
08ba8b6
Update 02_prepare_package.sh
QiuSimons May 7, 2021
9d8d907
Update 02_prepare_package.sh
QiuSimons May 8, 2021
3baf333
Update zzz-default-settings
QiuSimons May 8, 2021
dc205a9
Update 02_prepare_package.sh
QiuSimons May 10, 2021
60c4e45
Update 02_prepare_package.sh
QiuSimons May 10, 2021
ca53aea
Update 02_prepare_package.sh
QiuSimons May 10, 2021
455ebd9
Update Makefile
QiuSimons May 10, 2021
d8f858a
Update 02_prepare_package.sh
QiuSimons May 10, 2021
ac4587f
Update 02_prepare_package.sh
QiuSimons May 10, 2021
7fe0c9c
Update 02_prepare_package.sh
QiuSimons May 12, 2021
c65e380
Update config.seed
QiuSimons May 12, 2021
2abbd50
Update config.seed
QiuSimons May 12, 2021
82f4ac7
Revert "Update config.seed"
QiuSimons May 12, 2021
72e7504
Revert "Update config.seed"
QiuSimons May 12, 2021
4391281
Revert "Revert "Update config.seed""
QiuSimons May 12, 2021
f85ee20
Revert "Revert "Update config.seed""
QiuSimons May 12, 2021
2f233c0
Update 02_prepare_package.sh
QiuSimons May 17, 2021
0032daa
Update 02_prepare_package.sh
QiuSimons May 17, 2021
d1c8887
Update 02_prepare_package.sh
QiuSimons May 17, 2021
148a989
Update 02_prepare_package.sh
QiuSimons May 17, 2021
6ffb444
Update 02_prepare_package.sh
QiuSimons May 17, 2021
f69d835
Update 02_prepare_package.sh
QiuSimons May 17, 2021
d7f9146
Update AdGuardHome.yaml
QiuSimons May 24, 2021
5127e6d
Update AdGuardHome.yaml
QiuSimons May 24, 2021
b842da6
Update AdGuardHome.yaml
QiuSimons May 24, 2021
a6d1545
Update cpufreq
QiuSimons May 24, 2021
091dd2c
Update cpufreq
QiuSimons May 24, 2021
9f44d0c
Update cpufreq
QiuSimons May 24, 2021
90f24fb
Update 02_target_only.sh
QiuSimons May 30, 2021
6291700
Update 02_target_only.sh
QiuSimons May 30, 2021
aea2a7d
Update 02_target_only.sh
QiuSimons May 30, 2021
f108e8e
Delete cpufreq
QiuSimons May 30, 2021
dfff49a
Delete cpufreq
QiuSimons May 30, 2021
6e1c7a3
Update 02_prepare_package.sh
QiuSimons May 31, 2021
f36f7c0
Update 02_target_only.sh
QiuSimons May 31, 2021
f79f4a5
Update 02_target_only.sh
QiuSimons May 31, 2021
2da4bc0
Update R2S-OpenWrt.yml
QiuSimons May 31, 2021
efd6453
Update R4S-OpenWrt.yml
QiuSimons May 31, 2021
9458c40
Update X86-OpenWrt.yml
QiuSimons May 31, 2021
c2e8e71
Update 02_prepare_package.sh
QiuSimons Jun 1, 2021
2fac88a
add support for pwm fan
QiuSimons Jun 4, 2021
f2c4602
Update 02_prepare_package.sh
QiuSimons Jun 4, 2021
a1d1c80
Update 02_prepare_package.sh
QiuSimons Jun 7, 2021
acb3f21
Update 02_prepare_package.sh
QiuSimons Jun 14, 2021
6b62c44
Update R2S-OpenWrt.yml
QiuSimons Jun 15, 2021
bcdb904
Update R4S-OpenWrt.yml
QiuSimons Jun 15, 2021
725ce88
Update X86-OpenWrt.yml
QiuSimons Jun 15, 2021
91dba83
Update 02_prepare_package.sh
QiuSimons Jun 16, 2021
2989a05
Update 02_prepare_package.sh
QiuSimons Jun 17, 2021
417e4d3
Update 02_prepare_package.sh
QiuSimons Jun 21, 2021
da280b2
Update 02_prepare_package.sh
QiuSimons Jun 21, 2021
13a134a
Update 02_prepare_package.sh
QiuSimons Jun 23, 2021
116a842
do some cleanup
QiuSimons Jun 25, 2021
b86d8e9
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
b738caa
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
5f1536f
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
fc4c34c
Update 02_target_only.sh
QiuSimons Jun 25, 2021
b7de85d
Update 02_target_only.sh
QiuSimons Jun 25, 2021
1e996c9
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
a2af396
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
5144e34
Update 02_target_only.sh
QiuSimons Jun 25, 2021
9111b30
Update 02_target_only.sh
QiuSimons Jun 25, 2021
0e4adb0
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
811e320
Update 02_prepare_package.sh
QiuSimons Jun 25, 2021
8683095
Update 02_prepare_package.sh
QiuSimons Jun 28, 2021
222d075
Update 02_prepare_package.sh
QiuSimons Jun 28, 2021
64a06ed
Update config.seed
QiuSimons Jun 28, 2021
0d45f21
Update config.seed
QiuSimons Jun 28, 2021
444e1cc
Update config.seed
QiuSimons Jun 28, 2021
fe1448a
Update 02_prepare_package.sh
QiuSimons Jun 28, 2021
b71e59b
Update 02_prepare_package.sh
QiuSimons Jun 28, 2021
67f0d3c
Update README.md
QiuSimons Jun 29, 2021
9b08cde
Add files via upload
QiuSimons Jun 29, 2021
9cf3b87
Update README.md
QiuSimons Jun 29, 2021
1e65227
Update README.md
QiuSimons Jun 29, 2021
ce68ec5
Update 02_prepare_package.sh
QiuSimons Jun 29, 2021
0daa34f
Update README.md
QiuSimons Jun 29, 2021
3cbb78f
Update 02_prepare_package.sh
QiuSimons Jun 30, 2021
9b6e76e
Update 02_prepare_package.sh
QiuSimons Jun 30, 2021
bee4580
Update 02_prepare_package.sh
QiuSimons Jul 2, 2021
9e43db7
Update config.seed
QiuSimons Jul 2, 2021
6277107
Update config.seed
QiuSimons Jul 2, 2021
5659ed3
Update config.seed
QiuSimons Jul 2, 2021
7eec460
Update README.md
QiuSimons Jul 2, 2021
d0cdbc2
Update and rename dnsfilter to adblock
QiuSimons Jul 2, 2021
1edc6a9
Update adblock
QiuSimons Jul 2, 2021
0247f59
Update 02_prepare_package.sh
QiuSimons Jul 2, 2021
260853e
Revert "Update 02_prepare_package.sh"
QiuSimons Jul 7, 2021
48a48a1
Merge branch 'master' of https://github.com/QiuSimons/R2S-R4S-X86-Ope…
QiuSimons Jul 7, 2021
9da2c7c
Revert "Merge branch 'master' of https://github.com/QiuSimons/R2S-R4S…
QiuSimons Jul 7, 2021
b6a9bf6
TWEAK
QiuSimons Jul 10, 2021
45c8ad4
MPTCP
QiuSimons Jul 14, 2021
d14b2d3
BBRv2
QiuSimons Jul 14, 2021
ddbc3c0
GCC11
QiuSimons Jul 15, 2021
b69f2ba
Update 02_prepare_package.sh
QiuSimons Jul 21, 2021
b05eb7a
Add USB3.0 Support for R2S
TakumiBC Jul 22, 2021
7d58fe4
Merge pull request #192 from thomaswcy/patch-1
QiuSimons Jul 22, 2021
0574b39
Revert MPTCP
QiuSimons Jul 23, 2021
acdf82e
BBRv2
QiuSimons Jul 23, 2021
73dd4b3
Wireguard
QiuSimons Jul 23, 2021
b0acc69
Refresh BBRv2 Patch
QiuSimons Jul 24, 2021
27c35da
Socat
QiuSimons Jul 26, 2021
441b2c2
TWEAK
QiuSimons Jul 22, 2021
fc2270c
Disable SFE
QiuSimons Jul 27, 2021
6ace5d0
mess around with cflags
QiuSimons Jul 27, 2021
30600ef
ready for rc4
QiuSimons Aug 2, 2021
0311198
Cleaned up some code
QiuSimons Aug 10, 2021
68a8763
Add CacULE Scheduler Support
QiuSimons Aug 10, 2021
67101e8
Add UKSM Support
QiuSimons Aug 11, 2021
5f81333
Add Support for NanoPi R2C (#220)
TakumiBC Aug 19, 2021
e2a2b4c
Strip Unnecessary Files
QiuSimons Aug 19, 2021
ff7d6e6
Update dnsfilter
QiuSimons Aug 23, 2021
8a7c85e
Add LRNG Support
QiuSimons Aug 25, 2021
74d6d58
Update ChinaDNS-NG
QiuSimons Aug 26, 2021
61202ce
Update README.md
QiuSimons Aug 26, 2021
1ed082a
21.02.0
QiuSimons Sep 1, 2021
27c2556
Fix
QiuSimons Sep 8, 2021
903649d
Disable Mitigations
QiuSimons Sep 9, 2021
7c499a1
Add: klever1988/cachewrtbuild
QiuSimons Sep 12, 2021
e254458
#253
QiuSimons Sep 16, 2021
54c476a
MosDNS
QiuSimons Sep 16, 2021
15e738f
Patch 1 (#260)
JSZMonkey Sep 17, 2021
62169a8
Update README.md
QiuSimons Sep 17, 2021
c0f456d
Update 02_prepare_package.sh
QiuSimons Sep 17, 2021
ddc0f58
#261
TakumiBC Sep 17, 2021
18210c4
#262
TakumiBC Sep 17, 2021
bfea2f0
#0919
QiuSimons Sep 19, 2021
e2a024e
LRNG: update to v42
QiuSimons Sep 28, 2021
a7d95d6
Adapt to upstream change
QiuSimons Sep 17, 2021
4d9a058
Patche refresh
QiuSimons Sep 28, 2021
a63c98a
klever1988/cachewrtbuild/tree/test
QiuSimons Oct 12, 2021
5820496
auto format code
QiuSimons Oct 12, 2021
4d0c8a2
Adapt to upstream change
QiuSimons Oct 18, 2021
dd908b4
Follow openwrt upstream changes (#298)
QiuSimons Oct 23, 2021
3b3abef
Remove upx
QiuSimons Oct 24, 2021
a4ac960
Sync with OpenWrt v21.02.1
QiuSimons Oct 26, 2021
1ab0cc8
Update 02_prepare_package.sh
QiuSimons Nov 23, 2021
0b4173e
LRNG: patch series for v43
QiuSimons Nov 25, 2021
b91010b
Disable UKSM and Cacule
QiuSimons Nov 25, 2021
7dcc37e
MuQSS 0.196
QiuSimons Nov 26, 2021
cdee46a
BMQ r2
QiuSimons Nov 26, 2021
7b84145
PDS
QiuSimons Nov 27, 2021
bd5015e
BMQ: set 'Time slice' to 6
QiuSimons Nov 27, 2021
4edccf6
Stick with CFS
QiuSimons Nov 27, 2021
e54f0b2
Update 02_target_only.sh
QiuSimons Nov 29, 2021
c463384
Update 02_target_only.sh
QiuSimons Nov 29, 2021
f1a820b
R2S/X86: Use BMQ Scheduler
QiuSimons Nov 29, 2021
f4b22d4
Merge branch 'master' of https://github.com/QiuSimons/YAOF
QiuSimons Nov 29, 2021
4993e50
Revert "R2S/X86: Use BMQ Scheduler"
QiuSimons Nov 29, 2021
6faed6f
tcp: TCP performance optimizations backport from linux/net-next
QiuSimons Nov 29, 2021
8886d85
introduce "le9" Linux kernel patches
QiuSimons Nov 29, 2021
19f6b9f
sync seed
QiuSimons Nov 29, 2021
2fe13fa
CFS: Tweaks
QiuSimons Dec 1, 2021
ea665d1
trojan-plus: link symbol to trojan
QiuSimons Dec 1, 2021
ea1c6c7
Docker: enable docker support
QiuSimons Dec 4, 2021
eefcf29
DPDK: initial support
QiuSimons Dec 9, 2021
1dc13ce
fixes IPv6 packet drop when using software flow offload
QiuSimons Dec 15, 2021
c1bc1bc
Some fixes (#332)
QiuSimons Dec 16, 2021
3d7328d
Update white.list
QiuSimons Dec 20, 2021
e774632
use 404delivr
QiuSimons Dec 20, 2021
7fef464
Some fixes
QiuSimons Dec 23, 2021
221be3a
busybox: Enable LOG_INFO level syslog messages (#345)
sbwml Jan 4, 2022
f257d5e
change package source
QiuSimons Jan 4, 2022
112f8be
2022 update
QiuSimons Jan 22, 2022
d570218
fix #350
QiuSimons Feb 1, 2022
2a24d32
Adapt to upstream change
QiuSimons Feb 9, 2022
adfa863
fix #388
QiuSimons Mar 9, 2022
5955e22
Adapt to upstream change
QiuSimons Mar 9, 2022
c9306b5
use 'svn export' instead of 'svn co'
QiuSimons Mar 17, 2022
b7a2da1
ImmortalWrt Uboot TMP Fix
QiuSimons Mar 21, 2022
266e78e
Adapt to upstream change
QiuSimons Mar 21, 2022
32d8a60
Add passwall2
QiuSimons Mar 23, 2022
8cf5e17
disable oaf
QiuSimons Mar 23, 2022
81a994f
add ucode
QiuSimons Mar 23, 2022
7beb0c7
Grant access to autocore
QiuSimons Mar 30, 2022
66b4a83
Add luci-app-ipsec-server support
gqbre Apr 6, 2022
a0f3e3b
Adapt to upstream change
QiuSimons Apr 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/Cleaning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: kolpav/purge-artifacts-action@master
with:
token: ${{ github.token }}
expire-in: 7d
expire-in: 3d

Cleanup-Workflow-Logs:
runs-on: ubuntu-20.04
Expand All @@ -39,4 +39,4 @@ jobs:
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
retain_days: 3
143 changes: 143 additions & 0 deletions .github/workflows/R2C-OpenWrt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
name: R2C-OpenWrt

on:
# schedule:
# - cron: 5 6 * * 0
watch:
types: started

jobs:
build:
runs-on: ubuntu-20.04
if: github.event.repository.owner.id == github.event.sender.id

steps:
- name: Checkout
uses: actions/checkout@main
- name: Show system
run: |
echo -e "Total CPU cores\t: $(nproc)"
cat /proc/cpuinfo | grep 'model name'
free -h
uname -a
[ -f /proc/version ] && cat /proc/version
[ -f /etc/issue.net ] && cat /etc/issue.net
[ -f /etc/issue ] && cat /etc/issue
ulimit -a
- name: Free disk space
run: |
sudo -E swapoff -a
sudo -E rm -f /swapfile
sudo -E docker image prune -a -f
sudo -E snap set system refresh.retain=2
sudo -E apt-get -y purge azure* dotnet* firefox ghc* google* hhvm llvm* mono* mysql* openjdk* php* zulu*
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean
sudo -E rm -rf /usr/share/dotnet /usr/local/lib/android/sdk /etc/mysql /etc/php /usr/local/share/boost
[ -n "$AGENT_TOOLSDIRECTORY" ] && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
- name: Init build dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo -E rm -rf /etc/apt/sources.list.d
sudo -E apt-get update -y
sudo -E apt-get install -y build-essential rsync asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core 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 python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons
wget -qO - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed 's/python-/python3-/g' | /bin/bash
pip3 install pyelftools
sudo -E apt-get clean -y
git config --global user.name 'GitHub Actions' && git config --global user.email '[email protected]'
df -h
- name: Prepare Mixedwrt
run: |
sudo chown -R runner:runner /home/runner/work/YAOF
cp -r ./SCRIPTS/R2S/. ./SCRIPTS/
cp -r ./SCRIPTS/. ./
/bin/bash 01_get_ready.sh
- name: Prepare Package
run: |
cd openwrt
cp -r ../SCRIPTS/. ./
/bin/bash 02_prepare_package.sh
/bin/bash 02_target_only.sh
/bin/bash 04_remove_upx.sh
- name: Convert Translation
run: |
cd openwrt
/bin/bash 03_convert_translation.sh
- name: Add ACL
run: |
cd openwrt
/bin/bash 05_create_acl_for_luci.sh -a
- name: Make Config
run: |
cd openwrt
mv ../SEED/R2C/config.seed .config
#echo -e 'CONFIG_DEVEL=y\nCONFIG_CCACHE=y' >> .config
make defconfig
- name: Get Architecture
working-directory: ${{ github.workspace }}/openwrt
run: |
TARGET_DEVICE_ARCH="$(grep "^CONFIG_TARGET_.*_.*=y$" ".config" | head -n 1 | sed 's/^CONFIG_TARGET_//g' | awk -F '_' '{print $1}')"
echo "TARGET_DEVICE_ARCH=${TARGET_DEVICE_ARCH}-" >>$GITHUB_ENV
latest_release="$(curl -s https://github.com/openwrt/openwrt/tags | grep -Eo "v[0-9\.]+\-*r*c*[0-9]*.tar.gz" | sed -n '/[2-9][0-9]/p' | sed -n 1p | sed 's/.tar.gz//g' | sed 's/v//g')"
echo "latest_release=${latest_release}" >>$GITHUB_ENV
- name: Cache
uses: klever1988/cachewrtbuild@test
with:
ccache: 'true'
mixkey: ${{ env.TARGET_DEVICE_ARCH }}
prefix: ${{ github.workspace }}/openwrt
- name: Make Download
run: |
df -h
cd openwrt
make download -j50
- name: Compile Openwrt
id: compileopenwrt
continue-on-error: true
run: |
df -h
cd openwrt
make -j$(($(nproc) + 1)) || make -j$(($(nproc) + 1)) V=s
echo $?
- name: If Error
if: steps.compileopenwrt.outcome == 'failure'
run: |
cat openwrt/.config
echo '================================================================'
cd openwrt && make -j1 V=s
- name: Print Disk Space After
run: df -h
- name: Organize files
id: organize
run: |
rm -rf ./artifact/
mkdir -p ./artifact/
mv openwrt/bin/targets/rockchip/armv8/*sysupgrade.img* ./artifact/
cd ./artifact/
ls -Ahl
gzip -d *.gz && exit 0
gzip --best *.img
ls -Ahl
sha256sum openwrt*r2c* | tee R2C-GC404-$(date +%Y-%m-%d)-${{ env.latest_release }}.sha256sum
zip R2C-GC404-Docker-$(date +%Y-%m-%d)-${{ env.latest_release }}-ext4.zip *r2c*ext4*
zip R2C-GC404-Docker-$(date +%Y-%m-%d)-${{ env.latest_release }}-sfs.zip *r2c*squashfs*
ls -Ahl
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: OpenWRT_${{ env.latest_release }}
path: ./artifact/

- name: Create release
id: create_release
uses: ncipollo/[email protected]
with:
name: OpenWRT-${{ env.latest_release }}
allowUpdates: true
tag: ${{ env.latest_release }}
commit: master
replacesArtifacts: true
token: ${{ secrets.workflow_token }}
artifacts: ./artifact/*.zip
54 changes: 26 additions & 28 deletions .github/workflows/R2S-OpenWrt.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: R2S-OpenWrt

on:
schedule:
- cron: 5 6 * * 0
# schedule:
# - cron: 5 6 * * 0
watch:
types: started

Expand Down Expand Up @@ -44,12 +44,13 @@ jobs:
sudo -E apt-get update -y
sudo -E apt-get install -y build-essential rsync asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core 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 python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons
wget -qO - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed 's/python-/python3-/g' | /bin/bash
pip3 install pyelftools
sudo -E apt-get clean -y
git config --global user.name 'GitHub Actions' && git config --global user.email '[email protected]'
df -h
- name: Prepare Mixedwrt
run: |
sudo chown -R runner:runner /home/runner/work/R2S-R4S-X86-OpenWrt
sudo chown -R runner:runner /home/runner/work/YAOF
cp -r ./SCRIPTS/R2S/. ./SCRIPTS/
cp -r ./SCRIPTS/. ./
/bin/bash 01_get_ready.sh
Expand All @@ -59,6 +60,7 @@ jobs:
cp -r ../SCRIPTS/. ./
/bin/bash 02_prepare_package.sh
/bin/bash 02_target_only.sh
/bin/bash 04_remove_upx.sh
- name: Convert Translation
run: |
cd openwrt
Expand All @@ -71,37 +73,33 @@ jobs:
run: |
cd openwrt
mv ../SEED/R2S/config.seed .config
#echo -e 'CONFIG_DEVEL=y\nCONFIG_CCACHE=y' >> .config
make defconfig

- name: Smart chmod
- name: Get Architecture
working-directory: ${{ github.workspace }}/openwrt
run: |
MY_Filter=$(mktemp)
echo '/\.git' > ${MY_Filter}
echo '/\.svn' >> ${MY_Filter}
find ./ -maxdepth 1 | grep -v '\./$' | grep -v '/\.git' | xargs -s1024 chmod -R u=rwX,og=rX
find ./ -type f | grep -v -f ${MY_Filter} | xargs -s1024 file | grep 'executable\|ELF' | cut -d ':' -f1 | xargs -s1024 chmod 755
rm -f ${MY_Filter}
unset MY_Filter

TARGET_DEVICE_ARCH="$(grep "^CONFIG_TARGET_.*_.*=y$" ".config" | head -n 1 | sed 's/^CONFIG_TARGET_//g' | awk -F '_' '{print $1}')"
echo "TARGET_DEVICE_ARCH=${TARGET_DEVICE_ARCH}-" >>$GITHUB_ENV
latest_release="$(curl -s https://github.com/openwrt/openwrt/tags | grep -Eo "v[0-9\.]+\-*r*c*[0-9]*.tar.gz" | sed -n '/[2-9][0-9]/p' | sed -n 1p | sed 's/.tar.gz//g' | sed 's/v//g')"
echo "latest_release=${latest_release}" >>$GITHUB_ENV
- name: Cache
uses: klever1988/cachewrtbuild@test
with:
ccache: 'true'
mixkey: ${{ env.TARGET_DEVICE_ARCH }}
prefix: ${{ github.workspace }}/openwrt
- name: Make Download
run: |
df -h
cd openwrt
make download -j10
- name: Make Toolchain
run: |
df -h
cd openwrt
let make_process=$(nproc)+1
make toolchain/install -j${make_process} V=s
make download -j50
- name: Compile Openwrt
id: compileopenwrt
continue-on-error: true
run: |
df -h
cd openwrt
let Make_Process=$(nproc)+1
make -j${Make_Process} V=w
make -j$(($(nproc) + 1)) || make -j$(($(nproc) + 1)) V=s
echo $?
- name: If Error
if: steps.compileopenwrt.outcome == 'failure'
Expand All @@ -122,23 +120,23 @@ jobs:
gzip -d *.gz && exit 0
gzip --best *.img
ls -Ahl
sha256sum openwrt*r2s* | tee R2S-GC404-$(date +%Y-%m-%d)-21.02.sha256sum
zip R2S-GC404-$(date +%Y-%m-%d)-21.02-ext4.zip *r2s*ext4*
zip R2S-GC404-$(date +%Y-%m-%d)-21.02-sfs.zip *r2s*squashfs*
sha256sum openwrt*r2s* | tee R2S-GC404-$(date +%Y-%m-%d)-${{ env.latest_release }}.sha256sum
zip R2S-GC404-Docker-$(date +%Y-%m-%d)-${{ env.latest_release }}-ext4.zip *r2s*ext4*
zip R2S-GC404-Docker-$(date +%Y-%m-%d)-${{ env.latest_release }}-sfs.zip *r2s*squashfs*
ls -Ahl
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: OpenWRT_21.02
name: OpenWRT_${{ env.latest_release }}
path: ./artifact/

- name: Create release
id: create_release
uses: ncipollo/[email protected]
with:
name: OpenWRT-R2S-R4S-X86-21.02
name: OpenWRT-${{ env.latest_release }}
allowUpdates: true
tag: 2102
tag: ${{ env.latest_release }}
commit: master
replacesArtifacts: true
token: ${{ secrets.workflow_token }}
Expand Down
54 changes: 26 additions & 28 deletions .github/workflows/R4S-OpenWrt.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: R4S-OpenWrt

on:
schedule:
- cron: 5 6 * * 0
# schedule:
# - cron: 5 6 * * 0
watch:
types: started

Expand Down Expand Up @@ -44,12 +44,13 @@ jobs:
sudo -E apt-get update -y
sudo -E apt-get install -y build-essential rsync asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core 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 python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons
wget -qO - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed 's/python-/python3-/g' | /bin/bash
pip3 install pyelftools
sudo -E apt-get clean -y
git config --global user.name 'GitHub Actions' && git config --global user.email '[email protected]'
df -h
- name: Prepare Mixedwrt
run: |
sudo chown -R runner:runner /home/runner/work/R2S-R4S-X86-OpenWrt
sudo chown -R runner:runner /home/runner/work/YAOF
cp -r ./SCRIPTS/R4S/. ./SCRIPTS/
cp -r ./SCRIPTS/. ./
/bin/bash 01_get_ready.sh
Expand All @@ -59,6 +60,7 @@ jobs:
cp -r ../SCRIPTS/. ./
/bin/bash 02_prepare_package.sh
/bin/bash 02_target_only.sh
/bin/bash 04_remove_upx.sh
- name: Convert Translation
run: |
cd openwrt
Expand All @@ -71,37 +73,33 @@ jobs:
run: |
cd openwrt
mv ../SEED/R4S/config.seed .config
#echo -e 'CONFIG_DEVEL=y\nCONFIG_CCACHE=y' >> .config
make defconfig

- name: Smart chmod
- name: Get Architecture
working-directory: ${{ github.workspace }}/openwrt
run: |
MY_Filter=$(mktemp)
echo '/\.git' > ${MY_Filter}
echo '/\.svn' >> ${MY_Filter}
find ./ -maxdepth 1 | grep -v '\./$' | grep -v '/\.git' | xargs -s1024 chmod -R u=rwX,og=rX
find ./ -type f | grep -v -f ${MY_Filter} | xargs -s1024 file | grep 'executable\|ELF' | cut -d ':' -f1 | xargs -s1024 chmod 755
rm -f ${MY_Filter}
unset MY_Filter

TARGET_DEVICE_ARCH="$(grep "^CONFIG_TARGET_.*_.*=y$" ".config" | head -n 1 | sed 's/^CONFIG_TARGET_//g' | awk -F '_' '{print $1}')"
echo "TARGET_DEVICE_ARCH=${TARGET_DEVICE_ARCH}-" >>$GITHUB_ENV
latest_release="$(curl -s https://github.com/openwrt/openwrt/tags | grep -Eo "v[0-9\.]+\-*r*c*[0-9]*.tar.gz" | sed -n '/[2-9][0-9]/p' | sed -n 1p | sed 's/.tar.gz//g' | sed 's/v//g')"
echo "latest_release=${latest_release}" >>$GITHUB_ENV
- name: Cache
uses: klever1988/cachewrtbuild@test
with:
ccache: 'true'
mixkey: ${{ env.TARGET_DEVICE_ARCH }}
prefix: ${{ github.workspace }}/openwrt
- name: Make Download
run: |
df -h
cd openwrt
make download -j10
- name: Make Toolchain
run: |
df -h
cd openwrt
let make_process=$(nproc)+1
make toolchain/install -j${make_process} V=s
make download -j50
- name: Compile Openwrt
id: compileopenwrt
continue-on-error: true
run: |
df -h
cd openwrt
let Make_Process=$(nproc)+1
make -j${Make_Process} V=w
make -j$(($(nproc) + 1)) || make -j$(($(nproc) + 1)) V=s
echo $?
- name: If Error
if: steps.compileopenwrt.outcome == 'failure'
Expand All @@ -122,23 +120,23 @@ jobs:
gzip -d *.gz && exit 0
gzip --best *.img
ls -Ahl
sha256sum openwrt*r4s* | tee R4S-GC404-$(date +%Y-%m-%d)-21.02.sha256sum
zip R4S-GC404-$(date +%Y-%m-%d)-21.02-ext4.zip *r4s*ext4*
zip R4S-GC404-$(date +%Y-%m-%d)-21.02-sfs.zip *r4s*squashfs*
sha256sum openwrt*r4s* | tee R4S-GC404-$(date +%Y-%m-%d)-${{ env.latest_release }}.sha256sum
zip R4S-GC404-Docker-$(date +%Y-%m-%d)-${{ env.latest_release }}-ext4.zip *r4s*ext4*
zip R4S-GC404-Docker-$(date +%Y-%m-%d)-${{ env.latest_release }}-sfs.zip *r4s*squashfs*
ls -Ahl
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: OpenWRT_21.02
name: OpenWRT_${{ env.latest_release }}
path: ./artifact/

- name: Create release
id: create_release
uses: ncipollo/[email protected]
with:
name: OpenWRT-R2S-R4S-X86-21.02
name: OpenWRT-${{ env.latest_release }}
allowUpdates: true
tag: 2102
tag: ${{ env.latest_release }}
commit: master
replacesArtifacts: true
token: ${{ secrets.workflow_token }}
Expand Down
Loading