cancel
Showing results for 
Search instead for 
Did you mean: 

how to correctly apply weston.ini changes via Yocto

Sharan
Senior II

I created a layer using bitbake-layers create-layer --priority 7 ../layers/meta-st/meta-my-custo-layer and created 

mkdir recipes-graphics/wayland/weston-init/ and created folder called  files and  append file weston-init_%.bbappend and in files i added my weston.ini where i disabled the panel=none and in bb append i added this code 

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://weston.ini"

do_install:append() {
install -d ${D}${sysconfdir}/xdg/weston
install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini
}

And added the layer using this bitbake-layers add-layer ../layers/meta-st/meta-my-custo-layer/

After that i built the image using bitbake st-image-weston but still it is taking the old weston.ini and the panel is visible 

Can Someone help me on how to do it?

0 REPLIES 0