From 6491b5b00a9af6efb2ba607b06e8581f33dd631c Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Wed, 19 Jun 2019 10:55:23 +0200 Subject: [PATCH] adwaita-icon-theme: remove scalable icons from the filesystem These icons have never been included in the filesystem until a recent commit in poky (522b0d8615cdc6645f6dc37a03ea7584f19c7bfc). In total, they take up over 1 MiB and have been causing filesystem tests to fail on the ccimx6ul due to low space. Add a .bbappend to undo the commit's changes in our layer. Signed-off-by: Gabriel Valcazar --- .../recipes-gnome/gnome/adwaita-icon-theme_%.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend 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"