OSDN Git Service

Merge remote-tracking branch 'origin/dev' into dev-stable
[alterlinux/alterlinux.git] / default.conf
1 #!/usr/bin/env bash
2 #
3 # Yamada Hayao
4 # Twitter: @Hayao0819
5 # Email  : hayao@fascode.net
6 #
7 # (c) 2019-2021 Fascode Network.
8 #
9 # default.conf
10 #
11 # The script first reads this file
12 # You can change the default settings here
13 #
14 # Some values described here will be overridden by the arguments.
15 # If you want to prohibit overwriting with arguments, use the config of each channel.
16 # Create the configuration file (config) for each channel based on this file.
17 #
18 # This configuration file follows the bash syntax.
19 # Do not write any code other than the variable definitions specified in this script.
20 #
21
22 #-- simple options --#
23 # Force the argument to be passed to build.sh.
24 # It is possible to set all or more with the following variables without using this part,
25 # but it is also possible to easily force using this variable.
26 # !! WARNING !!
27 # This variable can only be used in default.conf.
28 # It does not apply even if it is used in the config of each channel.
29 DEFAULT_ARGUMENT=""
30
31 #-- archiso --#
32 # Architecture to build
33 # AlterISO currently supports x86_64 or i686
34 # Please note that the channels and kernels that can be used differ depending on the architecture.
35 # Change the default behavior of "-a" and "--arch".
36 arch=$(uname -m)
37
38 # OS name used for startup screen, etc.
39 # This setting cannot be changed by an argument.
40 os_name="Alter Linux"
41
42 # OS name used for the name of the image file.
43 # This setting cannot be changed by an argument.
44 iso_name=alterlinux
45
46 # Image file label
47 # This setting cannot be changed by an argument.
48 iso_label="ALTER_$(date +%Y%m%d)"
49
50 # Image file creator information
51 iso_publisher='Fascode Network <https://fascode.net>'
52
53 # Image name (not file name)
54 # This setting cannot be changed by an argument.
55 iso_application="${os_name} Live/Rescue CD"
56
57 # Image file version
58 # If gitversion (--gitversion) is enabled, Git's revision will be added to the end of this value.
59 # This setting cannot be changed by an argument.
60 iso_version=$(date +%Y.%m.%d)
61
62 # Directory name used for installation
63 # This setting cannot be changed by an argument.
64 install_dir=alter
65
66 # Work directory to execute pacstrap etc
67 # Change the default behavior of "-w" and "--work".
68 work_dir=work
69
70 # Directory to output image file and checksum
71 # Change the default behavior of "-o" and "--out".
72 out_dir=out
73
74 # Key used for signature
75 # Change the default behavior of "-g" and "--gpgkey".
76 # This setting cannot be changed by an argument.
77 gpg_key=
78
79
80 #-- Plymouth --#
81 # Set to true to enable plymouth.
82 # See help for a list of available values.
83 # Change the default behavior of "-b" and "--boot-splash".
84 boot_splash=false
85
86 # Set the theme name of plymouth.
87 theme_name="alter-logo"
88
89
90 #-- alteriso config --#
91
92 # Channel name to build by default
93 channel_name='xfce'
94
95 # Build the tarball with iso.
96 # Change the default behavior of "-k" and "--tarball".
97 tarball=false
98
99 # See the `mksquashfs` help for details on these items.
100 # This variable overrides each build option "-c" or "-t".
101 sfs_comp="xz"
102 sfs_comp_opt=""
103
104
105 # If set to true, include alteriso_info in iso root.
106 # This setting cannot be changed by an argument.
107 include_info=true
108
109
110 # Use a customized syslinux configuration file.
111 # syslinux.<arch> must exist in the channel's directory. It works like airootfs.
112 # If set to false, the channel syslinux configuration file will not be used.
113 # Use this setting for debugging only.
114 # This setting cannot be changed by an argument.
115 customized_syslinux=true
116
117 # Do not add rescue mode launch items
118 # If true, do not add items such as "without GUI" or "Safe graphics".
119 # This setting cannot be changed by an argument.
120 norescue_entry=false
121
122
123 # Add extra files
124 # Include files of share-extra channel
125 # This setting cannot be changed by an argument.
126 include_extra=false
127
128
129 #-- kernel config --#
130 # Set the kernel that live session use.
131 # Please don't set anything if you want to use normal kernel.
132 # See help for a list of available values.
133 # This setting cannot be changed by an argument.
134
135 # Kernel name
136 defaultkernel="zen"
137
138 #-- Live environment user --#
139
140 # Set the default live environment user name
141 # Channel developers should use this.
142 defaultusername='alter'
143
144 # Set the live environment user name
145 # Change the default behavior of "-u" and "--user".
146 # Overrides default settings
147 username="alter"
148
149 # Set the default live environment user name
150 # Channel developers should use this.
151 defaultpassword='alter'
152
153 # Set the live environment user password
154 # Change the default behavior of "-p" or "--password".
155 # Overrides default settings
156 password="alter"
157
158 # Set the user's default shell.
159 # This setting cannot be changed by an argument.
160 #
161 # The shell should be listed in /etc/shells, the package installed,
162 # and the appropriate configuration files in /etc/skel.
163 usershell="/bin/bash"
164
165 # Install memtest86
166 memtest86=true
167
168
169 #-- language config --#
170
171 # Sets the default locale for the live environment.
172 # You can also place a package list for that locale name and install packages specific to that locale.
173 locale_name="en"
174 locale_gen_name="en_US.UTF-8"
175 locale_version="gl"
176 locale_time="UTC"
177 locale_fullname="global"
178
179
180 #-- Script options --#
181
182 # Enable post-build cleaning.
183 # When enabled, airootfs in the working directory is deleted after squashfs is created.
184 # Change the default behavior of "-l" and "cleanup".
185 cleaning=false
186
187 # Set whether to check the build.
188 # If true, do not check. If false, confirm.
189 # Change the default behavior of "--noconfirm".
190 noconfirm=false
191
192 # Use mkalteriso written in a traditional shell script instead of the C ++ version of mkalteriso.
193 # There is no difference in functionality between the C ++ version and the shell version,
194 # but if you have problems with one, use the other.
195 # Change the default behavior of "--shmkalteriso".
196 shmkalteriso=false
197
198 # When set to true, colored output will not be performed.
199 # Change the default behavior of "--nocolor".
200 nocolor=false
201
202 # If set to true, do not check dependent packages.
203 # Change the default behavior of "--nodepend".
204 # Dependent packages are defined in the following array.
205 nodepend=false
206
207 # Do not check the current kernel or load kernel modules.
208 # Enabling this option can cause unexpected problems.
209 # Change the default behavior of "--noloopmod".
210 noloopmod=false
211
212 # Do not include the channel name in the filename of the image file.
213 # This setting cannot be changed by an argument.
214 nochname=false
215
216 # Do not check the version of the channel.
217 # Use this option only if you want to force builds of AlterISO2 or earlier channels.
218 # The structure of the channel is so different that it may lead to unexpected operation, and no guarantee can be given.
219 # In particular, the old -j option cannot be used and the japanese variable cannot be used in customize_airootfs.
220 # Change the default behavior of "--nochkver".
221 nochkver=false
222
223 # Do not include file about efi
224 # Change the default behavior of "--noefi".
225 # If noiso is true, it will be enabled automatically.
226 noefi=false
227
228 # Does not build the ISO image file.
229 # Be sure to set the tarball to true if you want this to be true.
230 # Change the default behavior of "--noiso".
231 noiso=false
232
233 # Do not install the AUR package.
234 #
235 # !! WARNING !!
236 # Many packages are installed from AUR, so specifying --noaur can cause problems.
237 # Use this option only for debugging purposes or if you understand what you are trying to do.
238 #
239 # Change the default behavior of "--noaur".
240 noaur=false
241
242 # Do not check pacman key
243 # This option allows the installation of unsigned packages, which reduces security.
244 # Use it for debugging only and never allow it permanently on channel config.
245 # Change the default behavior of "--nosigcheck".
246 nosigcheck=false
247
248 #-- Debug options --#
249
250 # Set debug mode.
251 # This setting can only be set to true or false.
252 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
253 # If this is enabled, a large amount of logs will be output.
254 # If debug is set to true, debug messages useful for channel development will be displayed.
255 bash_debug=false
256 debug=false
257
258 # If set to true, enable message debag.
259 # This option previously debugged the message output in build.sh, but now it debugs msg.sh.
260 # Change the default behavior of "--msgdebug".
261 msgdebug=false
262
263 # If set to true, enable git version
264 # Change the default behavior of "--gitversion".
265 # If the Git repository is not found, an error will be returned.
266 # Git version is generated with the following code.
267 # $ git rev-parse --short HEAD
268 gitversion=false
269
270
271 # List of packages required for build
272 # The following packages are checked to see if they are installed before running build.sh
273 # Also, wizard.sh will install it automatically.
274 #
275 # If you don't use Alter Linux repository, redefine this array in channel config
276 # and remove alterlinux related packages from dependence.
277 dependence=(
278     "alterlinux-keyring"
279 #   "archiso"
280     "arch-install-scripts"
281     "curl"
282     "cmake"
283     "dosfstools"
284     "git"
285     "libburn"
286     "libisofs"
287     "lz4"
288     "lzo"
289     "make"
290     "ninja"
291     "pyalpm"
292     "squashfs-tools"
293     "libisoburn"
294 #   "lynx"
295     "xz"
296     "zlib"
297     "zstd"
298     "qt5-base"
299 )