diff --git a/build_chroot.sh b/build_chroot.sh index 72f96fc6..ad09715f 100644 --- a/build_chroot.sh +++ b/build_chroot.sh @@ -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