1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-19 11:28:21 +01:00
meta-rpi-diya/recipes-core/base-files/base-files_%.bbappend

20 lines
497 B
Plaintext
Raw Normal View History

hostname = "diya"
do_install:append () {
cat << 'EOF' >> "${D}${sysconfdir}/profile"
2023-07-26 15:02:10 +02:00
export GDK_BACKEND=wayland
2023-07-26 00:59:52 +02:00
export XDG_RUNTIME_DIR=/home/$USER/.xdg
2023-07-29 00:41:07 +02:00
export XDG_CONFIG_HOME=/home/$USER/.config
export PATH=$PATH:/home/$USER/bin:/home/$USER/.local/bin
export LD_LIBRARY_PATH=/home/$USER/lib:/home/$USER/.local/lib
2023-07-26 00:59:52 +02:00
if [ ! -e "$XDG_RUNTIME_DIR" ]; then
mkdir -p "$XDG_RUNTIME_DIR"
fi
2023-07-26 02:53:13 +02:00
export TERM=xterm-256color
EOF
2023-08-02 09:51:11 +02:00
cat << EOF >> "${D}${sysconfdir}/profile"
2023-08-02 10:08:52 +02:00
export MACHINE=${MACHINE}
2023-08-02 09:51:11 +02:00
EOF
2023-07-29 00:41:07 +02:00
}