public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/snapm] rawhide: Work around missing uname detection on Fedora ELN
@ 2026-11-18 12:28 Bryn M. Reeves
0 siblings, 0 replies; only message in thread
From: Bryn M. Reeves @ 2026-11-18 12:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/snapm
Branch : rawhide
Commit : e539ca3297db9ce2981e1c43fbeba339be7f4eed
Author : Bryn M. Reeves <bmr@redhat.com>
Date : 2026-11-17T19:04:42+00:00
Stats : +12/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/snapm/c/e539ca3297db9ce2981e1c43fbeba339be7f4eed?branch=rawhide
Log:
Work around missing uname detection on Fedora ELN
Currently boom-boot does not support automatic --uname-pattern for
Fedora ELN hosts:
https://github.com/snapshotmanager/boom-boot/issues/427
Work around this temporarily in the TMT plan by conditionally adding an
explicit --uname-pattern when setting up the OsProfile.
---
diff --git a/plans/main.fmf b/plans/main.fmf
index 125c446..da3acf1 100644
--- a/plans/main.fmf
+++ b/plans/main.fmf
@@ -24,4 +24,15 @@ prepare:
- name: Create boom OsProfile
how: shell
script: |
- boom profile create --from-host
+ # Fedora ELN uses an unstable, rolling elnXXX dist tag: boom's
+ # automatic uname pattern detection (_uname_heuristic()) does
+ # not currently support this:
+ # https://github.com/snapshotmanager/boom-boot/issues/427
+ # Override --uname-pattern selectively when running on ELN.
+ UNAME_PATTERN=""
+ if rpm --eval '%{?dist}' | grep -q '^\.eln' ||
+ grep -q 'platform:eln' /etc/os-release 2>/dev/null ||
+ uname -r | grep -q '\.eln[0-9]*\.'; then
+ UNAME_PATTERN="--uname-pattern eln"
+ fi
+ boom profile create --from-host ${UNAME_PATTERN}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-18 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 12:28 [rpms/snapm] rawhide: Work around missing uname detection on Fedora ELN Bryn M. Reeves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox