mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-20 03:48:22 +01:00
update envar
This commit is contained in:
parent
f2c7db1bb8
commit
167eac6cfb
@ -4,7 +4,10 @@ do_install:append () {
|
|||||||
cat << EOF >> "${D}${sysconfdir}/profile"
|
cat << EOF >> "${D}${sysconfdir}/profile"
|
||||||
# QT related setting
|
# QT related setting
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export QT_QPA_PLATFORM=wayland-egl
|
||||||
# export XDG_RUNTIME_DIR=/run/user/1000
|
export XDG_RUNTIME_DIR=/home/$USER/.xdg
|
||||||
# export QT_QPA_EGLFS_ROTATION=90
|
export PATH=$PATH:/home/$USER/bin
|
||||||
|
if [ ! -e "$XDG_RUNTIME_DIR" ]; then
|
||||||
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||||||
|
fi
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user