iPXE
branding.h
Go to the documentation of this file.
1 #ifndef CONFIG_BRANDING_H
2 #define CONFIG_BRANDING_H
3 
4 /** @file
5  *
6  * Branding configuration
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 #include <config/defaults.h>
14 
15 /*
16  * Branding
17  *
18  * Vendors may use these strings to add their own branding to iPXE.
19  * PRODUCT_NAME is displayed prior to any iPXE branding in startup
20  * messages, and PRODUCT_SHORT_NAME is used where a brief product
21  * label is required (e.g. in BIOS boot selection menus).
22  *
23  * To minimise end-user confusion, it's probably a good idea to either
24  * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
25  * "iPXE".
26  *
27  */
28 #define PRODUCT_NAME ""
29 #define PRODUCT_SHORT_NAME "iPXE"
30 #define PRODUCT_URI "https://ipxe.org"
31 
32 /*
33  * Tag line
34  *
35  * If your PRODUCT_SHORT_NAME is longer than the four characters used
36  * by "iPXE", then the standard tag line "Open Source Network Boot
37  * Firmware" is unlikely to fit neatly onto the screen.
38  */
39 #define PRODUCT_TAG_LINE "Open Source Network Boot Firmware"
40 
41 /*
42  * Error messages
43  *
44  * iPXE error messages comprise a summary error message
45  * (e.g. "Permission denied") and a 32-bit error number. This number
46  * is incorporated into an error URI such as
47  *
48  * "No such file or directory (https://ipxe.org/2d0c613b)"
49  *
50  * or
51  *
52  * "Operation not supported (https://ipxe.org/3c092003)"
53  *
54  * Users may browse to the URI within the error message, which is
55  * provided by a database running on the iPXE web site
56  * (https://ipxe.org). This database provides details for all possible
57  * errors generated by iPXE, including:
58  *
59  * - the detailed error message (e.g. "Not an OCSP signing
60  * certificate") to complement the summary message (e.g. "Permission
61  * denied") which is compiled into the iPXE binary.
62  *
63  * - an instruction to the user to upgrade, if the error cannot be
64  * generated by the latest version of iPXE.
65  *
66  * - hints on how to fix the error (e.g. "This error indicates that
67  * the file was not found on the TFTP server. Check that you can
68  * retrieve the file using an alternative TFTP client, such as
69  * tftp-hpa on Linux.")
70  *
71  * - details of which source file within the iPXE codebase generated
72  * the error.
73  *
74  * - a direct link to the line(s) of code which generated the error.
75  *
76  * If you have a customer support team and would like your customers
77  * to contact your support team for all problems, instead of using the
78  * existing support infrastructure provided by https://ipxe.org, then
79  * you may define a custom URI to be included within error messages.
80  *
81  * Note that the custom URI is a printf() format string which must
82  * include a format specifier for the 32-bit error number.
83  */
84 #define PRODUCT_ERROR_URI "https://ipxe.org/%08x"
85 
86 /*
87  * Command help messages
88  *
89  * iPXE command help messages include a URI constructed from the
90  * command name, such as
91  *
92  * "See https://ipxe.org/cmd/vcreate for further information"
93  *
94  * The iPXE web site includes documentation for the commands provided
95  * by the iPXE shell, including:
96  *
97  * - details of the command syntax (e.g. "vcreate --tag <tag>
98  * [--priority <priority>] <trunk interface>").
99  *
100  * - example usages of the command (e.g. "vcreate --tag 123 net0")
101  *
102  * - a formal description of the command (e.g. "Create a VLAN network
103  * interface on an existing trunk network interface. The new network
104  * interface will be named by appending a hyphen and the VLAN tag
105  * value to the trunk network interface name.")
106  *
107  * - details of the possible exit statuses from the command.
108  *
109  * - links to documentation for related commands (e.g. "vdestroy")
110  *
111  * - links to documentation for relevant build options (e.g. "VLAN_CMD").
112  *
113  * - general hints and tips on using the command.
114  *
115  * If you want to provide your own documentation for all of the
116  * commands provided by the iPXE shell, rather than using the existing
117  * support infrastructure provided by https://ipxe.org, then you may
118  * define a custom URI to be included within command help messages.
119  *
120  * Note that the custom URI is a printf() format string which must
121  * include a format specifier for the command name.
122  *
123  * [ Please also note that the existing documentation is licensed
124  * under Creative Commons terms which require attribution to the
125  * iPXE project and prohibit the alteration or removal of any
126  * references to "iPXE". ]
127  */
128 #define PRODUCT_COMMAND_URI "https://ipxe.org/cmd/%s"
129 
130 /*
131  * Setting help messages
132  *
133  * iPXE setting help messages include a URI constructed from the
134  * setting name, such as
135  *
136  * "https://ipxe.org/cfg/initiator-iqn"
137  *
138  * The iPXE web site includes documentation for the settings used by
139  * iPXE, including:
140  *
141  * - details of the corresponding DHCP option number.
142  *
143  * - details of the corresponding ISC dhcpd option name.
144  *
145  * - examples of using the setting from the iPXE command line, or in
146  * iPXE scripts.
147  *
148  * - examples of configuring the setting via a DHCP server.
149  *
150  * - a formal description of the setting.
151  *
152  * - links to documentation for related settings.
153  *
154  * - links to documentation for relevant build options.
155  *
156  * - general notes about the setting.
157  *
158  * If you want to provide your own documentation for all of the
159  * settings used by iPXE, rather than using the existing support
160  * infrastructure provided by https://ipxe.org, then you may define a
161  * custom URI to be included within setting help messages.
162  *
163  * Note that the custom URI is a printf() format string which must
164  * include a format specifier for the setting name.
165  *
166  * [ Please also note that the existing documentation is licensed
167  * under Creative Commons terms which require attribution to the
168  * iPXE project and prohibit the alteration or removal of any
169  * references to "iPXE". ]
170  */
171 #define PRODUCT_SETTING_URI "https://ipxe.org/cfg/%s"
172 
173 /*
174  * Product security name suffix
175  *
176  * Vendors creating signed iPXE binaries must set this to a non-empty
177  * value (e.g. "2pint").
178  */
179 #define PRODUCT_SBAT_NAME ""
180 
181 /*
182  * Product security generation
183  *
184  * Vendors creating signed iPXE binaries must set this to a non-zero
185  * value, and must increment the value whenever a Secure Boot exploit
186  * is fixed (unless the upstream IPXE_SBAT_GENERATION has already been
187  * incremented as part of that fix).
188  */
189 #define PRODUCT_SBAT_GENERATION 0
190 
191 #include <config/local/branding.h>
192 
193 #endif /* CONFIG_BRANDING_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
FILE_SECBOOT(PERMITTED)