[Yum] old code questions
Panu Matilainen
pmatilai at laiskiainen.org
Wed Aug 1 06:10:52 UTC 2007
On Tue, 24 Jul 2007, seth vidal wrote:
> On Tue, 2007-07-24 at 09:50 -0700, Gallie, Keith wrote:
>>
>>> since your rpmdb is defined as: $installroot/var/lib/rpm
>>
>> Where is this definition? A config file? Hard coded in the rpmmodule.so?
>>
>> dbPath is set to conf.installroot and /var/lib/rpm is implied?
>
>
> the definition is somewhere in rpm. It's just one of rpms many
> 'features'.
>
> if you set dbPath separately then you can change it's destination, yes.
The dbpath is set by %{_dbpath} macro in rpm configuration, but
/var/lib/rpm might be hardcoded in a few places if dbpath is not set at
all.
- Panu -
More information about the Yum
mailing list