From 7ef1553020db78028773faee567dc92be9b4b382 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 26 Apr 2024 15:30:01 -0400 Subject: [PATCH] tier-1: drop subscription-manager This is only useful for RHEL developers who want to build RHEL containers in the Fedora host and requires a subscription. Keep it out by default; one can always of course re-layer it in a derived build. --- tier-1/rpm-packaging.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tier-1/rpm-packaging.yaml b/tier-1/rpm-packaging.yaml index 89e7a8a..060c205 100644 --- a/tier-1/rpm-packaging.yaml +++ b/tier-1/rpm-packaging.yaml @@ -2,15 +2,3 @@ # `dnf update` *client side* doesn't do much helpful... packages: - dnf - # To ensure we can enable client certs to access RHEL content - - subscription-manager - -postprocess: - # These enable librhsm which enables host subscriptions to work in containers - # https://github.com/rpm-software-management/librhsm/blob/fcd972cbe7c8a3907ba9f091cd082b1090231492/rhsm/rhsm-context.c#L30 - # https://github.com/openshift/os/pull/876/commits/dd35dd0e102aeed90df14f05c8ae9da4c8c5962a - - | - #!/usr/bin/bash - set -xeuo pipefail - ln -sr /run/secrets/etc-pki-entitlement /etc/pki/entitlement-host - ln -sr /run/secrets/rhsm /etc/rhsm-host