You are not logged in.
Pages: 1
So I followed this guide the other day to compile a vanilla kernel: http://wiki.archlinux.org/index.php/Ker … rom_Source
And at the end, I noticed even though I changed the namings to my own name, and remember no reference to -ARCH at all, it is still named nameichose-ARCH.
Why is this? I don't want the -ARCH part there
Big Linux Noob
Offline
simply edit your kernel config file
Offline
I don't want to hijack this thread, but if you don't mind me asking, where is the kernel config file stored </kernel noobiness>
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
if your building from the abs script then the config is stored in
yourabsdir/kernel26/config
edit that (make a backup) and then when you run makepkg it will copy that config file.
Last edited by genisis300 (2008-09-03 21:48:22)
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
I figured it out. I missed
$ make menuconfig
General setup --->
(-ARCH) Local version - append to kernel release
Well didn't really miss, because I did this in gconfig and I noticed that line there, but couldn't edit it. This time I used menuconfig and could edit it there. So I just removed the -ARCH from there. Compiling now
Big Linux Noob
Offline
I don't want to hijack this thread, but if you don't mind me asking, where is the kernel config file stored </kernel noobiness>
the config is in the kernel source, so wherever you extract the source is where you will find the config.
if you are using ABS to compile the kernel, then you need change the config.x86 or config.x64_86 in the base directory of the abs source.
Offline
*****I'M NOT SURE IF THIS IS THE CORRECT ARCHLINUX WAY, but it worked for me.*****
I made a new 2.6.26-3 kernel using the ABS and the zen2 sources patch the other night. I didn't want the "-ARCH" part so I commented out this part in my PKGBUILD:
#_patchname="patch-${pkgver}-1-ARCH"
then I added this part in the same place:
_patchset=-zen2
then I edited the -ARCH patch part from this:
patch -Np1 -i $startdir/src/${_patchname} || return 1
and replaced it with this for my zen2 patch:
patch -Np1 -i $startdir/2.6.26-zen2.patch
then I changed this part from:
_kernver="${_basekernel}${CONFIG_LOCALVERSION}"
to this:
_kernver="${_basekernel}${_patchset}"
and then I also set these parts in my config.x86_64 in the General setup section from this:
CONFIG_LOCALVERSION="-ARCH"
CONFIG_LOCALVERSION_AUTO=y
to this:
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
Plus, I changed the names of all my other files in the ABS to names like this: "kernel26zen2.install" "kernel26zen2.preset"...... as well as my PKGBUILD to use "pkgname=kernel26zen2" and "install=kernel26zen2.install"...... and also anything in the "kernel26zen2.install" "kernel26zen2.preset" files to also use "kernel26zen2" instead of "kernel26" so as to make a "kernel26zen2.img" and a "kernel26zen2-fallback.img"..... I also took out the md5sums (they all had passed during an earlier try).
The end result was a separate kernel that I could add to my GRUB menu.lst and boot into..... without hurting my -ARCH stock kernel.
Last edited by methuselah (2008-09-05 23:56:57)
Offline
Pages: 1