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

Re: Dependency on /bin/sh



Hello Panu,
    I think I have perhaps not clearly conveyed my problem. I do have /bin/sh 
on the target. It is just that RPM does not know it because the RPM database 
is empty.  I just want to make RPM not check for the presence of /bin/sh in 
the database. Thanks for your time.

Regards,
Ram Prakash. R

On Tuesday 30 March 2004 12:46, Panu Matilainen wrote:
> On Tue, 30 Mar 2004, Ram Prakash. R wrote:
> > Hello,
> >    I have built my own RPM that I am downloading into a device which has
> > a clean RPM database. This RPM contains some self sufficient executables
> > (they have no external dependencies). But the spec file contains a %pre
> > script which creates some soft links after testing for their existence.
> > Because of the %pre script an automatic dependency got created for
> > /bin/sh. This dependency is generated even though I have
> >                    AutoReq: 0
> > in the spec file.
> >
> >   To overcome dependency failures, I added /bin/sh in the "Provides"
> > clause. But still the failure due to dependency on /bin/sh occurs. Any
> > idea to overcome this automatic dependency generation will be
> > appreciated.
>
> If there's no /bin/sh on the system then what exactly creates the symlinks
> in your packages %pre section? You need shell of some sort, if it's not
> /bin/sh then tell rpm to use different interpreter for %pre, eg
>
> "%pre -p /path/to/shell-interpreter"
>
> 	- Panu -
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list



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