Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the Debian/Ubuntu instructions for adding the OBS repository #1189

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jun 27, 2022

  1. Improve the Debian/Ubuntu instructions for adding the OBS repository

    I has come to my attention that the `apt-key` practice
    (as well as the `trusted.gpg.d`) are not recommended by the Debian team
    (https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution),
    and instead `deb [ signed-by=... ]` is the recommended practice.
    
    I cannot find an official source on why is that in "nice terms", but this article
    https://michael-prokop.at/blog/2021/02/16/how-to-properly-use-3rd-party-debian-repository-signing-keys-with-apt/
    gives more insight into the issue.
    
    Additionally, for Ubuntu `wget` > `curl`, since `curl` needs to be installed separately.
    
    The issue described in the `h6` above is still "relatively true", but it's less severe.
    
    Tested in a home-brewed test, based on the
    https://software.opensuse.org/download.html?project=home:vtrefny&package=blivet-gui
    instructions, inside an Ubuntu docker container (with the necessary setup).
    
    Signed-off-by: Stavros Ntentos <[email protected]>
    stdedos authored and hennevogel committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    48d5faf View commit details
    Browse the repository at this point in the history
  2. Since we are not using -O <filepath>, sudo wget is not needed

    Oops 😅
    
    `gpg --dearmor` is a little bit unnecessary on nowadays `SecureApt`.
    However, let's not change this to preserve backwards-compatibility instead.
    
    Signed-off-by: Stavros Ntentos <[email protected]>
    stdedos authored and hennevogel committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    2847d86 View commit details
    Browse the repository at this point in the history