В Sun, 07 Sep 2014 12:37:36 -0700 Doug Brunner <d...@doug-brunner.com> пишет:
> Hi all, > > First time submitting - please let me know if I'm doing anything wrong. > > This patch adds an option, GRUB_LINUX_PREF_VERSION_SUBSTR, that can be set to > prioritize Linux kernels containing a > given substring. This takes precedence over version ordering, so if you have > 3.14.1-generic, 3.14.2-generic, > 3.8.13-fnord1, and 3.8.13-fnord2 and the substring is 'fnord', the order is: > 3.8.13-fnord2 > 3.8.13-fnord1 > 3.14.2-generic > 3.14.1-generic > You can simply disable default 10_linux script and use your own that does whatever ordering you prefer. This is too specific for upstream distribution. But it really seems like we need some additional layer on top of raw grub script that allows manual reordering of entries among others. > + if [[ "$entry" == *$GRUB_LINUX_PREF_VERSION_SUBSTR* ]]; then No, grub scripts do not require bash, so this is not going to work. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel