This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Consider using config fragments for kernel #234
Comments
/cc @jon @jodh-intel @jcvenegas @bergwolf @sameo -- Feedback? |
If we can make it work, then yes, I think that would be OK. Notes though:
But, it would be nice to have a clean definitive list of CONFIGs we need, and why (and if some are optional and what they enable etc.) |
I think this is basically a duplicate of what I said on #8 (comment) ? Related: |
@jodh-intel agreed, and this has indeed been an open and oft-discussed. config_merge.sh is a standard part of linux build process, though, which I think would be beneficial. |
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Jan 22, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Jan 23, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Feb 8, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Feb 12, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Feb 27, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Apr 9, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Apr 17, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
devimc
pushed a commit
that referenced
this issue
Apr 24, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: #234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
devimc
pushed a commit
that referenced
this issue
Apr 24, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: #234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
devimc
pushed a commit
that referenced
this issue
Apr 24, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: #234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Apr 25, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Apr 25, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Apr 29, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
Apr 30, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
May 3, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
May 8, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
May 9, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
grahamwhaley
pushed a commit
to grahamwhaley/kata-containers-packaging
that referenced
this issue
May 13, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
devimc
pushed a commit
to devimc/kata-packaging
that referenced
this issue
Jul 19, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
devimc
pushed a commit
to devimc/kata-packaging
that referenced
this issue
Jul 22, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
devimc
pushed a commit
to devimc/kata-packaging
that referenced
this issue
Jul 24, 2019
Add the framework to build kernel config files from trees of kernel fragments. If no fragment directory is found for the requested kernel version and architecture then revert to looking for a whole prebuilt kernel config file instead. Fixes: kata-containers#234 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Today we maintain a full defconfig per architecture, which makes it difficult to identify what is required for Kata at a minimum, versus what is pulled in as a default during the build process, versus what is a nice have for device support. Having a minimally configured kernel is very important from a footprint and security perspective. It'll be hard if we aren't clear/explicit.
Similarly, for new architectures are developers coming to Kata, it can be difficult to understand what options are needed to bootstrap a Kata-able kernel (example: yocto devs bringing up Kata).
Based on this, I think we should consider reworking how the kernel configuration is maintained for Kata project.
Ideally we would use a hierarchy of fragments, such as:
-required features for Kata
-base device enabling (ie, baseline of NICs, other hardware)
-architecture enabling (per architecture)
In the build process we'd be able to start with no-config or defconfig, and then add the appropriate fragments as needed (making use of merge_config.sh).
The text was updated successfully, but these errors were encountered: