weston-init: add customization directly in weston.ini instead of do_install()
We already have a copy of NXP's weston.ini, so there's no need to manuallly append to it in our do_install_append(). Simply add our changes for our custom desktop background directly in the source file. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
3bdc32b9f4
commit
830c9ff629
|
|
@ -47,14 +47,6 @@ do_install_append() {
|
|||
# Add custom background image
|
||||
install -d ${D}${datadir}/weston
|
||||
install ${WORKDIR}/digi_background.png ${D}${datadir}/weston
|
||||
|
||||
# Customize weston ini file
|
||||
cat <<EOF >>${D}${sysconfdir}/xdg/weston/weston.ini
|
||||
|
||||
[shell]
|
||||
background-image=/usr/share/weston/digi_background.png
|
||||
background-type=scale-crop
|
||||
EOF
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/weston/digi_background.png"
|
||||
|
|
|
|||
|
|
@ -30,3 +30,8 @@ touchscreen_calibrator=true
|
|||
|
||||
[screen-share]
|
||||
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
|
||||
|
||||
# Digi: Set custom background
|
||||
[shell]
|
||||
background-image=/usr/share/weston/digi_background.png
|
||||
background-type=scale-crop
|
||||
|
|
|
|||
Loading…
Reference in New Issue