URL:
<http://savannah.gnu.org/bugs/?43668>
Summary: grub2-mkconfig doesn't work when /bin/sh -> dash
Project: GNU GRUB
Submitted by: sappj
Submitted on: Sat 22 Nov 2014 02:22:25 AM GMT
Category: None
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02~beta1
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
It appears that grub2-mkconfig doesn't work when /bin/sh is linked to dash
(bash works fine though).
$ grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/starfield/theme.txt
Found linux image: -n
basename: invalid option -- 'n'
Try 'basename --help' for more information.
$ eselect sh list
Available POSIX shell implementations:
[1] bash
[2] dash *
$ eselect sh set 1 # set /bin/sh -> bash
$ grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/starfield/theme.txt
Found linux image: /boot/kernel-3.17.2-gentoo
Found initrd image: /boot/initramfs-3.17.2-gentoo.img
Found linux image: /boot/kernel-3.17.1-gentoo-r1
Found initrd image: /boot/initramfs-3.17.1-gentoo-r1.img
Found linux image: /boot/kernel-3.17.0-gentoo
Found initrd image: /boot/initramfs-3.17.0-gentoo.img
done
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43668>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub