Robert Moskowitz
2008-Sep-11 20:27 UTC
[CentOS] My turn at building a custom kernel for IPsec BEET mode
Well I am working on building a kernel that will have the IPsec BEET mode patch available from infrahip.hiit.fi. I have some decent help, but really no one there is a seasoned Centos kernel builder (though they work with different FC kernels), and now they are mostly done for the day. I have been following the wiki on building a custom kernel, got my patch in ~/rpmbuild/SOURCES and away with the rpmbuild. That failed on line 69: Unknown tag: % define buildid .hipl0809111 But the comments say to set the define to something like ".local" or ".bz123456" So why the failure? Too long our are the quotes required? If this works, I would like to see this patch 'mainstreamed' as it is in the 2.6.27 kernel....
Filipe Brandenburger
2008-Sep-11 20:32 UTC
[CentOS] My turn at building a custom kernel for IPsec BEET mode
Hi, On Thu, Sep 11, 2008 at 16:27, Robert Moskowitz <rgm at htt-consult.com> wrote:> Unknown tag: % define buildid .hipl0809111Maybe because there is a space after the "%" and before "define"? Try removing that space and see if that works. If you are still not doing it, I suggest you follow the steps on this document: http://wiki.centos.org/HowTos/Custom_Kernel HTH, Filipe
Akemi Yagi
2008-Sep-11 20:35 UTC
[CentOS] My turn at building a custom kernel for IPsec BEET mode
On Thu, Sep 11, 2008 at 1:27 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:> Well I am working on building a kernel that will have the IPsec BEET mode > patch available from infrahip.hiit.fi. > > I have some decent help, but really no one there is a seasoned Centos kernel > builder (though they work with different FC kernels), and now they are > mostly done for the day. > > I have been following the wiki on building a custom kernel, got my patch in > ~/rpmbuild/SOURCES and away with the rpmbuild. That failed on line 69: > > Unknown tag: % define buildid .hipl0809111Make sure there is NO space between % and define. Akemi> But the comments say to set the define to something like ".local" or > ".bz123456" > > So why the failure? Too long our are the quotes required? > > If this works, I would like to see this patch 'mainstreamed' as it is in the > 2.6.27 kernel....
Robert Moskowitz
2008-Sep-11 21:06 UTC
[CentOS] My turn at building a custom kernel for IPsec BEET mode
Filipe Brandenburger wrote:> Hi, > > On Thu, Sep 11, 2008 at 16:27, Robert Moskowitz <rgm at htt-consult.com> wrote: > >> Unknown tag: % define buildid .hipl0809111 >> > > Maybe because there is a space after the "%" and before "define"? Try > removing that space and see if that works. >oops. I wonder how that space snuck in there....> If you are still not doing it, I suggest you follow the steps on this document: > http://wiki.centos.org/HowTos/Custom_KernelThat is where I got the instructions to uncomment out this line and supply the tag.... thanks!