RPM Community Forums

Mailing List Message of <rpm-users>

Re: defalut location of RPM database

From: Manoj Palhade <mpalhade@googlemail.com>
Date: Mon 23 Nov 2009 - 13:10:37 CET
Message-ID: <67f63fb0911230410n1b4713c1m6daa7a08e7c6087b@mail.gmail.com>

I found the following text in macro file at /lib/rpm folder

# The location of the rpm database file(s).

%_dbpath %{_var}/lib/rpm

What is the purpose of “_var” variable in macro file at /lib/rpm folder?

I found following entry in same macro file

%_var /opt/sys/var

So instead of changing “%_dbpath”; I can make changes in “_var” variable.

Thanks and Regards,

Manoj Palhade
Received on Mon Nov 23 13:11:05 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.