You are not logged in.

#1 2006-12-13 06:11:00

IamfromIvashkovo
Member
Registered: 2006-08-16
Posts: 33

Kernel compilation using ABS

Hello everybody,
I am trying to study kernel compilation using ABS. The starting point is-I have my own config file which make for me monolitic kernel (without modules outside). So, when I am trying to use pacman -Syu  I get the kernel with a lot of modules and which is not working in my system (because of GRUB configuration). I mean I do not know how to install the new kernel using pacman and my own config-file. I decide make compilation using ABS system. The same problem. I can 't find any clue at the wiki manuals how to make compilation with MY config file. When I copy my config to /var/abs/kernel/kernel26  I get the massage
config file wrong.
How to upgrade kernel  time to time using my own config?
Thanks a lot
Arch is great!

Offline

#2 2006-12-13 07:13:09

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Kernel compilation using ABS

IamfromIvashkovo wrote:

...When I copy my config to /var/abs/kernel/kernel26  I get the massage
config file wrong.

this is the right way. you get a md5sum error. to solve this run makepkg -g and replace the md5sum with the one in the pkgbuild. then makepkg should go through.

Offline

#3 2006-12-13 08:06:58

IamfromIvashkovo
Member
Registered: 2006-08-16
Posts: 33

Re: Kernel compilation using ABS

Thanks a lot.One more question. Should it be .config or config?
(I mean with or without  point before the name "config").

Offline

#4 2006-12-13 08:36:55

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Kernel compilation using ABS

without the dot.  look into the pkgbuild where it is renamed:

  cat ../config | sed "s|#CARCH#|$carch|g" >./.config

Offline

#5 2006-12-13 12:21:22

IamfromIvashkovo
Member
Registered: 2006-08-16
Posts: 33

Re: Kernel compilation using ABS

Many thanks. Solved using
makepkg -g >> PKGBUILD
and then edit md5sum inside.

Offline

Board footer

Powered by FluxBB