Move common recipes to meta-diya, this layer contains hardware specific recipce

This commit is contained in:
DanyLE
2025-03-05 19:54:28 +01:00
parent daa23c88e6
commit 378386087e
46 changed files with 2 additions and 1813 deletions

View File

@ -1,25 +1,6 @@
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
if [ ! -e "$XDG_RUNTIME_DIR" ]; then
mkdir -p "$XDG_RUNTIME_DIR"
fi
export TERM=xterm-256color
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --auto-syntax)
fi
EOF
cat << EOF >> "${D}${sysconfdir}/profile"
export MACHINE=${MACHINE}
EOF
cat << EOF >> "${D}${sysconfdir}/modules"
uwe5622_bsp_sdio
sprdwl_ng