Re: Trouble with RPM and %{_sysconfdir}.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux