Skip to content

Commit

Permalink
base: lmp-image-common: Do not create the user's home directory
Browse files Browse the repository at this point in the history
The user home directory is created in runtime when it does not exist.

This will fix the remaining warning:
| WARNING: lmp-base-console-image-1.0-r0 do_image_ostree: Data in 'home' directory is not preserved by OSTree. Consider moving it under '/usr'
| home/fio
| home/fio/.bashrc
| home/fio/.profile

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Feb 5, 2024
1 parent 7b50a9d commit 351e0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-lmp-base/recipes-samples/images/lmp-image-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ python () {

EXTRA_USERS_PARAMS = "\
groupadd ${LMP_USER}; \
useradd -p '${LMP_PASSWORD}' ${LMP_USER}; \
useradd -M -p '${LMP_PASSWORD}' ${LMP_USER}; \
usermod -a -G sudo,users,audio,plugdev ${LMP_USER}; \
"

0 comments on commit 351e0c3

Please sign in to comment.