1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-07-10 02:49:48 +02:00

fix: change default westion user to diya

This commit is contained in:
DanyLE 2023-07-24 10:07:03 +02:00
parent 3e77d3ea67
commit 252ddde464
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,9 @@ EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE diya; \
usermod -a -G dialout diya; \
usermod -a -G audio diya; \
usermod -a -G avahi diya; \
usermod -a -G render diya; \
usermod -a -G wayland diya; \
usermod -a -G weston diya; \
usermod -a -G sudo diya \
"
IMAGE_BOOT_FILES:append = "fs_resize"

View File

@ -0,0 +1,7 @@
# change default weston user to diya
do_install:append {
if [ -e ${D}/${sysconfdir}/init.d/weston ]; then
sed -i 's#WESTON_USER=weston#WESTON_USER=diya WESTON_GROUP=weston#' ${D}/${sysconfdir}/init.d/weston
fi
}