From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IGKtq-0003H6-Fq for garchives@archives.gentoo.org; Wed, 01 Aug 2007 20:34:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l71KXEph019905; Wed, 1 Aug 2007 20:33:14 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l71KSldi014828 for ; Wed, 1 Aug 2007 20:28:47 GMT Received: by py-out-1112.google.com with SMTP id d32so637591pye for ; Wed, 01 Aug 2007 13:28:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OXhf3VqfilTOIBnzhpLqg5hXrJtgOH3x+mQ6P1kazYMM3KkEU1+RtMxlAAr8UKMW42Auc7TVwct/8mhqgBzEPo605XX5YZbHGHQGeuDPYIUkxa1E4jqwV+oh4Z3XDIdqZMP5zoeIQj+2kSTzedWkrIsrT7r5XpKJ1npNy7esc4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UUO4Dm9qa6LbG+3KrPsf+5NozlECuwU82CvQS/vT6IJcGFlGMmnflYS7qgCKqV7dT8UX8qP+/xPtGZagyWXO39cfX8t/SIfa7bPLb1gfv9rWN6DDn1OBX9jhyEpvOiP2SCV20iU8Js22zkMOnzhFwvu475AEtuon9D+JANuZRWc= Received: by 10.65.133.8 with SMTP id k8mr1867083qbn.1186000126766; Wed, 01 Aug 2007 13:28:46 -0700 (PDT) Received: by 10.64.251.15 with HTTP; Wed, 1 Aug 2007 13:28:46 -0700 (PDT) Message-ID: <8cd1ed20708011328k1d098dfbh7f5f723cf1b5518b@mail.gmail.com> Date: Thu, 2 Aug 2007 08:28:46 +1200 From: "Kent Fredric" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Switching from Genkernel to manual build In-Reply-To: <200708011859.41886.volker.armin.hemmann@tu-clausthal.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4ef07b8c0707312108i56bc5129qac7e179e049f9890@mail.gmail.com> <8cd1ed20708010217h4d67f160r18fa471e8cc70240@mail.gmail.com> <200708011859.41886.volker.armin.hemmann@tu-clausthal.de> X-Archives-Salt: 7987d639-9308-4dad-9544-ccbb4d93b810 X-Archives-Hash: 8b10a71092754cd7efacf4cc53aa8093 On 8/2/07, Volker Armin Hemmann wrot= e: > On Mittwoch, 1. August 2007, Kent Fredric wrote: > > On 8/1/07, Dan Cowsill wrote: > > > > > > /etc/genkernel.conf > > > > > > # Run 'make menuconfig' before compiling this kernel? > > MENUCONFIG=3D"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=3D"no" > > > > # Run 'make mrproper' before configuration/compilation? > > MRPROPER=3D"no" > > > > # Save the new configuration in /etc/kernels upon > > # successfull compilation > > SAVE_CONFIG=3D"yes" > > > > # Debug Level > > DEBUGLEVEL=3D5 > > > > 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 jus= t > > genkernel --kernname=3Dsomenickname 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 kdrtf@gma.com"[(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 y= ou > 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-v19reiser4l= ibata > -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=E4r 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-v19reis= er4 > -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 alway= s > safe. > -- > gentoo-user@gentoo.org 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=3Dsexy all && reboot ;) --=20 Kent ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}' -- gentoo-user@gentoo.org mailing list