Skip to content

Commit

Permalink
recipes-core/images/core-image-minimal.bbappend: Use encrypted root p…
Browse files Browse the repository at this point in the history
…assword

Signed-off-by: Pawel Langowski <[email protected]>
  • Loading branch information
PLangowski committed Oct 30, 2024
1 parent 181709d commit 26663e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions recipes-core/images/core-image-minimal.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ IMAGE_INSTALL:append = " \
locale-base-en-us \
"

INHERIT += "extrausers"
RTE_ROOT_PWD = "meta-rte"
EXTRA_USERS_PARAMS = "usermod -P ${RTE_ROOT_PWD} root;"
inherit extrausers

# Result of `printf "%q" $(mkpasswd -m sha256crypt meta-rte)`
RTE_ROOT_PWD = "\$5\$8XCtHnklsZSCLoAi\$4lHnmijhTjSPuuvddA9ktyVa5X4nAOXS9M4AWqOrnt1"
EXTRA_USERS_PARAMS = "usermod -p '${RTE_ROOT_PWD}' root"

0 comments on commit 26663e1

Please sign in to comment.