diff --git a/packages/other/wayland/conf.d/wayland b/packages/other/wayland/conf.d/wayland new file mode 100644 index 0000000000..bdea77bf79 --- /dev/null +++ b/packages/other/wayland/conf.d/wayland @@ -0,0 +1,11 @@ +################################################################################ +# Wayland environment variables. +# +# This file contains non-OpenELEC evironment variables as well as OpenELEC +# evironment variables that are not user defined. +################################################################################ + +#------------------------------------------------------------------------------- +# Wayland background image +#------------------------------------------------------------------------------- +OE_WAYLAND_BACKGROUND=/usr/share/wayland/background.png diff --git a/packages/other/wayland/install b/packages/other/wayland/install index b2497c2a3a..ad573f8a26 100755 --- a/packages/other/wayland/install +++ b/packages/other/wayland/install @@ -20,5 +20,11 @@ cp -PR $PKG_BUILD/screenshot $INSTALL/usr/bin cp -PR $PKG_BUILD/terminal $INSTALL/usr/bin cp -PR $PKG_BUILD/wayland-system-compositor $INSTALL/usr/bin +if [ -f $PROJECT_DIR/$PROJECT/background/background.png ]; then + mkdir -p $INSTALL/usr/share/wayland/ + cp -PR $PROJECT_DIR/$PROJECT/background/background.png \ + $INSTALL/usr/share/wayland/ +fi + mkdir -p $INSTALL/lib/udev/rules.d cp -PR $PKG_BUILD/70-wayland.rules $INSTALL/lib/udev/rules.d diff --git a/projects/wayland/background/background.png b/projects/wayland/background/background.png new file mode 100644 index 0000000000..9a826d30b2 Binary files /dev/null and b/projects/wayland/background/background.png differ