[Devel] [PATCH RHEL COMMIT] configs: provide kernel config via proc

Konstantin Khorenko khorenko at virtuozzo.com
Thu Sep 30 18:16:41 MSK 2021


The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit b044158994bacff05e8f2b24bb1eb3f5c5978f00
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Thu Sep 30 18:11:25 2021 +0300

    configs: provide kernel config via proc
    
    Kubernetes checks kernel version via its config,
    in Containers kernel package usually is not installed,
    so most convenient place for k8s is /proc/config.gz.
    
    https://jira.sw.ru/browse/PSBM-92107
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
    
    (cherry picked from vz7 commit 855d50d5a08b ("configs: provide kernel config via
    proc"))
    
    Rebase part https://jira.sw.ru/browse/PSBM-127850
    
    Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn at virtuozzo.com>
    
    Ported from vz8 commit 6d0e6c8b977a ("configs: provide kernel config via
    proc")
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG      | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC | 1 +
 2 files changed, 2 insertions(+)

diff --git a/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG
new file mode 100644
index 000000000000..3d80bd86a196
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG
@@ -0,0 +1 @@
+CONFIG_IKCONFIG=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC
new file mode 100644
index 000000000000..7d45f8bfb857
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC
@@ -0,0 +1 @@
+CONFIG_IKCONFIG_PROC=y


More information about the Devel mailing list