[Linux] Enable GPG instructions (#403)

* RPM GPG checking is enabled

Signed-off-by: Ben Clark <ben@benjyc.uk>

* Add repo_gpgcheck

Signed-off-by: Ben Clark <ben@benjyc.uk>
pull/418/head
Ben Clark 2017-06-17 19:32:51 +01:00 committed by Thomas Dietrich
parent 40c8a07e0e
commit 7fc10dbb2a
1 changed files with 6 additions and 8 deletions

View File

@ -159,8 +159,6 @@ Yum or Dnf Based Systems
{% include collapsible/body.html %}
**Note:** The RPM files cannot currently be GPG signed or checked, only continue if you're happy installing without GPG verification.
The RPM repo information should be defined inside a file, make a new file at `/etc/yum.repos.d/openhab.repo` with the following contents depending on your choice of release.
You may add all three to the same file, but make sure the desired repo is is set to `enabled=1`:
@ -172,8 +170,8 @@ You may add all three to the same file, but make sure the desired repo is is set
[openHAB-Stable]
name=openHAB 2.x.x Stable
baseurl=https://dl.bintray.com/openhab/rpm-repo2/stable
gpgcheck=0
repo_gpgcheck=0
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=1
```
@ -186,8 +184,8 @@ You may add all three to the same file, but make sure the desired repo is is set
[openHAB-Testing]
name=openHAB 2.x.x Testing
baseurl=https://dl.bintray.com/openhab/rpm-repo2/testing
gpgcheck=0
repo_gpgcheck=0
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=1
```
@ -201,8 +199,8 @@ You may add all three to the same file, but make sure the desired repo is is set
[openHAB-Snapshots]
name=openHAB 2.x.x Snapshots
baseurl=https://openhab.jfrog.io/openhab/openhab-linuxpkg-rpm/unstable
gpgcheck=0
repo_gpgcheck=0
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://openhab.jfrog.io/openhab/api/gpg/key/public
enabled=1
```