kernel-build comments
This commit is contained in:
parent
33f2a4dd38
commit
acea0fbc6b
1 changed files with 6 additions and 6 deletions
|
@ -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! :)
|
||||
|
|
Loading…
Add table
Reference in a new issue