OSDN Git Service

[update] : Added include_info
[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-2020 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 # Set the package name of the plymouth theme.
90 # Install only if plymouth is enabled.
91 # If it is not packaged, leave this item empty and place those files in airootfs.
92 # This setting cannot be changed by an argument.
93 theme_pkg="plymouth-theme-alter-logo-git"
94
95
96 #-- alteriso config --#
97
98 # Channel name to build by default
99 channel_name='xfce'
100
101 # Build the tarball with iso.
102 # Change the default behavior of "-k" and "--tarball".
103 tarball=false
104
105 # See the `mksquashfs` help for details on these items.
106 # This variable overrides each build option "-c" or "-t".
107 sfs_comp="zstd"
108 sfs_comp_opt=""
109
110
111 # If set to true, include alteriso_info in iso root.
112 # This setting cannot be changed by an argument.
113 include_info=true
114
115
116 #-- kernel config --#
117
118 # Set the kernel that live session use.
119 # Please don't set anything if you want to use normal kernel.
120 # See help for a list of available values.
121 # Change the default behavior of "-k" and "--kernel".
122 kernel="zen"
123 kernel_package="linux-zen"
124 kernel_headers_packages="linux-zen-headers"
125 kernel_filename="vmlinuz-linux-zen"
126 kernel_mkinitcpio_profile="linux-zen"
127
128
129 #-- Live environment user --#
130
131 # Set the default live environment user name
132 # Channel developers should use this.
133 defaultusername='alter'
134
135 # Set the live environment user name
136 # Change the default behavior of "-u" and "--user".
137 # Overrides default settings
138 username="alter"
139
140 # Set the live environment user password
141 # Change the default behavior of "-p" or "--password".
142 password="alter"
143
144 # Set the user's default shell.
145 # This setting cannot be changed by an argument.
146 #
147 # The shell should be listed in /etc/shells, the package installed, 
148 # and the appropriate configuration files in /etc/skel.
149 usershell="/bin/bash"
150
151
152 #-- language config --#
153
154 # Sets the default locale for the live environment.
155 # You can also place a package list for that locale name and install packages specific to that locale.
156 locale_name="en"
157 locale_gen_name="en_US.UTF-8"
158 locale_version="gl"
159 locale_time="UTC"
160 locale_fullname="global"
161
162
163 #-- Script options --#
164
165 # Enable post-build cleaning.
166 # When enabled, airootfs in the working directory is deleted after squashfs is created.
167 # Change the default behavior of "-l" and "cleanup".
168 cleaning=false
169
170 # Set whether to check the build.
171 # If true, do not check. If false, confirm.
172 # Change the default behavior of "--noconfirm".
173 noconfirm=false
174
175 # Use mkalteriso written in a traditional shell script 
176 # instead of the C ++ version of mkalteriso.
177 # Change the default behavior of "--shmkalteriso".
178 shmkalteriso=false
179
180 # When set to true, colored output will not be performed.
181 # Change the default behavior of "--nocolor".
182 nocolor=false
183
184 # If set to true, do not check dependent packages.
185 # Change the default behavior of "--nodepend".
186 # Dependent packages are defined in the following array.
187 nodepend=false
188
189 # Do not check the current kernel or load kernel modules.
190 # Change the default behavior of "--noloopmod".
191 noloopmod=false
192
193 # Do not include the channel name in the filename of the image file.
194 # This setting cannot be changed by an argument.
195 nochname=false
196
197 # Do not check the version of the channel.
198 # Use this option only if you want to force builds of AlterISO2 or earlier channels.
199 # The structure of the channel is so different that it may lead to unexpected operation, and no guarantee can be given.
200 # In particular, the old -j option cannot be used and the japanese variable cannot be used in customize_airootfs.
201 # Change the default behavior of "--nochkver".
202 nochkver=false
203
204 # Does not build the ISO image file.
205 # Be sure to set the tarball to true if you want this to be true.
206 # Change the default behavior of "--noiso".
207 noiso=false
208
209 # Do not install the AUR package.
210 # Change the default behavior of "--noaur".
211 noaur=false
212
213 #-- Debug options --#
214
215 # Set debug mode.
216 # This setting can only be set to true or false.
217 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
218 # If debug is set to true, debug messages useful for channel development will be displayed.
219 bash_debug=false
220 debug=false
221
222 # If set to true, enable message debag.
223 # Change the default behavior of "--msgdebug".
224 msgdebug=false
225
226 # If set to true, enable git version
227 # Change the default behavior of "--gitversion".
228 # Git version is generated with the following code
229 # $ git rev-parse --short HEAD
230 gitversion=false
231
232
233 # List of packages required for build
234 # The following packages are checked to see if they are installed before running build.sh
235 # Also, wizard.sh will install it automatically.
236 #
237 # If you don't use Alter Linux repository, redefine this array in channel config
238 # and remove alterlinux related packages from dependence.
239 dependence=(
240     "alterlinux-keyring"
241 #   "archiso"
242     "arch-install-scripts"
243     "curl"
244     "cmake"
245     "dosfstools"
246     "git"
247     "libburn"
248     "libisofs"
249     "lz4"
250     "lzo"
251     "make"
252     "ninja"
253     "squashfs-tools"
254     "libisoburn"
255  #  "lynx"
256     "xz"
257     "zlib"
258     "zstd"
259     "qt5-base"
260 )
261