-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30.06.2012 22:24, Dale wrote:
<SNIP>
>>
> Ahhhh, I can name it kernel. That makes more sense to me. Me
> votes for kernel-x.y.z. Heck, this may work for me.
>
> I still don't like the deal of having to run something after
> changing the kernel tho. It seems to lilo-ish to me.
>
> Dale
>
> :-) :-)
>
You could also change the bash script:
it resides in /etc/grub.d/10_linux
the relevant part is:
case "x$machine" in
xi?86 | xx86_64)
list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i
" ; fi
done` ;;
*)
list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-*
/vmlinux-* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i
" ; fi
done` ;;
esac
as you can see there are 2 parts: one für x86 and x86_64 and one for
the rest.
If you add it to the list it will find everything, you could even call
it "my-personal-kernel".
You only should add the path as well (/ or /boot/).
I've doing so for the initramfs for a while (I have one static
initramfs which don't need to be updated for every kernel since my
config disables kernel modules).
Works fine. - You should only remember to look at it after a grub
update (though normally etc-update and co take care of that)
WKR
Hinnerk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJP8N7GAAoJEJwwOFaNFkYc+1wIAI401zc2YVMeXgDWl7uTwufZ
7/GeU81fQwyhJod7bcvVecvW3TaQ82IL8oubI18uc3OsjE4QxMLUwC0rJay1RPdU
sm/Y2hF+hRhPoowERj4AcvIDK3Uze9SLaLDkbRyadVqtD6/mdIAqMo+Bj6AT6tPV
SXWy0butZ4JiVpWGOaqza0Nlk90ClfUk6v8+COprFG6LPRB0R/+U73jtG7RjfF/r
QFnsdMSXQeOpDheRyQvpXiVDKFEeTsB9Hn9YZg8HemgXXxuHhZrnwMi9RWUgCVBi
QUJJnbDcayXKk24MOiEpwDCxppRuOAkT+Avb5lC8uZr0JBb23T5LVBdcFc2oeNM=
=n02R
-----END PGP SIGNATURE-----