Maciej Iwanowski
2020-Apr-06 09:55 UTC
[CentOS-docs] I Need to Build a Custom Kernel - missing step
Hi, I was trying to build a custom kernel following the steps defined at https://wiki.centos.org/HowTos/Custom_Kernel. It seems to me that: 1. Step 4 should precede step 2 2. At the beginning of the current step two you should execute: rpmbuild -bp kernel.spec (otherwise no kernel-related directory will exist in `/rpmbuild/BUILD/). -- Pozdrawiam/Regards, Maciej Iwanowski
Akemi Yagi
2020-Apr-07 07:17 UTC
[CentOS-docs] I Need to Build a Custom Kernel - missing step
On Mon, Apr 6, 2020 at 2:58 AM Maciej Iwanowski <maciej.iwanowski at critical.today> wrote:> > Hi, > > I was trying to build a custom kernel following the steps defined at > https://wiki.centos.org/HowTos/Custom_Kernel. It seems to me that: > 1. Step 4 should precede step 2 > 2. At the beginning of the current step two you should execute: > rpmbuild -bp kernel.spec (otherwise no kernel-related directory will > exist in `/rpmbuild/BUILD/). > > -- > Pozdrawiam/Regards, > Maciej IwanowskiAs stated in "step 1. Build preparations", users are supposed to follow the instructions in "Section 2 of I Need the Kernel Source". Running "rpmbuild -bp kernel.spec" is included in there. Could you explain why step 4 should precede step 2? Akemi
Maciej Iwanowski
2020-Apr-07 07:31 UTC
[CentOS-docs] I Need to Build a Custom Kernel - missing step
On Tue, Apr 7, 2020 at 7:17 AM Akemi Yagi <amyagi at gmail.com> wrote:> As stated in "step 1. Build preparations", users are supposed to > follow the instructions in "Section 2 of I Need the Kernel Source". > Running "rpmbuild -bp kernel.spec" is included in there.I must have completely missed it. My bad and thanks for pointing it out!> Could you explain why step 4 should precede step 2?It was my mistake - I completely forgot about reference to section 2 of I need the Kernel source. -- Pozdrawiam/Regards, Maciej Iwanowski
Reasonably Related Threads
- I Need to Build a Custom Kernel - missing step
- I Need to Build a Custom Kernel - missing step
- CentOS6: Building a modified kernel rpm
- CentOS6: Building a modified kernel rpm
- recompiling kernel results in error: .../linux-2.6.18.i686/arch//Makefile: No such file or directory