Add for jaunty a default installkernel
Luis R. Rodriguez
mcgrof at gmail.com
Fri Dec 12 22:48:25 UTC 2008
/sbin/installkernel
Have a script which will let developers install and initramfs
automatically as per Ubuntu's style preference. I have such script,
its modified from debian's package, debianutils. I would send a patch
up to the maintainer of that package but that is very debian specific.
I think it would be nice to put this as part of the default install.
The changes I've made to debian's version is:
--- /sbin/installkernel.old 2008-10-04 12:45:40.000000000 -0700
+++ /sbin/installkernel 2008-10-04 12:45:46.000000000 -0700
@@ -66,6 +66,9 @@
updatever config "$config"
fi
+mkinitramfs -o $dir/initrd.img-$ver $ver
+update-grub
+
## This is very far from existing practice in modern Debian installations
########################################################################
# if [ "$(basename $img)" = "vmlinux" ] && [ "$(id -u)" = "0" ] ; then #
I've attached my file. This allows us developers to install and test
kernels on Ubuntu quickly. So after I've compiled wireless-testing all
I'd have to do is:
sudo make modules_install install
Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installkernel
Type: application/octet-stream
Size: 2385 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20081212/8438269d/attachment.obj>
More information about the kernel-team
mailing list