diff --git a/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend b/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend new file mode 100644 index 000000000..519e4cedc --- /dev/null +++ b/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend @@ -0,0 +1,9 @@ +# Copyright (C) 2019 Digi International. + +do_install_append() { + # We don't use the scalable icons anywhere and they take up over + # 1 MiB in the filesystem, so remove them. + rm -f ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg +} + +FILES_${PN}-symbolic_remove = "${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg"