From bece79689c5409e8e736d1829e8c8e564c6dec9b Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Thu, 22 Aug 2024 19:56:32 +0200 Subject: [PATCH] fix noble #2 --- build_chroot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_chroot.sh b/build_chroot.sh index 114617f..204eb03 100644 --- a/build_chroot.sh +++ b/build_chroot.sh @@ -30,10 +30,11 @@ if [[ -e /etc/os-release && $(grep -c "Raspbian" /etc/os-release) -gt 0 ]]; then make KSRC=/usr/src/linux-headers-6.1.21-v7l+ O="" modules ls -a /usr/src/ elif [[ "$(lsb_release -cs)" == "noble" ]]; then + ls -a /usr/src/ echo "building for ubuntu noble minimal" sudo apt update sudo apt install -y build-essential flex bc bison dkms - make KSRC=/usr/src/linux-headers-6.1.21-v7l+ O="" modules + 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