1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00
meta-rpi-diya/recipes-core/images/core-image-minimal.bbappend

55 lines
2.1 KiB
Plaintext
Raw Normal View History

2021-12-17 20:30:04 +01:00
inherit extrausers
2023-07-09 22:00:04 +02:00
KERNEL_DEVICETREE:append = "${@bb.utils.contains('RPI_USE_wS_28_DPI_LCD', '1', ' overlays/dpi24.dtbo overlays/vc4-kms-dpi-generic.dtbo overlays/ads1115-i2c-gpio.dtbo overlays/ads1115-i2c-gpio.dtbo overlays/vc4-kms-DPI-28inch.dtbo overlays/waveshare-28dpi-3b-4b.dtbo overlays/waveshare-28dpi-3b.dtbo overlays/waveshare-28dpi-4b.dtbo ', ' ', d)}"
2021-12-17 20:30:04 +01:00
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; \
2023-07-09 23:09:37 +02:00
usermod -a -G dialout diya; \
2023-07-10 10:19:19 +02:00
usermod -a -G audio diya; \
2023-07-10 13:12:50 +02:00
usermod -a -G avahi diya; \
2023-07-09 23:09:37 +02:00
usermod -a -G sudo diya \
2021-12-17 20:30:04 +01:00
"
IMAGE_BOOT_FILES:append = "fs_resize"
IMAGE_INSTALL:append = "libcurl \
2021-12-17 20:30:04 +01:00
libdrm \
libgbm \
libgles2 \
libegl-mesa \
libgl-mesa \
libglapi \
2023-07-09 22:52:18 +02:00
libudev \
2023-07-09 23:09:37 +02:00
udev \
2021-12-17 20:30:04 +01:00
glew \
freetype \
2021-12-17 20:30:04 +01:00
freeglut \
mesa \
2023-07-09 23:09:37 +02:00
sudo \
2021-12-17 20:30:04 +01:00
libsdl2 \
libsdl2-ttf \
libsdl2-image \
libsdl2-mixer \
libsdl2-net \
example \
htop \
waveshare-2.8-lcd \
realtekfw \
diya-overlay \
2023-07-07 15:04:13 +02:00
i2c-tools \
bash \
nano \
2023-07-08 21:37:09 +02:00
wpa-supplicant \
2023-07-09 22:03:35 +02:00
evtest \
2023-07-09 16:48:02 +02:00
raspi-gpio \
"
2023-07-10 15:16:38 +02:00
patch_rootfs () {
2023-07-10 16:08:11 +02:00
cp -a ${IMAGE_ROOTFS}/etc ${IMAGE_ROOTFS}/var/
2023-07-10 15:16:38 +02:00
}
IMAGE_POSTPROCESS_COMMAND += " patch_rootfs "
2023-07-07 11:26:20 +02:00