]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
classes/gtk-icon-cache: fix libdir passed to the postrm intercept
authorRoss Burton <ross.burton@arm.com>
Fri, 22 May 2026 16:04:51 +0000 (17:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 May 2026 10:21:53 +0000 (11:21 +0100)
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")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/gtk-icon-cache.bbclass

index fad8c4c65fa191794ce47fd3fd97be1f977d3a30..1c573264e0ab933d37b0ea423438b1bfd2122c6b 100644 (file)
@@ -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