An open API service indexing awesome lists of open source software.

https://github.com/0x676e67/actions-openwrt

Lean♂DHDAXCW Actions OpenWrt for Nanopi R5C/R4SE/X86
https://github.com/0x676e67/actions-openwrt

action ci lean lede luci nanopi openwrt r4s r4se r5c x86

Last synced: about 1 month ago
JSON representation

Lean♂DHDAXCW Actions OpenWrt for Nanopi R5C/R4SE/X86

Awesome Lists containing this project

README

        

# Actions-OpenWrt

### 支持在线升级,自动扩容根分区

> 若非扩容升级则去掉参数EXPAND

- SSH进入终端

```
# 会保存配置备份
EXPAND=true bash +x ~/update.sh

# 跳过备份
EXPAND=true SKIP_BACK=1 bash +x ~/update.sh

# 默认走代理下载,如不需要代理下载固件,执行下面命令
EXPAND=true USE_PROXY=false bash +x ~/update.sh

# 默认使用gh.flyinbug.top/gh代理,自定义代理执行下面命令
EXPAND=true PROXY=gh.flyinbug.top/gh bash +x ~/update.sh
```

- R4SE 默认网卡rtl8821cu driver + GPU (对超频电压微调过,特别适体质垃圾的RK3399,暂时不存在跑大带宽/pcdn重启/死机之类)
- R5C 默认m.2网卡mt7921 driver + GPU + HDMI Output
- x86-64 默认AX201 driver

### 编译依赖(非自托管请不要fork我的项目)

```shell
sudo apt update -y
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev vpnc \
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz aria2 lib32gcc-s1 \
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils \
rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev libfuse-dev zstd npm

curl -fsSL https://test.docker.com -o test-docker.sh
sudo sh test-docker.sh
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart
newgrp - docker
```

- 本地编译

```shell
git clone https://github.com/gngpp/Actions-OpenWrt && cd Actions-OpenWrt
MODEL=x86-64 bash +x build.sh
```

### 默认编译配置

- 用户名:root 密码:password 管理后台:http://openwrt.lan
- 电报群:https://t.me/DHDAXCW

### 预览
![image](https://user-images.githubusercontent.com/51810656/236200658-027ad74e-7867-4f8b-9d65-87bbed243262.png)
![image](https://user-images.githubusercontent.com/51810656/236200205-38795b63-822e-4fd0-9dc2-e28d65bf6f16.png)