On Sat, Sep 7, 2019 at 7:02 PM Damian Ivanov <damianatorrpm(a)gmail.com>
wrote:
Hello,
I am trying to build the fedora kernel with the muqss patch and the
patches for the surface devices.
To start I tried to build it only with the muqss patch. So tried as
well with fedpkg as well as a plain rpmbuild but both hang at the same
stage.
I enpacked the kernel.src.rpm, fetched the latest muqss patch and
added it in the kernel.spec.
Also I did set %define with_baseonly 1 to build only non-debug x86_64
Trying to build the kernel with rpmbuild -ba kernel.spec will fail at
the stage of
process_configs.sh that compains about config options being unset
(and
.git/rebase-apply/patch:7590: space before tab in indent.
cpu = i;
.)
So I try to add them to all config's but when building I get:
Error: Mismatches found in configuration files
Found CONFIG_RQ_ALL=is not set after generation, had CONFIG_RQ_ALL=n
in Source tree
Found CONFIG_RQ_SMP=is not set after generation, had CONFIG_RQ_SMP=n
in Source tree
Found CONFIG_RQ_SMT=is not set after generation, had CONFIG_RQ_SMT=n
in Source tree
Found CONFIG_RQ_NONE=is not set after generation, had CONFIG_RQ_NONE=n
in Source tree
What is the correct way to build the fedora kernel with a custom patch
added?
It looks like you are doing fine. The issue is, for config options
'CONFIG_OPTION=n' is not a valid way to turn something off, it needs to be
'# CONFIG_OPTION is not set'
Justin
* tried this as well
https://fedoramagazine.org/building-fedora-kernel/
Thanks in advance.
Damian
_______________________________________________
kernel mailing list -- kernel(a)lists.fedoraproject.org
To unsubscribe send an email to kernel-leave(a)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