To allow for more examples to be merged in future, move the debian-ospack
example into its own directory.
Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
Usually to keep things clean we suggest users should keep
scripts in a separate directory.
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
The example user setup script calls adduser which in turn calls passwd
to ask the user for a password; which waits indefinitely for user
input. Since we set the password noninteractively, disable adduser
from asking the user to set a password.
Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006823
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
We declared the suite variable (defaulting to stretch), but only used it
for the filename and not for building the OS, which took a hardcoded
suite name.
Use the suite variable in OS building, changing the default to buster to
match the previous hard-coding.
Signed-off-by: Daniel Stone <daniels@collabora.com>