Remove unneeded rpm --import <key>

RPM will prompt to install our signing key, so no need to manually import it:
```
ZFS on Linux for EL9 - kmod                                                                                                                                                         3.3 MB/s | 3.4 kB     00:00    
Importing GPG key 0x9DB84141:
 Userid     : "OpenZFS <release@openzfs.org>"
 Fingerprint: 7DC7 299D CF7C 7FD9 CD87 701B A599 FD5E 9DB8 4141
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-openzfs
Is this ok [y/N]: y
```
Removing the line also gets around the problem of the key being renamed from `RPM-GPG-KEY-zfsonlinux` -> `RPM-GPG-KEY-openzfs`
This commit is contained in:
Tony Hutter
2022-08-08 12:27:17 -07:00
committed by GitHub
parent 5d2d7b4d23
commit 46a912175e

View File

@@ -42,12 +42,10 @@ the fingerprint listed here.
For RHEL/CentOS versions 6 and 7 run::
yum install https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
And for RHEL 8-9::
dnf install https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
After installing the *zfs-release* package and verifying the public key
users can opt to install either the DKMS or kABI-tracking kmod style packages.