[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: prerequisites
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: prerequisites
- Date: Wed, 13 Sep 2000 10:06:25 -0400
On Tue, Sep 12, 2000 at 03:35:09PM -0600, Phillip Neiswanger wrote:
> Wow! I've finally created my first rpm package. Initial testing with it
> looks good. However, if I add a %pre section to it, then during the build
> rpm decides it must have /bin/sh installed. That's fine, but when I then go
> to test the package rpm tells me that my package requires /bin/sh and quits.
> The shell IS installed, so what's up? Is there a way to get rpm to ignore
> this requirement without also causing it to ignore my Requires: tags?
Try
echo "Provides: /bin/sh" >> /etc/rpmrc
and then installing. The more general mechanism is to write a "virtual package"
(read: a package without files) that does
Provides: /bin/sh
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]