From 2c99a7ec8c831a2b32e0c8d0349a3b8d580bc6a5 Mon Sep 17 00:00:00 2001 From: lars Date: Fri, 7 Oct 2005 14:31:02 +0000 Subject: [PATCH] policy for kernel building and integration added --- hints/kernel-build.txt | 19 +++++++++++++++++++ kernel/info.txt | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 hints/kernel-build.txt diff --git a/hints/kernel-build.txt b/hints/kernel-build.txt new file mode 100644 index 0000000..ebdaae5 --- /dev/null +++ b/hints/kernel-build.txt @@ -0,0 +1,19 @@ +Hints for building and integrating a new kernel into the cryptobox: + +1) get the source +download it from http://kernel.org + +2) configure +- copy the current kernel config from the cryptobox/trunk/kernel directory to the kernel source directory as ".config" +- 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 +- copy the new kernel config too +- change the "unpackdebs" setting in etc-default.d/dfs-cbox.conf +- add the new kernel package and the config file to the repository (svn add) + +4) test it +:) diff --git a/kernel/info.txt b/kernel/info.txt index 8966b09..0d737cc 100644 --- a/kernel/info.txt +++ b/kernel/info.txt @@ -1,3 +1,3 @@ BEWARE: the uml kernel does not work correctly - see ../hints/starting_uml.txt for details -- the actual kernel configuration is included in the kernel-image package +see hints/kernel-build.txt for details on how to build and include a new kernel