Subject: | |
From: | |
Reply To: | |
Date: | Fri, 31 Aug 2007 14:00:52 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Thu, 30 Aug 2007, Alex Kruchkoff wrote:
> Yes, I've found a lots of signatures in sl-release-5.0-4.x86_64.
> And thinking about all these keys I wonder why all of them are not installed
> as a part of the SL installation process?
They just never have been is probably the short answer...
> I think that "rpm --import <key>" can not be run as postinstall program as
> rpm is already locked by installing sl-release, but could these keys be run
> by anaconda?
You can do that yourself in a kickstart %post e.g. we have a standard
postinstall script (run from %post) which does:
# Import RPM public key
printf "Importing standard RPM keys: ";
for i in /etc/pki/rpm-gpg/*GPG*KEY*; do
kn=$(basename $i)
printf "$kn ";
rpm --import $i
done
printf "\n\n";
amongst many other things... (obviously the printf's are just so that
anyone watching the install has some feedback about what is going on...)
-- Jon
|
|
|