diff --git a/meta-bsp/recipes-graphics/wayland/weston-init.bbappend b/meta-bsp/recipes-graphics/wayland/weston-init.bbappend index 6e9d1211a7..7337ce1e9e 100644 --- a/meta-bsp/recipes-graphics/wayland/weston-init.bbappend +++ b/meta-bsp/recipes-graphics/wayland/weston-init.bbappend @@ -25,7 +25,7 @@ do_install:append() { fi # Remove weston.sh installed by meta-freescale, it is superceded by weston-socket.sh - rm ${D}${sysconfdir}/profile.d/weston.sh + rm -f ${D}${sysconfdir}/profile.d/weston.sh # Include commented gbm-format if ! [ "${@bb.utils.contains('PACKAGECONFIG', 'gbm-format', 'yes', 'no', d)}" = "yes" ]; then