vbox dkms fix - How to include fix for linux, but not linux-lts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



All, Doug,

A header include is requires for 6.4.12, but not for LTS. How do I modify the PKGBUILD to apply the change only when building the module for linux and not linux-lts.

  I chose a simple sed -i to include the needed header:

    # fix 6.4.11 include requirement
sed -i 's|#include <linux/inetdevice.h>|&\n#include <net/gso.h>|' "${_extractdir}/src/vboxhost/vboxnetflt/linux/VBoxNetFlt-linux.c"

The problem is that LTS doesn't like the additional include. I suspect it will take some makefile patch instead of a change of the source file so LTS can build without the new header.

  How best to do this?



--
David C. Rankin, J.D.,P.E.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux