1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 14:38:21 +01:00

fix: update default envars

This commit is contained in:
DanyLE 2023-07-29 00:41:07 +02:00
parent 1b520e6713
commit f14533c056

View File

@ -2,11 +2,11 @@ hostname = "diya"
do_install:append () { do_install:append () {
cat << 'EOF' >> "${D}${sysconfdir}/profile" cat << 'EOF' >> "${D}${sysconfdir}/profile"
# QT related setting
export GDK_BACKEND=wayland export GDK_BACKEND=wayland
export XDG_RUNTIME_DIR=/home/$USER/.xdg export XDG_RUNTIME_DIR=/home/$USER/.xdg
export XDG_CONFIG_HOME=/etc/xdg/ export XDG_CONFIG_HOME=/home/$USER/.config
export PATH=$PATH:/home/$USER/bin export PATH=$PATH:/home/$USER/bin:/home/$USER/.local/bin
export LD_LIBRARY_PATH=/home/$USER/lib:/home/$USER/.local/lib
if [ ! -e "$XDG_RUNTIME_DIR" ]; then if [ ! -e "$XDG_RUNTIME_DIR" ]; then
mkdir -p "$XDG_RUNTIME_DIR" mkdir -p "$XDG_RUNTIME_DIR"
fi fi