On 11 Jun 2023 at 16:24, George N. White III wrote: From: "George N. White III" <gnw...@gmail.com> Date sent: Sun, 11 Jun 2023 16:24:45 -0300 Subject: Re: grub2-mkconfig Strange Message To: Community support for Fedora users <users@lists.fedoraproject.org> Send reply to: Community support for Fedora users <users@lists.fedoraproject.org>
> > On Fri, Jun 9, 2023 at 9:54 PM Stephen Morris <samor...@netspace.net.au> > wrote: > Hi, > I have just used dnf to put on the currently available > maintenance in F38, having not put any on for a week or so, > after upgrading from F37 via dnf system-upgrade a couple > of weeks ago. > After putting on the maintenance I used grub2-mkconfig > to build the grub.cfg file and got the message below after it > notified of finding the linux kernels, does anyone know what > this means and why they are being produced from the > released version of grub2-mkconfig, the process I ran after > the maintenance I put on a week or so ago did not produce > these messages? > > fgrep: warning: fgrep is obsolescent; using grep -F > > /usr/sbin/grub2-mkconfig --help > [...] > Report bugs to <bug-g...@gnu.org>. > > I haven't seen this warning since before COVID. There are lots of grub2-X > scripts, it would be useful to identify the culprit. > Maybe replace the current fgrep script with one that prints more details. Did a quick check on my system with Fedora 37. In /etc/grub.d for a in *; do echo $a; grep "fgrep" <$a; done 00_header 01_users 08_fallback_counting 10_linux list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '` 10_reset_boot_success 12_menu_auto_hide 14_menu_show_once 20_linux_xen list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '` xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' ' '` 20_memtest86+ 20_ppc_terminfo 30_os-prober 30_uefi-firmware 35_fwupd 40_custom 41_custom > > -- > George N. White III > +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mi...@guam.net mailto:msetze...@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue