From: Ricardo Robaina <rroba...@redhat.com> config: Enable /proc/config.gz
Issue: https://issues.redhat.com/browse/RHEL-82530 On image mode, /boot directory does not exist. For this reason, currently, there's no way to check the configuration options that were used to build the currently running kernel in this context. Note that Several kernel-tests rely on that kind of information [1]. This patch enables CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC in order to expose .config data via /proc/config.gz, which can be used to check kconfig status both on package and image mode. [1] kernel-tests]$ grep -rni "/boot/config-*" |wc -l 140 Signed-off-by: Ricardo Robaina <rroba...@redhat.com> diff --git a/redhat/configs/common/generic/CONFIG_IKCONFIG b/redhat/configs/common/generic/CONFIG_IKCONFIG index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/CONFIG_IKCONFIG +++ b/redhat/configs/common/generic/CONFIG_IKCONFIG @@ -1 +1 @@ -# CONFIG_IKCONFIG is not set +CONFIG_IKCONFIG=y diff --git a/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC b/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC @@ -0,0 +1 @@ +CONFIG_IKCONFIG_PROC=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3747 -- _______________________________________________ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue