From 4b1825859fe98e57b19cdf7329557c0d7106ffa2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 13 Dec 2021 12:00:56 -0800 Subject: [PATCH] cleanup: remove binaries from lilv Since we're leaving pipewire-libs in, it'll still pull in liblilv from 0.3.41 onwards. Currently liblilv is in the same package as some binaries which we don't need, and one actually requires the removed libsndfile, so we need to trim it. Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-cleanup.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index 704dc943..33589320 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -11,6 +11,8 @@ remove usr/share/i18n ## no sound support, thanks removepkg flac-libs libsndfile pipewire pulseaudio* rtkit sound-theme-freedesktop wireplumber* +## lv2appy requires removed libsndfile, we don't need the rest either +removefrom lilv /usr/bin/* ## we don't create new initramfs/bootloader conf inside anaconda ## (that happens inside the target system after we install dracut/grubby) removepkg dracut-network grubby anaconda-dracut