Thanks Mats!
I've simply added "Provides: /bin/sh" to my package.
In fact I would be happy to have required version of bash installed in
my private RPM area, but relocatable bash RPM requires non-relocatable
glibc and others, so I gave up ...
It seems there is no way to 'merge' 2 or more RPM databases (e.g. the
system one and a private one) ?
Wichmann, Mats D wrote:
I have the following problem with building a relocatable RPM package:
even if I specify AutoReqProv: no in spec file, it generates
dependency
on /bin/sh (probably due to my package includes some shell scripts),
which is not available as I install my package using a private RPM
database, like:
rpm -i --dbpath /home/akazarov/releases/testRPMinst/RPMDB
--prefix=/home/akazarov/releases/testRPMinst
/usr/src/redhat/RPMS/i386/LCG-43a-0.i386.rpm
error: Failed dependencies:
/bin/sh is needed by LCG-43a-0
Suggested resolutions:
bash-2.05b-41.4.i386.rpm
The rest of dependencies (on system DLLs) are not there, as
desired, but this /bin/sh is ...
the /bin/sh is there because something has to run your
package scripts on install.
you simply have to push this into your private database.
make an otherwise empty package that "Provides: /bin/sh"
and install that before you get started.
_______________________________________________
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