Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include "kheaders" and build a kernel-devel RPM #557

Merged
merged 2 commits into from
Dec 5, 2019
Merged

Include "kheaders" and build a kernel-devel RPM #557

merged 2 commits into from
Dec 5, 2019

Commits on Dec 4, 2019

  1. kernel: Add patch for /sys/kernel/kheaders.tar.xz

    Backport the "kheaders" functionality from upstream which adds
    /sys/kernels/kheaders.tar.xz, an archive of the current kernel headers.
    While this doesn't support out-of-tree module building, for BPF probes
    that only need the current kernel headers it is sufficient.
    
    Signed-off-by: Samuel Mendoza-Jonas <[email protected]>
    sam-aws committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    509975e View commit details
    Browse the repository at this point in the history
  2. kernel: Add kernel-devel package

    When building the kernel also create a 'kernel-devel' RPM which includes
    the configured kernel source tree and extra artifacts to support
    building out-of-tree modules. This is not included in the Thar image,
    but is instead intended to be downloaded later on a running instance via
    a TUF target, for example.
    
    Based off a similar script provided by Ben Cressey <[email protected]>
    
    Signed-off-by: Samuel Mendoza-Jonas <[email protected]>
    sam-aws committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    77d7475 View commit details
    Browse the repository at this point in the history