Re: Dependency on /bin/sh

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

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux