Skip to content

Commit

Permalink
Project structure update
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbugcc committed Oct 28, 2024
1 parent 1239d8e commit 89aa766
Show file tree
Hide file tree
Showing 9 changed files with 132 additions and 173 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/RaspberryPi3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ name: Raspberry Pi3B+
on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'

env:
OPNAME: 'Raspberry Pi3B+'
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
FEEDS_CONF: feeds.conf.default
EXTERNAL_FILE: configs/LuciApp.config
EXTERNAL_FILE: configs/luci/Standard.config
CONFIG_FILE: configs/RPi3B.config
SYS_CONF_SH: configure.sh
PACKS: package.sh
EXTEND_DRIVER: true
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
Expand Down Expand Up @@ -89,20 +85,18 @@ jobs:
cd openwrt
$GITHUB_WORKSPACE/$PACKS
- name: Extend Driver
if: env.EXTEND_DRIVER == 'true'
run: |
cat configs/Driver.config >> openwrt/.config
- name: Modify configuration
run: |
cat $EXTERNAL_FILE >> openwrt/.config
cd openwrt && make defconfig
sed -i '/CONFIG_DEFAULT_luci/'d .config
cat .config
- name: SSH connection to Actions
uses: P3TERX/[email protected]
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

- name: Download package
id: package
run: |
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/RaspberryPi4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ name: Raspberry Pi4
on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'

env:
OPNAME: 'Raspberry Pi4'
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
FEEDS_CONF: feeds.conf.default
EXTERNAL_FILE: configs/LuciApp.config
EXTERNAL_FILE: configs/luci/Standard.config
CONFIG_FILE: configs/RPi4.config
SYS_CONF_SH: configure.sh
PACKS: package.sh
EXTEND_DRIVER: true
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
Expand Down Expand Up @@ -89,20 +85,18 @@ jobs:
cd openwrt
$GITHUB_WORKSPACE/$PACKS
- name: Extend Driver
if: env.EXTEND_DRIVER == 'true'
run: |
cat configs/Driver.config >> openwrt/.config
- name: Modify configuration
run: |
cat $EXTERNAL_FILE >> openwrt/.config
cd openwrt && make defconfig
sed -i '/CONFIG_DEFAULT_luci/'d .config
cat .config
- name: SSH connection to Actions
uses: P3TERX/[email protected]
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

- name: Download package
id: package
run: |
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/RaspberryPi5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ name: Raspberry Pi5
on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'

env:
OPNAME: 'Raspberry Pi5'
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
FEEDS_CONF: feeds.conf.default
EXTERNAL_FILE: configs/LuciApp.config
EXTERNAL_FILE: configs/luci/Standard.config
CONFIG_FILE: configs/RPi5.config
SYS_CONF_SH: configure.sh
PACKS: package.sh
EXTEND_DRIVER: true
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
Expand Down Expand Up @@ -89,20 +85,18 @@ jobs:
cd openwrt
$GITHUB_WORKSPACE/$PACKS
- name: Extend Driver
if: env.EXTEND_DRIVER == 'true'
run: |
cat configs/Driver.config >> openwrt/.config
- name: Modify configuration
run: |
cat $EXTERNAL_FILE >> openwrt/.config
cd openwrt && make defconfig
sed -i '/CONFIG_DEFAULT_luci/'d .config
cat .config
- name: SSH connection to Actions
uses: P3TERX/[email protected]
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

- name: Download package
id: package
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
name: Rockchip_armv8
name: Rockchip

on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'

env:
OPNAME: 'R68S、R2S、R4S、R5C、R5S、OPiR1Plus'
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
FEEDS_CONF: feeds.conf.default
EXTERNAL_FILE: configs/LuciApp.config
EXTERNAL_FILE: configs/luci/Standard.config
CONFIG_FILE: configs/Rockchip.config
SYS_CONF_SH: configure.sh
PACKS: package.sh
EXTEND_DRIVER: true
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
Expand Down Expand Up @@ -89,20 +85,18 @@ jobs:
cd openwrt
$GITHUB_WORKSPACE/$PACKS
- name: Extend Driver
if: env.EXTEND_DRIVER == 'true'
run: |
cat configs/Driver.config >> openwrt/.config
- name: Modify configuration
run: |
cat $EXTERNAL_FILE >> openwrt/.config
cd openwrt && make defconfig
sed -i '/CONFIG_DEFAULT_luci/'d .config
cat .config
- name: SSH connection to Actions
uses: P3TERX/[email protected]
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

- name: Download package
id: package
run: |
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ name: x86_64
on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'

