> -----Original Message-----
> From: Paul Eggleton [mailto:[email protected]]
> 
> On Friday 26 July 2013 19:43:45 Martin Jansa wrote:
> > On Fri, Jul 26, 2013 at 05:25:29PM +0300, Mihai Prica wrote:
> > > Fixes rootfs generation error if bash is not included in the image.
> >
> > With rpm right?
> 
> If it's what you're suggesting technically it's broken with any package 
> backend, to
> some degree.

For the tests I used rpm.

> 
> > Find which script it has in shebang and add bash only to that package
> > RDEPENDS, if it's something which isn't always needed put it in
> > separate package.
> 
> Or if practical patch the script(s) to remove the bashisms and change the 
> shebang
> to #!/bin/sh instead.

I've looked over the scripts and there seem to be 4 files which are using bash. 
The files 
are part of the core lvm2 package. I've used checkbashism and there are not 
many 
changes that need to be done to switch to /bin/sh. I'll send an updated patch. 

Thanks,
Mihai

> 
> Cheers,
> Paul
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to