kernel headers not found on ubuntu-generic
Lowaiz opened this issue · 0 comments
Lowaiz commented
Describe the bug
Some linux kernel headers are not found when compile with this config:
kernelversion: 138
kernelrelease: 5.4.0-122-generic
target: ubuntu
architecture: amd64
output:
module: output/39ae7d40496793cf3d3e7890c9bbdc202263836b/falco_ubuntu_5.4.0-122-generic_138.ko
probe: output/39ae7d40496793cf3d3e7890c9bbdc202263836b/falco_ubuntu_5.4.0-122-generic_138.o
How to reproduce it
You have the config.
Expected behaviour
Compiling correctly.
Screenshots
Logs:
INFO using config file file=config/39ae7d40496793cf3d3e7890c9bbdc202263836b/ubuntu_5.4.0-122-generic_138.yaml
DEBU running with options arch=amd64 driverversion=39ae7d40496793cf3d3e7890c9bbdc202263836b kernelrelease=5.4.0-122-generic kernelversion=138 output-module=output/39ae7d40496793cf3d3e7890c9bbdc202263836b/falco_ubuntu_5.4.0-122-generic_138.ko output-probe=output/39ae7d40496793cf3d3e7890c9bbdc202263836b/falco_ubuntu_5.4.0-122-generic_138.o target=ubuntu
INFO driver building, it will take a few seconds processor=docker
DEBU doing a new docker build
DEBU kernel header url found url="https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-5.4.0-122-generic_5.4.0-122.138_amd64.deb"
DEBU kernel header url found url="http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-5.4.0-122-generic_5.4.0-122.138_amd64.deb"
FATA exiting error="kernel headers not found"
Additional context
PR to solve incoming