You are not logged in.
Pages: 1
I know this have been discused several times, but I think it would be very helpful to have the config file included in the kernel package (for instance under /boot/config).
I know it can be obtained with abs, but for me (at least?), it would avoid some hard time when installing arch...
In fact, after a fresh install of Arch, I need to rebuild the kernel before being able to connect on internet, and as a consequence, before running abs (stupid USB DSL modem...).
But, without connection, I can't retrieve the config file...
The kernel sources can be found on the install CD. So, I have all I need to build the kernel except that only small little config file...
Anyway, here is how I modified my kernel package:
diff -ur base/kernel/PKGBUID local/base/kernel/PKGBUILD
@@ -15,6 +15,7 @@
mkdir -p $startdir/pkg/{lib/modules,boot,bin}
make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
cp System.map $startdir/pkg/boot
+ cp .config $startdir/pkg/boot/config
cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz
cp $startdir/src/nash $startdir/pkg/bin
mkdir -p $startdir/pkg/usr/src/linux/includeIt allows to always have related vmlinuz and config files put together.
Very cool when customizing kernel parameters ![]()
Offline
Great suggestion. I'll include it for the next kernel package release.
Offline
Pages: 1