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