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

plugins: kernel: split kernel plugin into kernel and initrd plugins #4302

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Commits on Oct 3, 2024

  1. plugins: split kernel plugin into kernel and initrd plugins

    kernel plugin builds two components, kernel and initrd
    While initrd is dependent on the kernel, it is a separate component.
    Separating those 2 steps into 2 own plugins will allow greater reuse of the
    kernel plugin as well as each plugin being owned by respective teams.
    
    Initrd steps will always depend on the kernel step, but with
    the plugin separation, prebuilt kernel binaries can be used with the initrd plugin
    In the future inird might even become the official way to build kernel snap
    from kernel deb packages.
    
    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4d43fc6 View commit details
    Browse the repository at this point in the history
  2. tests: fix kernel, initrd tests after kernel plugin split

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    d2aa7a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41fbf0a View commit details
    Browse the repository at this point in the history
  4. plugins: kernel: remove unused kernel-compiler-paths option

    Generic build-environment part option can be used instead.
    
    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6d2a53d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fea42c7 View commit details
    Browse the repository at this point in the history
  6. plugins: initrd: fix efi image build

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    87e932d View commit details
    Browse the repository at this point in the history
  7. plugins: inird: download debs to source dir

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    b7b3e62 View commit details
    Browse the repository at this point in the history
  8. plugins: kernel: removing obsolete plugin options

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    2caee35 View commit details
    Browse the repository at this point in the history
  9. plugins: initrd: auto remove initrd.img if building kernel.efi

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    8ceed8b View commit details
    Browse the repository at this point in the history
  10. plugins: kernel: fix kernel build corner case error

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    e0627b4 View commit details
    Browse the repository at this point in the history
  11. plugins: initrd: if there are no modules defined, use default set def…

    …ined in ubuntu-core-initrd package
    
    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4765165 View commit details
    Browse the repository at this point in the history
  12. plugins: kernel: update build dependencies

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    e5552bc View commit details
    Browse the repository at this point in the history
  13. plugins: kernel: fix and add more tests for kdefconfig case

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    1aae51d View commit details
    Browse the repository at this point in the history
  14. plugins: initrd: remove redundant kernel-image option

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    380e1bd View commit details
    Browse the repository at this point in the history
  15. plugins: kernel: only install kernel.img as kernel binary

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    66bf568 View commit details
    Browse the repository at this point in the history
  16. plugins: kernel: fix various pytests

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    c0847b8 View commit details
    Browse the repository at this point in the history
  17. plugins: initrd: fix various pytests

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    5ccba5c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    bd4d1a2 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    92671ef View commit details
    Browse the repository at this point in the history
  20. plugins: initrd: fix tests after rework to chroot build env

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    3d94f8f View commit details
    Browse the repository at this point in the history
  21. plugins: kernel: refactor kernel plugin for better readability

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    454c5ad View commit details
    Browse the repository at this point in the history
  22. plugins: kernel: fix test after readability refactor

    Signed-off-by: Ondrej Kubik <[email protected]>
    kubiko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ddea88b View commit details
    Browse the repository at this point in the history