mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-27 11:08:21 +01:00
fix: update default envars
This commit is contained in:
parent
1b520e6713
commit
f14533c056
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user