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 1IGHds-0007yM-17 for garchives@archives.gentoo.org; Wed, 01 Aug 2007 17:05:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l71H4PwI013780; Wed, 1 Aug 2007 17:04:25 GMT Received: from poseidon.rz.tu-clausthal.de (poseidon.rz.tu-clausthal.de [139.174.2.21]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l71GxiqN007049 for ; Wed, 1 Aug 2007 16:59:44 GMT Received: from poseidon.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 474E820884D for ; Wed, 1 Aug 2007 18:59:44 +0200 (CEST) Received: from tu-clausthal.de (poseidon [139.174.2.21]) by poseidon.rz.tu-clausthal.de (Postfix) with ESMTP id 1FD9D208851 for ; Wed, 1 Aug 2007 18:59:44 +0200 (CEST) Received: from energy.heim10.tu-clausthal.de (account wevah [139.174.197.94] verified) by tu-clausthal.de (CommuniGate Pro SMTP 5.1.11) with ESMTPSA id 25223710 for gentoo-user@lists.gentoo.org; Wed, 01 Aug 2007 18:59:44 +0200 From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Switching from Genkernel to manual build Date: Wed, 1 Aug 2007 18:59:41 +0200 User-Agent: KMail/1.9.7 References: <4ef07b8c0707312108i56bc5129qac7e179e049f9890@mail.gmail.com> <8cd1ed20708010217h4d67f160r18fa471e8cc70240@mail.gmail.com> In-Reply-To: <8cd1ed20708010217h4d67f160r18fa471e8cc70240@mail.gmail.com> 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 Message-Id: <200708011859.41886.volker.armin.hemmann@tu-clausthal.de> X-Virus-Scanned: by PureMessage V4.7 at tu-clausthal.de X-Archives-Salt: a9b27b1d-9f74-4a4a-90f1-b4732a9cdf10 X-Archives-Hash: f0dc3bcd9b851fd92255cb14456f7f11 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 just > 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 you= =20 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 ->=20 config-2.6.22.1-cfs-v19reiser4libata =2Drw-r--r-- 1 root root 36K 29. Jul 01:50 config-2.6.22.1-cfs-v19reiser4 =2Drw-r--r-- 1 root root 34K 29. Jul 11:16 config-2.6.22.1-cfs-v19reiser4l= ibata =2Drw-r--r-- 1 root root 34K 29. Jul 03:19=20 config-2.6.22.1-cfs-v19reiser4libata.old lrwxrwxrwx 1 root root 40 29. Jul 11:16 config.old ->=20 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 ->=20 System.map-2.6.22.1-cfs-v19reiser4libata =2Drw-r--r-- 1 root root 934K 29. Jul 01:50 System.map-2.6.22.1-cfs-v19reis= er4 =2Drw-r--r-- 1 root root 883K 29. Jul 11:16=20 System.map-2.6.22.1-cfs-v19reiser4libata =2Drw-r--r-- 1 root root 883K 29. Jul 03:19=20 System.map-2.6.22.1-cfs-v19reiser4libata.old lrwxrwxrwx 1 root root 44 29. Jul 11:16 System.map.old ->=20 System.map-2.6.22.1-cfs-v19reiser4libata.old lrwxrwxrwx 1 root root 37 29. Jul 11:16 vmlinuz ->=20 vmlinuz-2.6.22.1-cfs-v19reiser4libata =2Drw-r--r-- 1 root root 1,6M 29. Jul 01:50 vmlinuz-2.6.22.1-cfs-v19reiser4 =2Drw-r--r-- 1 root root 1,4M 29. Jul 11:16=20 vmlinuz-2.6.22.1-cfs-v19reiser4libata =2Drw-r--r-- 1 root root 1,4M 29. Jul 03:19=20 vmlinuz-2.6.22.1-cfs-v19reiser4libata.old lrwxrwxrwx 1 root root 41 29. Jul 11:16 vmlinuz.old ->=20 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= =20 safe. -- gentoo-user@gentoo.org mailing list