Bug 1956205 - "red hat enterprise linux-logos" package does not exist
Summary: "red hat enterprise linux-logos" package does not exist
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lorax-templates-rhel
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1942219
TreeView+ depends on / blocked
 
Reported: 2021-05-03 08:09 UTC by Jan Stodola
Modified: 2021-05-12 17:20 UTC (History)
1 user (show)

Fixed In Version: lorax-templates-rhel-9.0-18.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Stodola 2021-05-03 08:09:44 UTC
Description of problem:

The following line:
removefrom ${product.name}-logos /usr/share/plymouth/*

in runtime-cleanup.tmpl doesn't do what it is supposed to do:

...
template line 4: removefrom red hat enterprise linux-logos /usr/share/plymouth/*
removefrom red hat: no files matched!
removefrom red enterprise: no files matched!
removefrom red linux-logos: no files matched!
removefrom red /usr/share/plymouth/*: no files matched!
removefrom red hat enterprise linux-logos /usr/share/plymouth/*: no files to remove!
...

The name of the package in the current rhel-9 compose is:
redhat-logos-85.1-1.el9.x86_64.rpm

Version-Release number of selected component (if applicable):
lorax-templates-rhel-9.0-13.el9

How reproducible:
Always

Steps to Reproduce:
1. see buildinstall-BaseOS-logs/pylorax.log from the compose log files

Actual results:
/usr/share/plymouth/* files are not removed from redhat-logos

Expected results:
Files are removed from redhat-logos

Comment 1 Brian Lane 2021-05-03 19:02:28 UTC
Looks like this was also a problem in RHEL8. It also needs to work in other distros so I came up with an upstream fix for this that can be backported:

https://github.com/weldr/lorax/pull/1143

Comment 2 Brian Lane 2021-05-12 15:18:00 UTC
FYI this will actually be fixed in the next build of the templates, I messed up the previous commit and didn't drop the -logos constant after the variable. Build will be lorax-templates-rhel-9.0-18.el9


Note You need to log in before you can comment on or make changes to this bug.