Welcome to ftp.nluug.nl Current directory: /pub/os/Linux/distr/slack390/slack390x-11.0/source/k/ |
|
Contents of README:Since I should document this somewhere, here's the procedure for building the Slackware kernel package. I do not patch the official kernel sources, but it's not exactly a virgin either. ============================================================= Version specific notes (if any): ============================================================= For a 2.4.x kernel: 1. Untar Linus' source in /usr/src. 2. mv linux linux-2.x.x (version number) 3. cp -a linux-2.x.x linux-2.x.x.orig 4. ln -sf linux-2.x.x linux 5. cd linux Insert Slackware's bare.i config: 6. cp kernels/bare.i/config .config 7. make oldconfig 8. make dep ; make clean ; make bzImage ; make clean 9. cd drivers/net/hamradio/soundmodem rm * cp -a /usr/src/linux-2.x.x.orig/drivers/net/hamradio/soundmodem/* . 10. cd scripts rm -r * cp -a /usr/src/linux-2.x.x.orig/scripts/* . 11. rm -r linux-2.x.x.orig 12. rm linux-2.x.x/.version 13. Lucky step 13 :-) find . -name ".depend" | xargs rm find . -name ".hdepend" | xargs rm find . -name ".??*flags" | xargs rm rm drivers/sound/.pss_boot.h.boot rm drivers/sound/.maui_boot.h.boot rm drivers/sound/.trix_boot.h.boot rm .config.old OK, that's it. Now just pack up /usr/src/linux-2.x.x, the /usr/src/linux symlink, and /install/slack-desc. For a 2.6.x kernel (much easier): Untar Linus' source in /usr/src. Make all files owned by root:root with reasonable perms. Install a suitable .config, or use make menuconfig, etc. make oldconfig > /dev/null make bzImage make clean rm .version That's it! |
Name Last modified Size
Parent Directory - s390-patches/ 05-May-2009 03:28 - speakup-2.4.33.3/ 23-Aug-2006 05:13 - README 13-Jun-2004 01:45 1.6K config-ide-2.4.33.3 01-Sep-2006 08:45 41K config-s390-2.4.33.3 12-Sep-2006 02:53 11K kernel-source.SlackBuild.s390x 05-May-2009 04:44 2.9K linux-2.4.33.3.tar.bz2 31-Aug-2006 22:20 30M linux-2.4.33.3.tar.bz2.sign 31-Aug-2006 22:20 248 slack-desc 08-Mar-2003 21:58 781 slack-desc.non-vanilla-sample 13-Aug-2006 00:20 867 slack-desc.s390 05-May-2009 03:30 892 speakup-checkout 04-Dec-2005 23:14 1.7K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!