From acea0fbc6b2d57aa3405625e24b5d74796b93705 Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 11 Oct 2005 08:30:58 +0000 Subject: [PATCH] kernel-build comments --- hints/kernel-build.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hints/kernel-build.txt b/hints/kernel-build.txt index 72a27ac..42ddbb4 100644 --- a/hints/kernel-build.txt +++ b/hints/kernel-build.txt @@ -1,23 +1,23 @@ Hints for building and integrating a new kernel into the cryptobox: 1) get the source -download it from http://kernel.org +download it from http://kernel.org (at least 2.6.11) 2) configure - copy the current kernel config from the cryptobox/trunk/kernel directory to the kernel source directory as ".config" (the .config - can also be found in the kernel-image-cryptoboxX.Y.deb packagefile and through - "zcat /proc/config.gz > .config") + can also be found in the current kernel-image-cryptoboxX.Y.deb packagefile) - make menuconfig - make-kpkg --rootcmd fakeroot --revision=cryptoboxY.X kernel_image (replace "Y.X" by the current cryptobox release) 3) integrating -- copy the debian kernel package (see above) to cryptobox/trunk/kernel -- install this package in a chroot environment -- change the "unpackdebs" setting in etc-default.d/dfs-cbox.conf +- copy the debian kernel package (see above) and the config file to cryptobox/trunk/kernel +- change the "unpackdebs" setting in cryptobox/trunk/etc-default.d/dfs-cbox.conf - add the new kernel package and the config file to the repository (svn add) 4) afterwork +- run "cryptobox/trunk/scripts/cbox-build.sh dfsbuild" to create a fresh base system + including the new kernel - test the box with your new kernel - enjoy it! :)