env:
OPNAME: 'x86_64'
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
FEEDS_CONF: feeds.conf.default
EXTERNAL_FILE: configs/LuciApp.config
EXTERNAL_FILE: configs/luci/Standard.config
CONFIG_FILE: configs/x86_64.config
SYS_CONF_SH: configure.sh
PACKS: package.sh
EXTEND_DRIVER: true
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
Expand Down Expand Up @@ -89,20 +85,18 @@ jobs:
cd openwrt
$GITHUB_WORKSPACE/$PACKS
- name: Extend Driver
if: env.EXTEND_DRIVER == 'true'
run: |
cat configs/Driver.config >> openwrt/.config
- name: Modify configuration
run: |
cat $EXTERNAL_FILE >> openwrt/.config
cd openwrt && make defconfig
sed -i '/CONFIG_DEFAULT_luci/'d .config
cat .config
- name: SSH connection to Actions
uses: P3TERX/[email protected]
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

- name: Download package
id: package
run: |
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/x86_64Lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ name: x86_64Lite
on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'

env:
OPNAME: 'x86_64Lite'
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
FEEDS_CONF: feeds.conf.default
EXTERNAL_FILE: configs/LuciApp_Lite.config
EXTERNAL_FILE: configs/luci/Lite.config
CONFIG_FILE: configs/x86_64.config
SYS_CONF_SH: configure.sh
PACKS: package.sh
EXTEND_DRIVER: false
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
Expand Down Expand Up @@ -89,20 +85,18 @@ jobs:
cd openwrt
$GITHUB_WORKSPACE/$PACKS
- name: Extend Driver
if: env.EXTEND_DRIVER == 'true'
run: |
cat configs/Driver.config >> openwrt/.config
- name: Modify configuration
run: |
cat $EXTERNAL_FILE >> openwrt/.config
cd openwrt && make defconfig
sed -i '/CONFIG_DEFAULT_luci/'d .config
cat .config
- name: SSH connection to Actions
uses: P3TERX/[email protected]
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

- name: Download package
id: package
run: |
Expand Down
84 changes: 84 additions & 0 deletions configs/Driver.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
## File System Drivers
CONFIG_PACKAGE_kmod-fs-f2fs=y
CONFIG_PACKAGE_kmod-fs-nfs=y
CONFIG_PACKAGE_kmod-fs-nfs-common=y
CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y
CONFIG_PACKAGE_kmod-fs-nfs-v3=y
CONFIG_PACKAGE_kmod-fs-nfs-v4=y
CONFIG_PACKAGE_kmod-fs-nfsd=y
CONFIG_PACKAGE_kmod-fs-squashfs=y
CONFIG_PACKAGE_kmod-fs-xfs=y

## I2C Drivers
CONFIG_PACKAGE_kmod-i2c-core=y
## Network Support
### Dependence for OpenClash
CONFIG_PACKAGE_kmod-inet-diag=y
## USB Drivers
### USB Audio
CONFIG_PACKAGE_kmod-usb-audio=y

### USB Net Drivers
CONFIG_PACKAGE_kmod-usb-net=y
CONFIG_PACKAGE_kmod-usb-net-asix=y
CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y
CONFIG_PACKAGE_kmod-usb-net-rtl8152=y
CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y
CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y
CONFIG_PACKAGE_kmod-usb-net-hso=y
CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y
CONFIG_PACKAGE_kmod-usb-net-ipheth=y
CONFIG_PACKAGE_kmod-usb-net-kalmia=y
CONFIG_PACKAGE_kmod-usb-net-kaweth=y
CONFIG_PACKAGE_kmod-usb-net-mcs7830=y
CONFIG_PACKAGE_kmod-usb-net-pegasus=y
CONFIG_PACKAGE_kmod-usb-net-pl=y
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
CONFIG_PACKAGE_kmod-usb-net-rndis=y
CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y
CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y
CONFIG_PACKAGE_kmod-usb-net-sr9700=y
CONFIG_PACKAGE_kmod-usb-net2280=y

### USB Storage Drivers
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-printer=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-extras=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_kmod-usb-uhci=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y

# 3G/4G Drivers & Utilities
CONFIG_PACKAGE_comgt-ncm=y
CONFIG_PACKAGE_comgt=y
CONFIG_PACKAGE_kmod-mii=y
CONFIG_PACKAGE_kmod-usb-acm=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-option=y
CONFIG_PACKAGE_kmod-usb-serial-wwan=y
CONFIG_PACKAGE_luci-proto-3g=y
CONFIG_PACKAGE_luci-proto-ncm=y
CONFIG_PACKAGE_luci-proto-qmi=y
CONFIG_PACKAGE_qmi-utils=y
CONFIG_PACKAGE_umbim=y
CONFIG_PACKAGE_uqmi=y
CONFIG_PACKAGE_usb-modeswitch=y
# Mobile Network Sharing
CONFIG_PACKAGE_libimobiledevice-utils=y
CONFIG_PACKAGE_libplist-utils=y
CONFIG_PACKAGE_libudev-fbsd=y
CONFIG_PACKAGE_libusbmuxd-utils=y
CONFIG_PACKAGE_usbmuxd=y
CONFIG_PACKAGE_smartdns=y

## Python
#CONFIG_PACKAGE_python-pip-conf=y
#CONFIG_PACKAGE_python3=y
Loading

0 comments on commit 89aa766

Please sign in to comment.