From: "Kent Fredric" <kentfredric@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Switching from Genkernel to manual build
Date: Thu, 2 Aug 2007 08:28:46 +1200 [thread overview]
Message-ID: <8cd1ed20708011328k1d098dfbh7f5f723cf1b5518b@mail.gmail.com> (raw)
In-Reply-To: <200708011859.41886.volker.armin.hemmann@tu-clausthal.de>
On 8/2/07, Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de> wrote:
> On Mittwoch, 1. August 2007, Kent Fredric wrote:
> > On 8/1/07, Dan Cowsill <danthehat@gmail.com> 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 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
> 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.
> --
> 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=sexy all && reboot
;)
--
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
next prev parent reply other threads:[~2007-08-01 20:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 4:08 [gentoo-user] Switching from Genkernel to manual build Dan Cowsill
2007-08-01 6:08 ` Abraham Marín Pérez
2007-08-01 7:15 ` Dale
2007-08-01 18:40 ` Don Jerman
2007-08-01 9:17 ` Kent Fredric
2007-08-01 16:59 ` Volker Armin Hemmann
2007-08-01 20:28 ` Kent Fredric [this message]
2007-08-01 21:05 ` Neil Bothwick
2007-08-01 21:22 ` Daniel da Veiga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8cd1ed20708011328k1d098dfbh7f5f723cf1b5518b@mail.gmail.com \
--to=kentfredric@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox