Re: Yocto build to add root password <andy.pont@...>

Mauro wrote...

Actually I'm using:

EXTRA_USERS_PARAMS = " usermod -p '$(openssl passwd -6 myrootpassword)' root;"


But at this point I'm not sure if ${ROOT_PASSWORD} works (I'm using the password wrote on the command, not passed by variable).
Switching to the ‘$(openssl …)’ form has worked, even using the ${ROOT_PASSWORD} variable.

Thanks for your help!


Join to automatically receive all group messages.