2025-03-05 19:53:19 +01:00
|
|
|
hostname = "diya"
|
|
|
|
|
|
|
|
do_install:append () {
|
|
|
|
cat << 'EOF' >> "${D}${sysconfdir}/profile"
|
|
|
|
export GDK_BACKEND=wayland
|
|
|
|
export XDG_RUNTIME_DIR=/home/$USER/.xdg
|
|
|
|
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
|
2025-03-08 00:46:56 +01:00
|
|
|
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
|
2025-03-05 19:53:19 +01:00
|
|
|
if [ ! -e "$XDG_RUNTIME_DIR" ]; then
|
|
|
|
mkdir -p "$XDG_RUNTIME_DIR"
|
|
|
|
fi
|
|
|
|
export TERM=xterm-256color
|
2025-03-08 00:46:56 +01:00
|
|
|
#if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
|
|
|
# eval $(dbus-launch --auto-syntax)
|
|
|
|
#fi
|
2025-03-05 19:53:19 +01:00
|
|
|
EOF
|
|
|
|
|
|
|
|
cat << EOF >> "${D}${sysconfdir}/profile"
|
|
|
|
export MACHINE=${MACHINE}
|
|
|
|
EOF
|
|
|
|
}
|