From a29b2b8caa6a8360d58ceb0e8088e21954f1cf6b Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Sat, 27 Jan 2024 13:52:37 +0100 Subject: [PATCH] testing --- .github/workflows/build_for_pi.yml | 2 +- build_chroot.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_for_pi.yml b/.github/workflows/build_for_pi.yml index 664a88f..715d2f0 100644 --- a/.github/workflows/build_for_pi.yml +++ b/.github/workflows/build_for_pi.yml @@ -32,7 +32,7 @@ jobs: run: | git clone https://github.com/OpenHD/ChrootCompilationTest /opt/ChrootCompilationTest mkdir -p /opt/ChrootCompilationTest/additionalFiles - git clone https://github.com/OpenHD/rtl8812au -b ${{ github.ref_name }} /opt/ChrootCompilationTest/additionalFiles/ --recursive + git clone https://github.com/OpenHD/rtl88x2bu -b ${{ github.ref_name }} /opt/ChrootCompilationTest/additionalFiles/ --recursive echo $CLOUDSMITH_API_KEY > /opt/ChrootCompilationTest/additionalFiles/cloudsmith_api_key.txt echo "armhf" > /opt/ChrootCompilationTest/additionalFiles/arch.txt echo "raspbian" > /opt/ChrootCompilationTest/additionalFiles/distro.txt diff --git a/build_chroot.sh b/build_chroot.sh index 55f9454..a47c94f 100644 --- a/build_chroot.sh +++ b/build_chroot.sh @@ -23,7 +23,7 @@ if [[ -e /etc/os-release && $(grep -c "Raspbian" /etc/os-release) -gt 0 ]]; then echo "building for the raspberry pi" sudo apt update sudo apt install -y build-essential flex bc bison dkms raspberrypi-kernel-headers - echo "___________________BUILDING-DRIVER______PI4_____________" + echo "___________________BUILDING-DRIVER___________________" make KSRC=/usr/src/linux-headers-6.1.21-v7l+ O="" modules mkdir -p package/lib/modules/6.1.21-v7l+/kernel/drivers/net/wireless/ cp *.ko package/lib/modules/6.1.21-v7l+/kernel/drivers/net/wireless/ @@ -32,13 +32,13 @@ if [[ -e /etc/os-release && $(grep -c "Raspbian" /etc/os-release) -gt 0 ]]; then make KSRC=/usr/src/linux-headers-6.1.21-v7+ O="" modules mkdir -p package/lib/modules/6.1.21-v7+/kernel/drivers/net/wireless/ cp *.ko package/lib/modules/6.1.21-v7+/kernel/drivers/net/wireless/ - fpm -a amd64 -s dir -t deb -n 88X2bu.ko-rpi -v 2.5-evo-$(date '+%m%d%H%M') -C package -p 88X2bu.ko-rpi.deb --before-install before-install-pi.sh --after-install after-install.sh + fpm -a armhf -s dir -t deb -n 88X2bu-rpi -v 2.5-evo-$(date '+%m%d%H%M') -C package -p 88X2bu-rpi.deb --before-install before-install-pi.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" ls -a - cloudsmith push deb --api-key "$API_KEY" openhd/release/raspbian/bullseye 88X2bu.ko-rpi.deb || exit 1 + cloudsmith push deb --api-key "$API_KEY" openhd/release/raspbian/bullseye 88X2bu-rpi.deb || exit 1 else sudo apt update sudo apt install -y build-essential flex bc bison dkms