You are not logged in.

#1 2006-09-25 11:10:49

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[solved] custom kernel without ABS

Hi,
I'm new to Arch.
I installed a costum kernel without ABS.
I downloaded the sources from kernel.org and extracted them to /usr/src/linux-2.6.17.13 and then:

cd /usr/src
ln -s linux-2.6.17.13 linux
cd linux
make menuconfig
make && make modules_install
cp arch/i386/boot/bzImage /boot/kernel-2.6.17.13
cp .config /boot/config-2.6.17.13
cp System.map /boot/System.map-2.6.17.13

and updated grub.conf

my question:
Will the System.map-2.6.17.13 be found by Arch or must I name it System.map26 ?
I used Gentoo and there the System.map is searched/found by /boot/System.map-`uname-r`. How is it in Arch?

Offline

#2 2006-09-25 11:54:03

cdhotfire
Member
From: Ocala, Florida
Registered: 2006-02-13
Posts: 151

Re: [solved] custom kernel without ABS

Why did you not use ABS?

Anyways the PKGBUILD from ABS has this line:

  cp System.map $startdir/pkg/boot/System.map26

So I think that means name it System.map26 .


[img]http://www.barbarawood.com/guestbook/images/smilies/koolaid.gif[/img]
"Ooooh Yaaaa!"

Offline

#3 2006-09-25 12:15:59

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] custom kernel without ABS

Why did you not use ABS?

I don't understand it yet wink
And I often change the config or try new kernel-versions, so the "good-old-way" is easer for me ... just download, extract, configure and build it...

hmm, I want to keep the old kernel, so that I can boot if the custom kernel fails...
So naming the System.map of my Costum-kernel "System.map26" is not a good idea...


edit:
from the the "Kernel Prototype PKGBUILD"

The generated package will have the following properties:
...
#    vmlinuz-$_kerver-$_extraver-$_patchset-$_cfgname
#    System.map-$_kerver-$_extraver-$_patchset-$_cfgname
#    kconfig-$_kerver-$_extraver-$_patchset-$_cfgname[/b]
...
...
# create unique names in /boot/
  cp System.map $startdir/pkg/boot/System.map-$_idstr
  cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz-$_idstr
...
...

does that mean my namings are ok?
I think so, or not?

Offline

#4 2006-09-25 13:26:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] custom kernel without ABS

As long as every system.map has a unique name, it doesn't matter what you call them. The system.map contains verioning info, so any app that comes looking for system.map will select the one that matches your running kernel.

So yes - your naming scheme is OK.

Offline

#5 2006-09-25 14:07:01

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] custom kernel without ABS

fine  big_smile

Offline

Board footer

Powered by FluxBB