[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Editing kernel after running ./ltib --configure
From: |
Peter Barada |
Subject: |
Re: [Ltib] Editing kernel after running ./ltib --configure |
Date: |
Tue, 20 Sep 2011 15:49:38 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 |
On 09/20/2011 01:18 PM, Henri Kjellberg wrote:
Hi All,
I would like to edit the kernel after running ./ltib --configure and
choosing all the packages and configuring the kernel. I see the kernel
source appears in the /rpm/BUILD folder, if I just edit this source
and run ./ltib does that take into account any changes I made in the
source in building the new uImage?
Yes, outside of modifying the kernel configuration. If you need to
change the kernel, you should:
./ltib -p kernel -m scbuild -c && ./ltib -p kernel -m scdeploy
However if you have an packages (like hello_mod) that create kernel
drivers you should instead:
./ltib -c
And select "Configure the kernel", then save/exit and (eventually) get
to the kernel configuration; make the changes you need and save/exit to
build the kernel (and any packages that depend on it).
If you are just modifying kernel source, you can just build the kernel
(with your changes).
./ltib -p kernel
If you want to save your changes after you've tested them, then create a
patch by:
./ltib -p kernel -m patchmerge
Follow the directions (which tell you to edit the patch to clean is up),
and afterwards:
./ltib -p kernel -m prep
will re-populate rpm/BUILD with your kernel source (that has the changes).
You can repeat the process of edit/build/patch/prep repeatedly, each
created patch will be applied in the order they are created.
--
Peter Barada
address@hidden