I was surprised to actually see that
git is already pre-installed in Fedora Silverblue.
So far, so good, I thought.
However, I’d like to store my git passwords in GNOME Keyring, which is BTW especially useful for Fedora Silverblue as flatpak apps cannot access the keying without special permissions AFAIK. However you need the
git-credential-libsecret helper of git for this and Fedora Workstation (or actually the git rpm package) already thankfully provides a pre-compiled version under
This file did not exist in Fedora Silverblue by default.
I could solve this by just layering the “default” git rpm package above like this…:
rpm-ostree install git Checking out tree 751d21e... done Enabled rpm-md repositories: updates fedora-cisco-openh264 fedora Updating metadata for 'updates'... done rpm-md repo 'updates'; generated: 2019-07-07T00:45:01Z […] Importing rpm-md... done Resolving dependencies... done Will download: 5 packages (2,7 MB) Downloading from 'fedora'... done Importing packages... done Checking out packages... done Running pre scripts... done Running post scripts... done Running posttrans scripts... done Writing rpmdb... done Writing OSTree commit... done Staging deployment... done Freed: 45,6 MB (pkgcache branches: 0) Upgraded: libnice 0.1.16-4.fc30 -> 0.1.16-5.fc30 Added: git-2.21.0-1.fc30.x86_64 git-core-doc-2.21.0-1.fc30.noarch perl-Error-1:0.17027-2.fc30.noarch perl-Git-2.21.0-1.fc30.noarch perl-TermReadKey-2.38-2.fc30.x86_64 Run "systemctl reboot" to start a reboot
But I wonder whether this is intentional?
rpm-ostree output looks like a fresh layering of
git (apart from that
libnice lib ?), so it seems no package has been installed before in the base image (not even