forked from svpcom/rtl8812au
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v5.2.20' into kernel_6.3
- Loading branch information
Showing
13 changed files
with
153 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: autoinstaller | ||
|
||
on: [push] | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: install dependencies | ||
run: | | ||
sudo apt install -y ruby-dev | ||
sudo gem install fpm | ||
- name: create installer | ||
run: | | ||
mkdir ../temp | ||
mkdir ../temp2 | ||
cp -r packagedir/* ../temp2 | ||
rm -Rf packagedir | ||
mv * ../temp | ||
mkdir -p packagedir/opt/rtl8812au/ | ||
mv ../temp/* packagedir/opt/rtl8812au | ||
mv ../temp2/* packagedir/ | ||
fpm -a arm64 -s dir -t deb -n rtl8812au-autocompiler -v 2.3.4-$(date '+%m%d%H%M') -C ./packagedir/ -p rtl8812au-autocompiler.deb --after-install packagedir/opt/rtl8812au/after-install.sh | ||
ls -a | ||
- name: Upload to Github | ||
uses: 'actions/upload-artifact@v2' | ||
with: | ||
name: "rtl8812au-autocompiler" | ||
path: | | ||
*.deb | ||
- name: Push | ||
id: push | ||
uses: cloudsmith-io/action@master | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: "push" | ||
format: "deb" | ||
owner: "openhd" | ||
repo: "openhd-2-3-evo" | ||
distro: "any-distro" | ||
release: "any-version" | ||
republish: "true" # needed ONLY if version is not changing | ||
file: "*.deb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ modules.order | |
*.mod.c | ||
.tmp_versions | ||
.cache.mk | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
config RTL8812AU | ||
tristate "Realtek 8812A USB WiFi" | ||
depends on USB | ||
---help--- | ||
select WIRELESS_EXT | ||
help | ||
Help message of RTL8812AU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
systemctl enable rtl8812auEasyCompile | ||
chmod +x /usr/local/bin/rtl8812auEasyCompile.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
packagedir/etc/systemd/system/rtl8812auEasyCompile.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=rtl8812au Compiler | ||
After=multi-user.target | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/usr/local/bin/rtl8812auEasyCompile.sh | ||
User=root | ||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
echo "We're now compiling the rtl8812au driver into your stock kernel" | ||
sudo apt install -y dkms | ||
cd /opt/rtl8812au/ | ||
sudo ./dkms-install.sh > /opt/installrtl.log | ||
systemctl disable rtl8812auEasyCompile | ||
sudo rm -Rf /etc/systemd/system/rtl8812auEasyCompile.service | ||
sudo rm -Rf /usr/local/bin/rtl8812auEasyCompile.sh | ||
echo "cleanup done" | ||
rm /etc/motd | ||
mv /etc/motd2 /etc/motd | ||
systemctl enable openhd | ||
reboot |