On Tue, 28 Jul 2015 12:26:14 -0400, Rich Freeman wrote: > Yeah, that one probably would need some hand-rolling unless you > basically wanted to write your own mkconfig plugins or your own > mkconfig.
Writing your own mkconfig plugin is pretty simple, it's just a shell
script that spits out the relevant lines for each kernel it finds.
for KERNEL in /boot/vmlinuz-*; do
echo "menuentry \"$KERNEL\" {"
echo "linux $KERNEL $STD_OPTS"
echo "}"
done
You can tidy that up a bit and add extra lines to output No X or rescue
alternatives, and you can grab the correct syntax from the mkconfig
generated file in the first place.
--
Neil Bothwick
You are a completely unique individual, just like everybody else.
pgpM_V6_HJFP2.pgp
Description: OpenPGP digital signature

