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
[email protected]


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to