[SOLVED] How to force headers being installed with the new kernel

Discussion in 'Proxmox VE: Installation and configuration' started by Vladimir Bulgaru, Jun 23, 2019.

  1. Vladimir Bulgaru

    Joined:
    Jun 1, 2019
    Messages:
    101
    Likes Received:
    11
    Hello!

    Occasionally the pve-kernel gets updated. I am using DKMS to compile the drivers for a device when the kernel gets updated. The catch lies in the fact that in order to compile those drivers, kernel headers are necessary and on update are missing.

    This results in the system becoming degraded as soon as the kernel is updated.

    Normally i try to monitor the updates so that i don't skip the kernel update and it helps that there's a notification telling that the kernel has been updated and the reboot is necessary.

    I was wondering if there are tips & tricks how to have headers installed with the kernel? And if there are none, what would be the best angle to automate this?

    Am i correct to assume according to this reply, that if i have pve-headers installed, the new headers will automatically be updated with the new kernel?
     
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,611
    Likes Received:
    328
    yes, pve-headers (currently) depends on pve-headers-4.15 which depends on the current pve-headers-package and is in sync with pve-kernel-4.15
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Vladimir Bulgaru likes this.
  3. Vladimir Bulgaru

    Joined:
    Jun 1, 2019
    Messages:
    101
    Likes Received:
    11
    Thank you! This should make my life much easier :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice