You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple module added to ckms. It builds normally without any problems.
However after a kernel upgrade it is trying to build a module once more for a kernel that:
was installed before the upgrade
the module was built and installed for that kernel
In case of logs below the upgrade was from 6.11.5-r0 to 6.11.5-r1. The module builds and installs perfectly fine when I do it manually after reboot.
Executing ckms-0.1.0-r3.trigger
kernel headers not installed for 6.11.5-0-generic, skipping...
=> ckms: preparing build...
=> ckms: configuring...
=> ckms: building...
gmake: Entering directory '/var/lib/ckms/hid-t150/0.8a/build/module'
gmake -C /lib/modules/6.11.5-0-generic/build M=/var/lib/ckms/hid-t150/0.8a/build/module modules
gmake[1]: Entering directory '/var/lib/ckms/hid-t150/0.8a/build/module'
gmake[1]: *** /lib/modules/6.11.5-0-generic/build: No such file or directory. Stop.
gmake[1]: Leaving directory '/var/lib/ckms/hid-t150/0.8a/build/module'
gmake: *** [Makefile:5: all] Error 2
gmake: Leaving directory '/var/lib/ckms/hid-t150/0.8a/build/module'
=> ckms: ERROR: hook 'build' failed with code 2
FAILED: build hid-t150=0.8a for 6.11.5-1-generic
kernel headers not installed for 6.6.58-0-generic, skipping...
kernel headers not installed for 6.6.58-1-generic, skipping...
Executing desktop-file-utils-0.28-r0.trigger
Executing base-kernel-0.2-r3.trigger
Running kernel.d scripts...
kernel headers not installed for 6.11.5-0-generic, skipping...
=> ckms: preparing build...
=> ckms: configuring...
=> ckms: building...
gmake: Entering directory '/var/lib/ckms/hid-t150/0.8a/build/module'
gmake -C /lib/modules/6.11.5-0-generic/build M=/var/lib/ckms/hid-t150/0.8a/build/module modules
gmake[1]: Entering directory '/var/lib/ckms/hid-t150/0.8a/build/module'
gmake[1]: *** /lib/modules/6.11.5-0-generic/build: No such file or directory. Stop.
gmake[1]: Leaving directory '/var/lib/ckms/hid-t150/0.8a/build/module'
gmake: *** [Makefile:5: all] Error 2
gmake: Leaving directory '/var/lib/ckms/hid-t150/0.8a/build/module'
=> ckms: ERROR: hook 'build' failed with code 2
FAILED: build hid-t150=0.8a for 6.11.5-1-generic
kernel headers not installed for 6.6.58-0-generic, skipping...
kernel headers not installed for 6.6.58-1-generic, skipping...
update-initramfs: Generating /boot/initrd.img-6.11.5-1-generic
update-initramfs: Generating /boot/initrd.img-6.6.58-1-generic
Generating boot entries for chimera...
Found kernel: /boot/vmlinuz-6.11.5-1-generic
Found kernel: /boot/vmlinuz-6.11.5-0-generic
Found kernel: /boot/vmlinuz-6.6.58-1-generic
Found kernel: /boot/vmlinuz-6.6.58-0-generic
The text was updated successfully, but these errors were encountered:
I have a simple module added to ckms. It builds normally without any problems.
However after a kernel upgrade it is trying to build a module once more for a kernel that:
In case of logs below the upgrade was from 6.11.5-r0 to 6.11.5-r1. The module builds and installs perfectly fine when I do it manually after reboot.
The text was updated successfully, but these errors were encountered: