ofpathname is bash only

2018-12-18 Thread Mathieu Malaterre
Adrian, On Mon, Dec 17, 2018 at 9:42 PM John Paul Adrian Glaubitz wrote: > > Hi Mathieu! > > On 12/17/18 9:34 PM, Mathieu Malaterre wrote: > > OK. I see some difference in between ofpath and ofpathname now. I've > > reported it upstream: > > > > https://github.com/ibm-power-utilities/powerpc-util

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

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 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