Skip to content

Commit

Permalink
runtime-cleanup: Change how logo pixmaps is cleaned up
Browse files Browse the repository at this point in the history
We need to keep /usr/share/pixmaps/fedora-logo-sprite.svg but there is
no simple way to just keep one file so @VladimirSlavik came up with this
workaround.

See: #1340

Fixes #1340
  • Loading branch information
bcl committed Sep 1, 2023
1 parent b81280b commit c59f5fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion share/templates.d/99-generic/runtime-cleanup.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,12 @@ removefrom yelp /usr/share/yelp/mathjax*
removefrom ${branding.logos} /usr/share/plymouth/*
removefrom ${branding.logos} /etc/*
removefrom ${branding.logos} /usr/share/icons/{Bluecurve,oxygen}/*
removefrom ${branding.logos} /usr/share/{kde4,pixmaps}/*

# Keep /usr/share/pixmaps/fedora-logo-sprite.svg if it exists
# See https://github.com/weldr/lorax/issues/1340
removefrom ${branding.logos} /usr/share/kde4/*
removefrom ${branding.logos} /usr/share/pixmaps/bootloader/*
removefrom ${branding.logos} /usr/share/pixmaps/*.png
%endif

## cleanup /boot/ leaving vmlinuz, and .*hmac files
Expand Down

0 comments on commit c59f5fa

Please sign in to comment.