1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00
meta-rpi-diya/recipes-core/base-files/base-files_%.bbappend
2023-07-26 02:53:13 +02:00

14 lines
324 B
Plaintext

hostname = "diya"
do_install:append () {
cat << 'EOF' >> "${D}${sysconfdir}/profile"
# QT related setting
export QT_QPA_PLATFORM=wayland-egl
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
export TERM=xterm-256color
EOF
}