kernel-build comments
This commit is contained in:
parent
33f2a4dd38
commit
acea0fbc6b
|
@ -1,23 +1,23 @@
|
||||||
Hints for building and integrating a new kernel into the cryptobox:
|
Hints for building and integrating a new kernel into the cryptobox:
|
||||||
|
|
||||||
1) get the source
|
1) get the source
|
||||||
download it from http://kernel.org
|
download it from http://kernel.org (at least 2.6.11)
|
||||||
|
|
||||||
2) configure
|
2) configure
|
||||||
- copy the current kernel config from the cryptobox/trunk/kernel
|
- copy the current kernel config from the cryptobox/trunk/kernel
|
||||||
directory to the kernel source directory as ".config" (the .config
|
directory to the kernel source directory as ".config" (the .config
|
||||||
can also be found in the kernel-image-cryptoboxX.Y.deb packagefile and through
|
can also be found in the current kernel-image-cryptoboxX.Y.deb packagefile)
|
||||||
"zcat /proc/config.gz > .config")
|
|
||||||
- make menuconfig
|
- make menuconfig
|
||||||
- make-kpkg --rootcmd fakeroot --revision=cryptoboxY.X kernel_image
|
- make-kpkg --rootcmd fakeroot --revision=cryptoboxY.X kernel_image
|
||||||
(replace "Y.X" by the current cryptobox release)
|
(replace "Y.X" by the current cryptobox release)
|
||||||
|
|
||||||
3) integrating
|
3) integrating
|
||||||
- copy the debian kernel package (see above) to cryptobox/trunk/kernel
|
- copy the debian kernel package (see above) and the config file to cryptobox/trunk/kernel
|
||||||
- install this package in a chroot environment
|
- change the "unpackdebs" setting in cryptobox/trunk/etc-default.d/dfs-cbox.conf
|
||||||
- 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)
|
- add the new kernel package and the config file to the repository (svn add)
|
||||||
|
|
||||||
4) afterwork
|
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
|
- test the box with your new kernel
|
||||||
- enjoy it! :)
|
- enjoy it! :)
|
||||||
|
|
Loading…
Reference in a new issue