You are not logged in.
Pages: 1
Just one question...when I make PKBUILD an install script of kernel, then my kernel says that modules exista in sistem when I try to install it? Does that means that new kernel will uninstall old generic or what? Or I need to remove /lib/modules/2.6.29-ARCH? I now how to compile to get initrd and img with old school way, thats OK, I use custom kernel, but I don`t now how to get pkg.tar.gz of custom kernel, because of that problem...
Thanks
Last edited by Pyntux (2009-06-20 12:07:01)
I do not speak English, but I understand...
Offline
change kernel name in Makefile and/or .config
this will install new kernel in parallel to the existing one. This is safer. In the case that your custom is borked, you will be able to boot to one that works.
Offline
I have good (for my comp only ) config file, so that`s not a problem...I was renamed kernel in config file, but when I go for install, he says modules exist...I gonna try again...thanks
I do not speak English, but I understand...
Offline
I don't use AUR script, I build custom kernels directly from sources. It seems way better that using scripts over scripts.
I believe though that you will need to check also PKGBUILD script to chenge kernel name.
This is one of the reasons why I fing using AUR for kernel so troublesome: it requires too much of extra editing in contrast to stright kernel build/installation. Of course AUR is indispensable for other software installation... usually as it provides easy way to administer software installation.
Offline
You don't need to edit PKGBUILD that much, only:
pkgname=kernel26-custom # Build kernel with a different name, you can name it as you wish, just delete the line that refers to kernel26 default
_basekernel=2.6.30
and uncomment one of these (I prefer configuring it through CLI):
# Configure the kernel. Replace the line below with one of your choice.
make menuconfig # CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
Yeah, you have to edit these, but after it builds the kernel you can install/remove it through pacman. Advantage AUR.
Last edited by s3kt0r (2009-06-21 17:24:17)
box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle
Offline
actually, kernel is one of these rare instances where AUR provides no advantage at all. On the contrary it poses several problems.
Offline
actually, kernel is one of these rare instances where AUR provides no advantage at all. On the contrary it poses several problems.
Yes, especially since, if you're compiling your own kernel, you INHERENTLY want to customize it to your own requirements.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Well, I didn't mean AUR, I meant ABS. And I do like to compile my own kernel, customizing it to my needs/requirements.
p.s.: Imho, ABS/PKGBUILD's are a great way to compile a kernel. It's not like configuring from source, sure.
Last edited by s3kt0r (2009-06-22 01:33:32)
box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle
Offline
Ah, ABS then yes, a good idea. Except that if the kernel is bumped a version you have to recompile again or just set the package ignore in pacman's conf.
I'd go for a separate kernel with a separate package name myself, more stable.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I don`t use ABS also, not for kernel...I install and build from source, but I`m gonna use PKBUILD to save that kernel in pkg.tar.gz, only for that! Thanks to all
I do not speak English, but I understand...
Offline
Pages: 1