Skip to content

Commit

Permalink
scripts: Ignore kernel-redhat %posttrans scripts
Browse files Browse the repository at this point in the history
Red Hat is planning to rename the kernel package to `kernel-redhat` in
a future minor release of RHEL 9 (see related fedmag post[[1]]).

Extend the `%posttrans` hack to cover these new packages.

[1]: https://fedoramagazine.org/changes-eln-kernel-rpm-nvr/
  • Loading branch information
jlebon authored and cgwalters committed May 2, 2023
1 parent 50a92a8 commit b5fdf85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/src/scripts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ static IGNORED_PKG_SCRIPTS: phf::Set<&'static str> = phf_set! {
// XXX: we should probably change this to instead ignore based on the kernel virtual Provides
"kernel.posttrans",
"kernel-core.posttrans",
"kernel-redhat-core.posttrans",
"kernel-debug-core.posttrans",
"kernel-redhat-debug-core.posttrans",
"kernel-automotive-core.posttrans",
"kernel-automotive-debug-core.posttrans",
"kernel-automotive-debug-modules.posttrans",
Expand Down

0 comments on commit b5fdf85

Please sign in to comment.