If I want to customize the mkinitcpio setup, do I just copy that example.preset file in to the build directory and rename it to something custom? How does it get sourced in the build process? Do I need to edit anything in the kernel26.install file? Sorry for all the questions...my understanding of how all that stuff fits together is pretty minimal as far as customization goes. I'm trying to get process accounting working in a virtual machine that I'm using for a class...I have to demonstrate it in Solaris, FreeBSD, and Linux and the kernel is the only thing holding me back
]]>$ mkdir -p /var/abs/local/kernel/
$ cd /var/abs/local/kernel/
$ cp /var/abs/kernels/kernel26/config .
$ cp /var/abs/kernels/kernel26/kernel26.install .
I changed the CONFIG_LOCALVERSION="-ACCT" instead of "-ARCH" in the config file. Then I downloaded the PKGBUILD from the ABS Kernel Compilation wiki page...changed the pkgversion to the proper kernel version, and uncommented "make menuconfig".
Then I ran makepkg and when the ncurses configuration editor comes up, I literally just selected "General Setup" and checked the "BSD Process Accounting" box then exited out. The kernel compilation completes after a while and I can install the package just fine. I edited my /boot/grub/menu.lst to look exactly like the stock kernel's entry with the proper updated kernel line, but when I reboot, it says it can't connect to the root partition. Any thoughts for a kernel compiling noob? Need any more specific info?
]]>