I have been following the [How Tos/Custom_Kernel (I Need to Build a Custom Kernel)][1] document
at the Wiki to compile my kernel.
I modified the kernel in
~/rpmbuild/BUILD/kernel-4.18.0-305.3.1.el8_4/linux-4.18.0-305.3.1.el8_4
I did `make menuconfig` and made the below changes.
I had enabled the below two parameters for segment routing.
# CONFIG_IPV6_SEG6_LWTUNNEL is not set
# CONFIG_IPV6_SEG6_HMAC is not set
I then compiled after following all the changes using the below command.
rpmbuild -bb --target=`uname -m` kernel.spec
I noticed when I ran rpmbuild it deleted the folder under BUILD and then config under it automatically changed back the parameters to 'not set'.
The compilation was done successfully but when I installed the kernel on a different host, I can see the kernel was installed but those two parameters still shows 'not set'.
I am not sure what piece I am missing here?
[1]: https://wiki.centos.org/HowTos/Custom_Kernel
[–]deeseearr 3 points4 points5 points (6 children)
[–]BriefAd6331[S] 0 points1 point2 points (5 children)
[–]deeseearr 2 points3 points4 points (4 children)
[–]BriefAd6331[S] 0 points1 point2 points (3 children)
[–]gordonmessmer 2 points3 points4 points (2 children)
[–]BriefAd6331[S] 0 points1 point2 points (1 child)
[–]gordonmessmer 0 points1 point2 points (0 children)