Re: ofpathname is bash only

2018-12-19 Thread Milan Kupcevic
On 12/19/18 12:06 PM, Mathieu Malaterre wrote: [...] > > I see that you patched ofpath in the past. Could you give me some > reference materials on where you found out those convention ? It seems > that grub-ofpathname has always lived happily with: > > $ /usr/sbin/grub-ofpathname /dev/sda2 > /

Re: ofpathname is bash only

2018-12-19 Thread Mathieu Malaterre
Hi Milan, On Tue, Dec 18, 2018 at 4:47 PM Milan Kupcevic wrote: > > On 12/18/18 10:20 AM, Mathieu Malaterre wrote: > > [...] > > > > > Turns out the patch will be more difficult than I thought. The shell > > script ofpathname is written for bash. It bails out with error when > > using dash. So I

Re: ofpathname is bash only

2018-12-18 Thread Milan Kupcevic
On 12/18/18 10:20 AM, Mathieu Malaterre wrote: [...] > > Turns out the patch will be more difficult than I thought. The shell > script ofpathname is written for bash. It bails out with error when > using dash. So I suspect this is a no-go for using ofpathname during > installation. > As ofpat

Re: ofpathname is bash only

2018-12-18 Thread John Paul Adrian Glaubitz
On 12/18/18 4:46 PM, Milan Kupcevic wrote: > As ofpathname is typically needed at the end of OS installation process > consider using 'in-target' to run it within the installed environment > where bash can be readily available. True. We could just add it to the normal grub2 package and call it fro

Re: ofpathname is bash only

2018-12-18 Thread John Paul Adrian Glaubitz
(Stripping off some of the CC fields) Hi Mathieu! On 12/18/18 4:20 PM, Mathieu Malaterre wrote: > Turns out the patch will be more difficult than I thought. The shell > script ofpathname is written for bash. It bails out with error when > using dash. So I suspect this is a no-go for using ofpathn