mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
fix: change default westion user to diya
This commit is contained in:
parent
3e77d3ea67
commit
252ddde464
@ -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"
|
||||
|
7
recipes-graphics/wayland/weston-init.bbappend
Normal file
7
recipes-graphics/wayland/weston-init.bbappend
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user