From ba6b81292992c9663ed26f873dc2bcc9d8b7e292 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 22 May 2026 17:04:51 +0100 Subject: [PATCH] classes/gtk-icon-cache: fix libdir passed to the postrm intercept Back in 2015[1] I fixed the libdir passed to the postinst intercept, but I forgot to also update the postrm intercept. This should also be libdir_native, not libdir. [ YOCTO #13896 ] [1] oe-core 0fe8400717 ("gtk-icon-cache: pass the native libdir to the intercept") (From OE-Core rev: cd46a25fa3f7ffe5518c7c95f280a7760455aac8) Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit 92dd67114be325e019c149bddaf5f874f6917094) Signed-off-by: Yoann Congal Signed-off-by: Paul Barker --- meta/classes-recipe/gtk-icon-cache.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/gtk-icon-cache.bbclass b/meta/classes-recipe/gtk-icon-cache.bbclass index 9ecb49916c..2ff10c2118 100644 --- a/meta/classes-recipe/gtk-icon-cache.bbclass +++ b/meta/classes-recipe/gtk-icon-cache.bbclass @@ -46,7 +46,7 @@ gtk_icon_cache_postrm() { if [ "x$D" != "x" ]; then $INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \ mlprefix=${MLPREFIX} \ - libdir=${libdir} + libdir_native=${libdir_native} else for icondir in /usr/share/icons/* ; do if [ -d $icondir ] ; then