[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpmrc settable via environment variable?
- From: Aamer Akhter <aakhter gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: rpmrc settable via environment variable?
- Date: Wed, 4 Aug 2004 10:59:51 -0400
On Wed, 4 Aug 2004 20:17:44 +0530 (IST), garima@cse.iitb.ac.in
<garima@cse.iitb.ac.in> wrote:
>
>
> > Hello,
> >
> > Is there a way to set the localtion of rpmrc via an environment variable?
> >
> > I'm using rpm 4.1 and have to use a wrapper script as the rpmrc
> > location is not predictable at compile time (long story).
> >
> > The wrapper idea seems to work fine, except when trying to integrate
> > rpm with apt-rm. One of the programs (gensrclist) seems to be making
> > an rpm call and rpm is failing becaue it can't find the right rpmrc
> > file.
> >
> > Thoughts or suggestions are welcome.
> > --
> >
> > did u try --rcfile <filelist> option to fix this problem.i think it
> should help u.
yes, i had been using a wrapper:
====
> more `which cast-rpm`
#!/bin/sh
ARCH="sunos-5.8-sparc-32"
RPM="$CAST/arch/$ARCH/bin/rpm"
RPMRC="$CAST/arch/$ARCH/lib/rpm/rpmrc"
$RPM \
--rcfile=$RPMRC \
--define "CAST $CAST"
===
But the apt-rpm program (gensrclist) seems to not be calling the
wrapper (I tried changing the wrapper's name to rpm, but that's not
it), but is using some other call to rpm (perhaps librpm)
--
Aamer Akhter / aakhter@gma
il.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]