Skip to content

Commit

Permalink
remove old driver
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jan 9, 2024
1 parent ffa79ef commit 2cc61dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
2 changes: 2 additions & 0 deletions before_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
sudo rm -Rf /lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/88XXau_wfb.ko
24 changes: 5 additions & 19 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,11 @@ echo "---------"

make KSRC=/usr/src/linux-headers-6.3.13-060313-generic O="" modules

mkdir -p package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/realtek/rtl8812au/

echo "_________________________________________________________________________"
ls -a package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/realtek/
echo "_________________________________________________________________________"
ls -a package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/
echo "_________________________________________________________________________"
ls -a package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/
echo "_________________________________________________________________________"
ls -a package/lib/modules/6.3.13-060313-generic/kernel/drivers/
echo "_________________________________________________________________________"
ls -a package/lib/modules/6.3.13-060313-generic/kernel/
echo "_________________________________________________________________________"
ls -a package/lib/modules/6.3.13-060313-generic/
echo "_________________________________________________________________________"

cp *.ko package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/realtek/rtl8812au/

fpm -a AMD64 -s dir -t deb -n rtl8812au-x86 -v 2.5-evo-$(date '+%m%d%H%M') -C package -p rtl8812au-x86.deb
mkdir -p package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/

cp *.ko package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/

fpm -a AMD64 -s dir -t deb -n rtl8812au-x86 -v 2.5-evo-$(date '+%m%d%H%M') -C package -p rtl8812au-x86.deb --before-install before-install.sh

echo "copied deb file"
echo "push to cloudsmith"
Expand Down

0 comments on commit 2cc61dc

Please sign in to comment.