Skip to content

Commit

Permalink
gamecondriver: fix kernel headers package
Browse files Browse the repository at this point in the history
Use the generic KERNEL-HEADERS dependency instead of the pre-Bookworm package name, so the right package is correctly chosen.
  • Loading branch information
cmitu committed Nov 11, 2023
1 parent fde3f56 commit 4edaead
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scriptmodules/supplementary/gamecondriver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ rp_module_section="driver"
rp_module_flags="!all rpi"

function depends_gamecondriver() {
# remove any old kernel headers for current kernel
local kernel_ver="$(uname -r)"
if hasPackage linux-headers-"${kernel_ver}" "${kernel_ver}-2" "eq"; then
aptRemove "linux-headers-${kernel_ver}"
fi
getDepends dkms raspberrypi-kernel-headers
getDepends dkms LINUX-HEADERS
}

function _gamecon_version() {
Expand Down

0 comments on commit 4edaead

Please sign in to comment.