1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-26 18:58:20 +01:00

disable root password

This commit is contained in:
DanyLE 2023-07-10 19:27:12 +02:00
parent 9e75a87fb4
commit a4cb8479ff
2 changed files with 3 additions and 4 deletions

View File

@ -2,9 +2,8 @@ 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 -p BJpK8ADNDLsGg root; \
EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE diya; \
usermod -a -G video diya; \
usermod -a -G tty diya; \
usermod -a -G input diya; \

View File

@ -17,7 +17,7 @@ GROUPADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "-u 1000 -d /home/diya -r -s /bin/sh diya"
INITSCRIPT_NAME = "confd"
INITSCRIPT_PARAMS = "start 4 S ."
INITSCRIPT_PARAMS = "start 30 S ."
do_install() {
install -d ${D}/${sysconfdir}/init.d/