14 Commits

Author SHA1 Message Date
Christopher Obbard
e794b20757 doc: examples: Upgrade debian-ospack example recipe to bookworm
Bullseye is outdated. Upgrade to bookwork.

Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
2025-08-05 16:15:46 +01:00
Christopher Obbard
e09ded2ed8 doc: examples: Move debian-ospack example to own directory
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>
2025-08-05 12:18:30 +01:00
Christopher Obbard
cc75f7df3c doc/examples: Don't install packages missing from bullseye
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
67aeea3424 doc/examples: Don't use chroot to set hostname
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
44fe73c3e9 doc/examples: Keep consistency with whitespace modifiers
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
1415971122 doc/examples: Reformat array to use multiple lines
Linebreaks are cheap; they also allow us to see changes in git history
a lot cleaner.

Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
2d0ed37410 doc/examples: Don't enable contrib and non-free
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
a909725e1b doc/examples: Set suite to bullseye
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
578d09f346 doc/examples: Rename example to debian-example-ospack
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
19a8ee6232 doc/examples: Use .tar.gz extension instead of .tgz
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
6be14af793 doc/examples: Move setup-user.sh into scripts directory
Usually to keep things clean we suggest users should keep
scripts in a separate directory.

Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2022-10-27 10:45:19 +01:00
Christopher Obbard
c8c5075853 doc/examples: Don't wait for user to enter password
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>
2022-10-27 10:45:10 +01:00
Daniel Stone
e5129ac453 doc/examples: Actually use suite variable
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>
2019-04-16 15:48:28 +02:00
Ana Guerrero Lopez
cd486ecb6d Add doc/examples with an example
Signed-off-by: Ana Guerrero Lopez <ana.guerrero@collabora.com>
2018-06-14 10:53:25 +02:00