mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-08 06:28:23 +01:00
59 lines
2.3 KiB
Plaintext
59 lines
2.3 KiB
Plaintext
inherit extrausers
|
|
|
|
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)}"
|
|
|
|
|
|
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; \
|
|
usermod -a -G sudo diya \
|
|
"
|
|
IMAGE_BOOT_FILES:append = "fs_resize"
|
|
|
|
IMAGE_INSTALL:append = "libcurl \
|
|
libdrm \
|
|
libgbm \
|
|
libgles2 \
|
|
libegl-mesa \
|
|
libgl-mesa \
|
|
libglapi \
|
|
libudev \
|
|
udev \
|
|
glew \
|
|
freetype \
|
|
freeglut \
|
|
mesa \
|
|
sudo \
|
|
libsdl2 \
|
|
libsdl2-ttf \
|
|
libsdl2-image \
|
|
libsdl2-mixer \
|
|
libsdl2-net \
|
|
example \
|
|
htop \
|
|
waveshare-2.8-lcd \
|
|
realtekfw \
|
|
diya-overlay \
|
|
i2c-tools \
|
|
bash \
|
|
nano \
|
|
wpa-supplicant \
|
|
evtest \
|
|
raspi-gpio \
|
|
"
|
|
patch_rootfs () {
|
|
install -d ${IMAGE_ROOTFS}/var/etc
|
|
install -m 0644 ${IMAGE_ROOTFS}/etc/passwd ${IMAGE_ROOTFS}/var/etc/
|
|
install -m 0644 ${IMAGE_ROOTFS}/etc/group ${IMAGE_ROOTFS}/var/etc/
|
|
rm ${IMAGE_ROOTFS}/etc/passwd
|
|
rm ${IMAGE_ROOTFS}/etc/group
|
|
}
|
|
|
|
IMAGE_POSTPROCESS_COMMAND += " patch_rootfs "
|
|
|