Skip to content

Commit

Permalink
Update build_chroot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 8, 2024
1 parent 0184740 commit c734a71
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@ elif [[ "$(lsb_release -cs)" == "noble" ]]; then
echo "building for ubuntu noble minimal"
sudo apt update
sudo apt install -y build-essential flex bc bison dkms
ls -a /usr/src/
make KSRC=/usr/src/linux-headers-6.8.0-31-generic O="" modules
mkdir -p package/lib/modules/6.8.0-31-generic/kernel/drivers/net/wireless/
cp *.ko package/lib/modules/6.8.0-31-generic/kernel/drivers/net/wireless/
ls -a
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 --after-install after-install.sh
echo "copied deb file"
echo "push to cloudsmith"
git describe --exact-match HEAD >/dev/null 2>&1
echo "Pushing the package to OpenHD 2.5 repository"
cloudsmith push deb --api-key "$API_KEY" openhd/release/ubuntu/noble rtl8812au-x86.deb || exit 1
echo "---------------"
echo "_____________________________________________"
else
Expand Down

0 comments on commit c734a71

Please sign in to comment.