bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #43668] grub2-mkconfig doesn't work when /bin/sh -> dash


From: Joe Sapp
Subject: [bug #43668] grub2-mkconfig doesn't work when /bin/sh -> dash
Date: Sat, 22 Nov 2014 02:22:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]