[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Trouble with RPM and %{_sysconfdir}.
- From: "Paul Johnson" <pauljohn32 gmail com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: Re: Trouble with RPM and %{_sysconfdir}.
- Date: Mon, 9 Apr 2007 23:54:11 -0500
Thanks for all of your information about my original question. I
still wonder about what I'm supposed to do to encourage the files to
end up in /etc rather than the /usr/etc.
I have completely stock, freshly installed FC6 systems, both i386 and
x86_64. I'm tracking through the configuration files.
On a Centrino Intel Laptop running i686 32 bit kernel, I have:
$ cat /etc/rpm/platform
i686-redhat-linux
Maybe that's wrong? Should anaconda have put "i686-linux" instead?
I see what you mean about the default settings in
/usr/lib/rpm/macros. That has the "wrong thing" that is giving me bad RPMs:
%_sysconfdir %{_prefix}/etc
In this file:
/usr/lib/rpm/i686-linux/macros,
I find the "right" thing
%_sysconfdir /etc
Same for
/usr/lib/rpm/i386-linux/macros
%_sysconfdir /etc
Is the "mistake" that my /etc/rpm/platform file has the word "redhat",
so it does not match exactly the name of the subdirectory in
/usr/lib/rpm ?
pj
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]