Verdin H/W .so file library is not reflecting in final rootfs

Hello folks;

I am using Toradex Verdin IMX8M plus development board (5.6.161-5.6.0-devel kernel).
I have create custom layer of Weston, a Wayland compositor.After

bitbake -v tdx-reference-multimedia-image

desktop-shell.so file not updated in Final rootfs.
below is my .bbappend recipe.

do_install_append() {
        echo "#### DEBUG: install -m 0644 ${WORKDIR}/build/desktop-shell/desktop-shell.so ${DEPLOYDIR}/usr/lib/weston"
        install -d  ${DEPLOYDIR}/usr/lib/weston
        install -m 0644 ${WORKDIR}/build/desktop-shell/desktop-shell.so ${DEPLOYDIR}/usr/lib/weston

}

PACKAGE_ARCH = "${MACHINE_ARCH}"

COMPATIBLE_MACHINE = "(mx8)"


Below you can see that time stamp was not changed in verdin_imx8mp-tdx-linux rootfs

user@user:/data/verdin-imx8mm/build$ ls -lah ./tmp/work/verdin_imx8mp-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs/usr/lib/weston/desktop-shell.so
-rwxr-xr-x 1 user user 79K Apr  6  2011 ./tmp/work/verdin_imx8mp-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs/usr/lib/weston/desktop-shell.so

but it’s only updated in aarch64-mx8mp-tdx-linux

user@user:/data/verdin-imx8mm/build$ ls -lah ./tmp/work/aarch64-mx8mp-tdx-linux/weston/9.0.0.imx-r0/build/desktop-shell/desktop-shell.so
-rwxr-xr-x 1 user user 431K Apr 26 11:21 ./tmp/work/aarch64-mx8mp-tdx-linux/weston/9.0.0.imx-r0/build/desktop-shell/desktop-shell.so

how can i update desktop-shell.so in final verdin_imx8mp-tdx-linux rootfs?

Hello,

Anyone can suggest ?

Hi @kishan

Welcome to toradex community.

Could you provide What is the use case and why you want to update the desktop-shell.so library.

Hi @ashok.tx

I have some customization in weston compositor.

So need to change desktop-shell.so , It was resolved by adding

RDEPENDS:${PN} += "weston"

in .bbappend file.

Thanks for reply.

Hi @kishan

Glad it worked.Thanks for the update.