<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>OK. Thx for the pointers.<br>
<br>
Currently, I have the raspberrypi2, but the same question applies
for both, I suppose.<br>
Moreover, I can observe that many CONFIG_XX are missing in this
file :-)<br>
</tt><tt><tt><br>
In the past, on CentOS for x86, I used /boot/config-xxx to know,
from an application/tool/script on the target, if the kernel was
built to support a specific feature.<br>
</tt></tt><tt><tt>At that time, I think that h</tt>aving (or not)
the kernel .config was a matter of "packaging", in the .spec.<br>
Is it still the case ?<br>
<br>
Do you think it could be possible to integrate that for
raspberrypi2, in the next .rpm ?<br>
Would be helpful...<br>
<br>
regards.<br>
<br>
</tt><br>
<div class="moz-cite-prefix">Le 06/08/2018 à 14:18, Fabian Arrotin a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:af50a677-8cde-ceb1-5f62-8b266d36d1c7@centos.org">
<pre wrap="">On 06/08/18 14:13, Stephan Guilloux wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
Is there any way to know the compilation options used to build the kernel ?
At least, on a x86_64, we have something like
config-3.10.0-862.3.3.el7.x86_64
On raspberry, I did not find anything in /proc nor in /boot.
Regards,
Stephan.
</pre>
</blockquote>
<pre wrap="">It depends if you use the "generic" kernel or the raspberrypi2 one.
For that one, we just use the upstream config :
<a class="moz-txt-link-freetext" href="https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/configs/bcm2709_defconfig">https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/configs/bcm2709_defconfig</a>
We though add a patch for audit/selinux support :
<a class="moz-txt-link-freetext" href="https://github.com/CentOS/sig-core-AltArch/blob/master/raspberrypi2/SOURCES/bcm2709_selinux_config.patch">https://github.com/CentOS/sig-core-AltArch/blob/master/raspberrypi2/SOURCES/bcm2709_selinux_config.patch</a>
Cheers,
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>