mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-01 05:31:02 +02:00
initial commit
This commit is contained in:
1
recipes-core/base-files/base-files_%.bbappend
Normal file
1
recipes-core/base-files/base-files_%.bbappend
Normal file
@ -0,0 +1 @@
|
||||
hostname = "diya"
|
7
recipes-core/dropbear/dropbear_%.bbappend
Normal file
7
recipes-core/dropbear/dropbear_%.bbappend
Normal file
@ -0,0 +1,7 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
SRC_URI += "file://default"
|
||||
|
||||
do_install:append () {
|
||||
rm -rf ${D}/etc/dropbear
|
||||
install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/dropbear
|
||||
}
|
2
recipes-core/dropbear/files/default
Normal file
2
recipes-core/dropbear/files/default
Normal file
@ -0,0 +1,2 @@
|
||||
DROPBEAR_EXTRA_ARGS="-w"
|
||||
DROPBEAR_RSAKEY_DIR=/home/diya/etc/dropbear
|
32
recipes-core/images/README.md
Normal file
32
recipes-core/images/README.md
Normal file
@ -0,0 +1,32 @@
|
||||
#webrtc-audio-processing \
|
||||
pulseaudio \
|
||||
pulseaudio-server \
|
||||
alsa-utils \
|
||||
pulseaudio-module-alsa-card \
|
||||
pulseaudio-module-alsa-source \
|
||||
pulseaudio-module-alsa-sink \
|
||||
pulseaudio-module-cli \
|
||||
pulseaudio-module-echo-cancel \
|
||||
pulseaudio-misc \
|
||||
i2c-tools \
|
||||
#tslib
|
||||
#tslib-tests
|
||||
#tslib-calibrate
|
||||
#tslib-uinput
|
||||
# v4l-utils
|
||||
evtest
|
||||
|
||||
# openvt -v -c 5 -- /usr/bin/weston --tty=/dev/tty5
|
||||
|
||||
mesa \
|
||||
mesa-demos \
|
||||
libgbm \
|
||||
|
||||
|
||||
dtdebug=1
|
||||
dtoverlay=vc4-kms-v3d
|
||||
dtoverlay=vc4-kms-dpi-generic,hactive=480,hfp=26,hsync=16,hbp=10
|
||||
dtparam=vactive=640,vfp=25,vsync=10,vbp=16
|
||||
dtparam=clock-frequency=32000000,rgb666-padhi
|
||||
|
||||
Diyas symbolise goodness and purity, and lighting them denotes dispelling darkness and going into light.
|
1
recipes-core/images/core-image-base.bbappend
Symbolic link
1
recipes-core/images/core-image-base.bbappend
Symbolic link
@ -0,0 +1 @@
|
||||
core-image-minimal.bbappend
|
40
recipes-core/images/core-image-minimal.bbappend
Normal file
40
recipes-core/images/core-image-minimal.bbappend
Normal file
@ -0,0 +1,40 @@
|
||||
inherit extrausers
|
||||
|
||||
KERNEL_DEVICETREE:append = "${@bb.utils.contains('RPI_USE_wS_28_DPI_LCD', '1', ' overlays/waveshare-28dpi-3b-4b.dtbo overlays/waveshare-28dpi-3b.dtbo overlays/waveshare-28dpi-4b.dtbo ', ' ', d)}"
|
||||
|
||||
|
||||
EXTRA_USERS_PARAMS = "usermod -p BJpK8ADNDLsGg root; \
|
||||
usermod -p 2Pe/4xyFxsokE diya; \
|
||||
usermod -a -G video diya; \
|
||||
usermod -a -G tty diya; \
|
||||
usermod -a -G input diya; \
|
||||
usermod -a -G dialout diya; \
|
||||
usermod -a -G audio diya; \
|
||||
usermod -a -G avahi diya \
|
||||
"
|
||||
IMAGE_BOOT_FILES:append = "fs_resize"
|
||||
# KERNEL_DEVICETREE:append = "${@bb.utils.contains('RPI_USE_wS_28_DPI_LCD', '1', ' overlays/vc4-kms-dpi-generic.dtbo overlays/waveshare-28dpi-3b-4b.dtbo overlays/waveshare-28dpi-3b.dtbo overlays/waveshare-28dpi-4b.dtbo ', ' ', d)}"
|
||||
|
||||
IMAGE_INSTALL:append = "mpg123 \
|
||||
libcurl \
|
||||
libdrm \
|
||||
libgbm \
|
||||
libgles2 \
|
||||
libegl-mesa \
|
||||
libgl-mesa \
|
||||
libglapi \
|
||||
glew \
|
||||
freeglut \
|
||||
mesa \
|
||||
libsdl2 \
|
||||
libsdl2-ttf \
|
||||
libsdl2-image \
|
||||
libsdl2-mixer \
|
||||
libsdl2-net \
|
||||
example \
|
||||
htop \
|
||||
opensmalltalk-cog-vm \
|
||||
waveshare-2.8-lcd \
|
||||
realtekfw \
|
||||
diya-overlay \
|
||||
"
|
3
recipes-core/init-ifupdown/init-ifupdown_%.bbappend
Normal file
3
recipes-core/init-ifupdown/init-ifupdown_%.bbappend
Normal file
@ -0,0 +1,3 @@
|
||||
do_install:append () {
|
||||
rm ${D}/etc/network/interfaces
|
||||
}
|
3
recipes-core/sysvinit/sysvinit-inittab_%.bbappend
Normal file
3
recipes-core/sysvinit/sysvinit-inittab_%.bbappend
Normal file
@ -0,0 +1,3 @@
|
||||
SERIAL_CONSOLES_CHECK = ""
|
||||
CURR_SERIAL_CONSOLES:="${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLES = "${@bb.utils.contains('RPI_USE_wS_28_DPI_LCD', '1', '', '${CURR_SERIAL_CONSOLES}', d)}"
|
Reference in New Issue
Block a user