Bug 4664
Summary: | --rcfile <file> scanning broken | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | v.kuhlmann |
Component: | rpm | Assignee: | David Lawrence <dkl> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-08-23 14:26:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
v.kuhlmann
1999-08-23 08:07:46 UTC
The syntax for --rcfile has changed to not read /usr/lib/rpm/rpmrc by default. Here are equivalent commands Old: rpm --rcfile=~/.myrcfile New: rpm --rcfile=/usr/lib/rpm/rpmrc:~/.myrcfile All but the arch/os tables and the following 2 tokens have been replace by macro equivalents: optflags: provides: There are two new tokens in rc files: include: filename # insert another file macrofiles: /usr/lib/rpm/macros:/etc/rpm/macros:~/.rpmmacros In order to read from something other than standard macro file locations, you need to do in /some/rcfile: include: /usr/lib/rpm/rpmrc macrofiles: /path/to/macro1:/path/to/macro2:~/.mymacros in ~/.mymacros whatever Then invoke rpm as rpm --rcfile /some/rcfile You can now set the macro _topdir from the command line as rpm --define '_topdir /wherever' Use $HOME expansion on the invoking command line if you wish to install in your home directory. |