Repository navigation
fix the Debian trixie build and detect a conflicting aic8800 install - #36
Merged
Merged
Conversation
…sion Debian trixie backported the net_device parameter into its 6.12 LTS, so LINUX_VERSION_CODE reports 6.12 while cfg80211.h already wants the new signature and rwnx_cfg80211_ops fails to compile. CI cannot see it. Its 6.12 job builds a kernel without the backport. The fdrv Makefile greps cfg80211.h and defines AIC_SET_MONITOR_CHANNEL_NETDEV, which the two guards accept alongside the version check. It reads srctree rather than KDIR because Debian's build symlink points at the flavour tree and only the common tree carries include/net.
Compares srcversion with the dkms build, warns on duplicate copies.
Fixes the build on Debian trixie and adds a check for another aic8800 driver installed over this one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Debian trixie backported the
net_deviceparameter ofset_monitor_channelinto its 6.12 LTS, soLINUX_VERSION_CODEreports 6.12 whilecfg80211.halready wants the new signature andrwnx_cfg80211_opsfails to compile. The driver does not build on current Debian stable. CI cannot see it, because its 6.12 job builds a kernel without the backport.The fdrv Makefile now greps
cfg80211.hand definesAIC_SET_MONITOR_CHANNEL_NETDEV, which the two guards accept alongside the version check. It readssrctreerather thanKDIR, because Debian's build symlink points at the flavour tree and only the common tree carriesinclude/net.test.shalso gained conflict detection. Every aic8800 package builds modules calledaic_load_fwandaic8800_fdrv, andmodinforeports upstream's6.4.3.0and1.0for all of them, so it comparessrcversionagainst the module dkms built here and warns when more than one copy is on disk.