Blame SOURCES/0001-Don-t-display-Alternate-Architectures-in-product-nam.patch
|
|
68f5b9 |
From 5d888b98e50aadf12204c5105ab2d6d8372772bb Mon Sep 17 00:00:00 2001
|
|
|
68f5b9 |
From: Radek Vykydal <rvykydal@redhat.com>
|
|
|
68f5b9 |
Date: Wed, 4 Oct 2017 11:12:06 +0200
|
|
|
68f5b9 |
Subject: [PATCH] Don't display "Alternate Architectures" in product name
|
|
|
68f5b9 |
(#1498138)
|
|
|
68f5b9 |
|
|
|
68f5b9 |
Temporary fix on anaconda side for Pegas 1.0. For Pegas 1.1 this should be
|
|
|
68f5b9 |
resolved in compose tools (or testing infrastructure) side.
|
|
|
68f5b9 |
|
|
|
68f5b9 |
Resolves: rhbz#1498138
|
|
|
68f5b9 |
---
|
|
|
68f5b9 |
pyanaconda/product.py | 2 ++
|
|
|
68f5b9 |
1 file changed, 2 insertions(+)
|
|
|
68f5b9 |
|
|
|
68f5b9 |
diff --git a/pyanaconda/product.py b/pyanaconda/product.py
|
|
|
68f5b9 |
index 1ff0046..a77ad42 100644
|
|
|
68f5b9 |
--- a/pyanaconda/product.py
|
|
|
68f5b9 |
+++ b/pyanaconda/product.py
|
|
|
68f5b9 |
@@ -41,6 +41,8 @@ bugUrl = config.get("Main", "BugURL")
|
|
|
68f5b9 |
isFinal = config.getboolean("Main", "IsFinal")
|
|
|
68f5b9 |
productArch = config.get("Main", "Arch")
|
|
|
68f5b9 |
productName = config.get("Main", "Product")
|
|
|
68f5b9 |
+if productName.endswith(" Alternate Architectures"):
|
|
|
68f5b9 |
+ productName = productName[:-len(" Alternate Architectures")]
|
|
|
68f5b9 |
productStamp = config.get("Main", "UUID")
|
|
|
68f5b9 |
productVersion = config.get("Main", "Version")
|
|
|
68f5b9 |
|
|
|
68f5b9 |
--
|
|
|
68f5b9 |
2.4.3
|
|
|
68f5b9 |
|