Skip to content

Commit

Permalink
Fix mandatory patterns for SLES16.0 (agama-project#1736)
Browse files Browse the repository at this point in the history
- fix tradicional pattern name, patterns-base-traditional package
provides base_traditional
- remove base pattern because base_traditional pattern requires it


## Problem

patterns-base-traditional package provides *base_traditional* pattern
not *traditional* which was wrongly added in mandatory_patterns for SLES
16.0

```
$ rpm -qp --provides patterns-base-traditional-6.0-slfo.1.5.1.x86_64.rpm 
pattern() = base_traditional
pattern-category() = SLFO
pattern-icon() = pattern-kubic
pattern-order() = 9011
pattern-visible()
patterns-base-traditional = 6.0-slfo.1.5.1
patterns-base-traditional(x86-64) = 6.0-slfo.1.5.1
```


## Solution

In mandatory_patterns for SLES 16.0:
- replace *tradicional*  with *base_traditional*
- remove *base* pattern because *base_traditional* pattern requires it
```
$ rpm -qp --requires patterns-base-traditional-6.0-slfo.1.5.1.x86_64.rpm 
pattern() = base
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
zypper
zypper-needs-restarting

```


## Testing

- *Tested manually*
  • Loading branch information
imobachgs authored Nov 8, 2024
2 parents 976f695 + 0ea7fb9 commit 59e103c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions products.d/agama-products.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Nov 07 18:25:49 UTC 2024 - Gustavo Yokoyama Ribeiro <[email protected]>

- Fix mandatory patterns for SLES16.0:
- fix traditional pattern name, patterns-base-traditional package
provides base_traditional
- remove base pattern because base_traditional pattern requires it
(gh#agama-project/agama#1736)

-------------------------------------------------------------------
Wed Nov 06 11:28:16 UTC 2024 - Gustavo Yokoyama Ribeiro <[email protected]>

Expand Down
3 changes: 1 addition & 2 deletions products.d/sles_160.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ software:
archs: s390

mandatory_patterns:
- traditional
- base
- base_traditional
optional_patterns: null # no optional pattern shared
user_patterns: []
mandatory_packages:
Expand Down

0 comments on commit 59e103c

Please sign in to comment.