2023-07-19 22:45:13 +02:00
|
|
|
hostname = "diya"
|
|
|
|
|
|
|
|
do_install:append () {
|
2023-07-26 01:39:30 +02:00
|
|
|
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
|
2023-07-19 22:45:13 +02:00
|
|
|
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
|
|
|
}
|