On 8/2/07, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote: > On Mittwoch, 1. August 2007, Kent Fredric wrote: > > On 8/1/07, Dan Cowsill <[EMAIL PROTECTED]> wrote: > > > > > > /etc/genkernel.conf > > > > > > # Run 'make menuconfig' before compiling this kernel? > > MENUCONFIG="no" > > > > # Run 'make clean' before compilation? > > # If set to NO, implies MRPROPER WILL NOT be run > > # Also, if clean is NO, it won't copy over any configuration > > # file, it will use what's there. > > CLEAN="no" > > > > # Run 'make mrproper' before configuration/compilation? > > MRPROPER="no" > > > > # Save the new configuration in /etc/kernels upon > > # successfull compilation > > SAVE_CONFIG="yes" > > > > # Debug Level > > DEBUGLEVEL=5 > > > > Set those, and then I recommend just stay with using genkernel, it > > basically converts genkernel from a kernel configurator, to merely a > > nice automated build-and-install script. > > > > > > that way you can configure your kernel custome like usual, and then just > > genkernel --kernname=somenickname all > > > > and go away and leave it and it will take care of the rest :) > > > > -- > > Kent > > ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| > > print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}' > > cp .config linux/ > make oldconfig > make all modules_install install > > that is all that is needed to build a kernel without that genkernel stuff. > > You can put that in a script or in one line with some && in between, if you > want. > > Results in sexy /boot like this: > ls -lh /boot/ > insgesamt 7,1M > lrwxrwxrwx 1 root root 1 20. Apr 2006 boot -> . > lrwxrwxrwx 1 root root 36 29. Jul 11:16 config -> > config-2.6.22.1-cfs-v19reiser4libata > -rw-r--r-- 1 root root 36K 29. Jul 01:50 config-2.6.22.1-cfs-v19reiser4 > -rw-r--r-- 1 root root 34K 29. Jul 11:16 config-2.6.22.1-cfs-v19reiser4libata > -rw-r--r-- 1 root root 34K 29. Jul 03:19 > config-2.6.22.1-cfs-v19reiser4libata.old > lrwxrwxrwx 1 root root 40 29. Jul 11:16 config.old -> > config-2.6.22.1-cfs-v19reiser4libata.old > drwxr-xr-x 2 root root 1,0K 19. Jun 03:18 grub > drwx------ 2 root root 12K 24. Mär 2003 lost+found > drwxr-xr-x 2 root root 1,0K 11. Jun 19:27 memtest86plus > lrwxrwxrwx 1 root root 40 29. Jul 11:16 System.map -> > System.map-2.6.22.1-cfs-v19reiser4libata > -rw-r--r-- 1 root root 934K 29. Jul 01:50 System.map-2.6.22.1-cfs-v19reiser4 > -rw-r--r-- 1 root root 883K 29. Jul 11:16 > System.map-2.6.22.1-cfs-v19reiser4libata > -rw-r--r-- 1 root root 883K 29. Jul 03:19 > System.map-2.6.22.1-cfs-v19reiser4libata.old > lrwxrwxrwx 1 root root 44 29. Jul 11:16 System.map.old -> > System.map-2.6.22.1-cfs-v19reiser4libata.old > lrwxrwxrwx 1 root root 37 29. Jul 11:16 vmlinuz -> > vmlinuz-2.6.22.1-cfs-v19reiser4libata > -rw-r--r-- 1 root root 1,6M 29. Jul 01:50 vmlinuz-2.6.22.1-cfs-v19reiser4 > -rw-r--r-- 1 root root 1,4M 29. Jul 11:16 > vmlinuz-2.6.22.1-cfs-v19reiser4libata > -rw-r--r-- 1 root root 1,4M 29. Jul 03:19 > vmlinuz-2.6.22.1-cfs-v19reiser4libata.old > lrwxrwxrwx 1 root root 41 29. Jul 11:16 vmlinuz.old -> > vmlinuz-2.6.22.1-cfs-v19reiser4libata.old > > the symlinks are all created by install. > just have a vmlinuz and a vmlinuz.old entry in menu.lst and you are always > safe. > -- > [EMAIL PROTECTED] mailing list > >
Yeah, but 1: no INITRD is built, 2: using genkernel build script will automatically add new entries in grub.conf ie: zcat /proc/config.gz > .config make oldconfig genkernel --kernname=sexy all && reboot ;) -- Kent ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}' -- [EMAIL PROTECTED] mailing list