public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lorax-templates-rhel] eln: Handle relocation of packaged repo configs to /usr/share/dnf5
Date: Wed, 12 Aug 2026 19:41:52 GMT	[thread overview]
Message-ID: <178656371217.1.14484411228325214154.rpms-lorax-templates-rhel-c901e3529ef9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/lorax-templates-rhel
            Branch : eln
            Commit : c901e3529ef96927aedf1d082ed76797260f633b
            Author : Adam Williamson <awilliam@redhat.com>
            Date   : 2026-08-12T15:18:05-04:00
            Stats  : +0/-6 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/lorax-templates-rhel/c/c901e3529ef96927aedf1d082ed76797260f633b?branch=eln

            Log:
            Handle relocation of packaged repo configs to /usr/share/dnf5

In Fedora 45+, packaged repo configs are moved to /usr/share/dnf5:
https://fedoraproject.org/wiki/Changes/RelocateRpmRepoConfigsToUsr
This adjusts lorax appropriately. We drop the renaming of the
repo directory entirely because it is no longer needed. It was
originally introduced in
https://github.com/rhinstaller/anaconda/commit/c51389518415d9182f01757314c7cfa272534557
to solve a problem involving upgrades. anaconda has not handled
upgrades since 2012. anaconda will be updated to not expect this
rename any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>

---
diff --git a/70-64k/runtime-postinstall.tmpl b/70-64k/runtime-postinstall.tmpl
index 142b05a..f2f2f0a 100644
--- a/70-64k/runtime-postinstall.tmpl
+++ b/70-64k/runtime-postinstall.tmpl
@@ -11,9 +11,6 @@ SOURCE_DATE_EPOCH = os.environ.get('SOURCE_DATE_EPOCH', str(int(time.time())))
 ## move_stubs()
 move usr/share/anaconda/list-harddrives-stub usr/bin/list-harddrives
 
-## move_repos()
-move etc/yum.repos.d etc/anaconda.repos.d
-
 ## Setup mdadm config to turn off homehost
 remove etc/mdadm.conf
 append etc/mdadm.conf "HOMEHOST <ignore>\n"

diff --git a/80-rhel/runtime-postinstall.tmpl b/80-rhel/runtime-postinstall.tmpl
index 142b05a..f2f2f0a 100644
--- a/80-rhel/runtime-postinstall.tmpl
+++ b/80-rhel/runtime-postinstall.tmpl
@@ -11,9 +11,6 @@ SOURCE_DATE_EPOCH = os.environ.get('SOURCE_DATE_EPOCH', str(int(time.time())))
 ## move_stubs()
 move usr/share/anaconda/list-harddrives-stub usr/bin/list-harddrives
 
-## move_repos()
-move etc/yum.repos.d etc/anaconda.repos.d
-
 ## Setup mdadm config to turn off homehost
 remove etc/mdadm.conf
 append etc/mdadm.conf "HOMEHOST <ignore>\n"

                 reply	other threads:[~2026-08-12 19:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178656371217.1.14484411228325214154.rpms-lorax-templates-rhel-c901e3529ef9@fedoraproject.org \
    --to=awilliam@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox