From 167eac6cfb5762e07ae6e8f406fa6101d77b9ad2 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 26 Jul 2023 00:59:52 +0200 Subject: [PATCH] update envar --- recipes-core/base-files/base-files_%.bbappend | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-core/base-files/base-files_%.bbappend b/recipes-core/base-files/base-files_%.bbappend index fc843ea..291e455 100644 --- a/recipes-core/base-files/base-files_%.bbappend +++ b/recipes-core/base-files/base-files_%.bbappend @@ -4,7 +4,10 @@ do_install:append () { cat << EOF >> "${D}${sysconfdir}/profile" # QT related setting export QT_QPA_PLATFORM=wayland-egl -# export XDG_RUNTIME_DIR=/run/user/1000 -# export QT_QPA_EGLFS_ROTATION=90 +export XDG_RUNTIME_DIR=/home/$USER/.xdg +export PATH=$PATH:/home/$USER/bin +if [ ! -e "$XDG_RUNTIME_DIR" ]; then + mkdir -p "$XDG_RUNTIME_DIR" +fi EOF } \ No newline at end of file