Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: Patrice Clement <monsieurp@g.o>
Subject: [gentoo-catalyst] [PATCH 3/3] example: document new options
Date: Sun, 27 Mar 2022 23:37:25
Message-Id: 20220327233712.1282001-3-mattst88@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 1/3] catalyst: support 3 new options by Matt Turner
1 From: Patrice Clement <monsieurp@g.o>
2
3 Closes: https://bugs.gentoo.org/236905
4 Signed-off-by: Patrice Clement <monsieurp@g.o>
5 ---
6 examples/stage4_template.spec | 34 ++++++++++++++++++++++++++++------
7 1 file changed, 28 insertions(+), 6 deletions(-)
8
9 diff --git a/examples/stage4_template.spec b/examples/stage4_template.spec
10 index 5fbf6a50..5d9a390c 100644
11 --- a/examples/stage4_template.spec
12 +++ b/examples/stage4_template.spec
13 @@ -171,15 +171,37 @@ stage4/root_overlay:
14 # stage4/xinitrc:
15 stage4/xinitrc:
16
17 -# This option is used to create non-root users on your CD. It takes a space
18 -# separated list of user names. These users will be added to the following
19 -# groups: users,wheel,audio,games,cdrom,usb
20 -# If this is specified in your spec file, then the first user is also the user
21 -# used to start X. Since this is not used on the release media, it is blank.
22 -# example:
23 +# This option is used to create groups. It takes a carriage-return separated
24 +# list of group names. For instance:
25 +# stage4/groups:
26 +# admin
27 +# web_group
28 +# sudo_group
29 +stage4/groups:
30 +
31 +# This option is used to create non-root users. It takes a carriage-return
32 +# separated list of user names. For instance:
33 +# stage4/users:
34 +# john.doe
35 +# foo.bar
36 +#
37 +# These users are NOT added to any specific group. You can specify one
38 +# or more groups to add the user(s) to using an equal sign followed by a comma
39 +# separated list. For instance:
40 # stage4/users:
41 +# john.doe=wheel,audio,cdrom
42 +# foo.bar=www,audio
43 stage4/users:
44
45 +# This option is used to copy an SSH public key into a user's .ssh directory.
46 +# Catalyst will copy the SSH public key in the ~/.ssh/authorized_keys file and
47 +# set the file permission to 0644. It takes a carriage-return separated list of
48 +# users with a equal sign followed by the SSH public key path. For instance:
49 +# stage4/ssh_public_keys:
50 +# john.doe=/path/to/johns/public/key/id_rsa.pub
51 +# foo.bar=/path/to/foos/public/key/id_ed25519.pub
52 +stage4/ssh_public_keys:
53 +
54 # This option is used to specify the number of kernels to build and also the
55 # labels that will be used by the CD bootloader to refer to each kernel image.
56 # example:
57 --
58 2.34.1