5 # Email : hayao@fascode.net
7 # (c) 2019-2020 Fascode Network.
11 # The script first reads this file
12 # You can change the default settings here
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.
18 # This configuration file follows the bash syntax.
19 # Do not write any code other than the variable definitions specified in this script.
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.
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.
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".
38 # OS name used for startup screen, etc.
39 # This setting cannot be changed by an argument.
42 # OS name used for the name of the image file.
43 # This setting cannot be changed by an argument.
47 # This setting cannot be changed by an argument.
48 iso_label="ALTER_$(date +%Y%m%d)"
50 # Image file creator information
51 iso_publisher='Fascode Network <https://fascode.net>'
53 # Image name (not file name)
54 # This setting cannot be changed by an argument.
55 iso_application="${os_name} Live/Rescue CD"
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)
62 # Directory name used for installation
63 # This setting cannot be changed by an argument.
66 # Work directory to execute pacstrap etc
67 # Change the default behavior of "-w" and "--work".
70 # Directory to output image file and checksum
71 # Change the default behavior of "-o" and "--out".
74 # Key used for signature
75 # Change the default behavior of "-g" and "--gpgkey".
76 # This setting cannot be changed by an argument.
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".
86 # Set the theme name of plymouth.
87 theme_name="alter-logo"
90 #-- alteriso config --#
92 # Channel name to build by default
95 # Build the tarball with iso.
96 # Change the default behavior of "-k" and "--tarball".
99 # See the `mksquashfs` help for details on these items.
100 # This variable overrides each build option "-c" or "-t".
105 # If set to true, include alteriso_info in iso root.
106 # This setting cannot be changed by an argument.
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
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.
123 #-- kernel config --#
124 # Set the kernel that live session use.
125 # Please don't set anything if you want to use normal kernel.
126 # See help for a list of available values.
127 # This setting cannot be changed by an argument.
132 #-- Live environment user --#
134 # Set the default live environment user name
135 # Channel developers should use this.
136 defaultusername='alter'
138 # Set the live environment user name
139 # Change the default behavior of "-u" and "--user".
140 # Overrides default settings
143 # Set the default live environment user name
144 # Channel developers should use this.
145 defaultpassword='alter'
147 # Set the live environment user password
148 # Change the default behavior of "-p" or "--password".
149 # Overrides default settings
152 # Set the user's default shell.
153 # This setting cannot be changed by an argument.
155 # The shell should be listed in /etc/shells, the package installed,
156 # and the appropriate configuration files in /etc/skel.
157 usershell="/bin/bash"
160 #-- language config --#
162 # Sets the default locale for the live environment.
163 # You can also place a package list for that locale name and install packages specific to that locale.
165 locale_gen_name="en_US.UTF-8"
168 locale_fullname="global"
171 #-- Script options --#
173 # Enable post-build cleaning.
174 # When enabled, airootfs in the working directory is deleted after squashfs is created.
175 # Change the default behavior of "-l" and "cleanup".
178 # Set whether to check the build.
179 # If true, do not check. If false, confirm.
180 # Change the default behavior of "--noconfirm".
183 # Use mkalteriso written in a traditional shell script
184 # instead of the C ++ version of mkalteriso.
185 # Change the default behavior of "--shmkalteriso".
188 # When set to true, colored output will not be performed.
189 # Change the default behavior of "--nocolor".
192 # If set to true, do not check dependent packages.
193 # Change the default behavior of "--nodepend".
194 # Dependent packages are defined in the following array.
197 # Do not check the current kernel or load kernel modules.
198 # Change the default behavior of "--noloopmod".
201 # Do not include the channel name in the filename of the image file.
202 # This setting cannot be changed by an argument.
205 # Do not check the version of the channel.
206 # Use this option only if you want to force builds of AlterISO2 or earlier channels.
207 # The structure of the channel is so different that it may lead to unexpected operation, and no guarantee can be given.
208 # In particular, the old -j option cannot be used and the japanese variable cannot be used in customize_airootfs.
209 # Change the default behavior of "--nochkver".
212 # Do not include file about efi
213 # Change the default behavior of "--noefi".
214 # If noiso is true, it will be enabled automatically.
217 # Does not build the ISO image file.
218 # Be sure to set the tarball to true if you want this to be true.
219 # Change the default behavior of "--noiso".
222 # Do not install the AUR package.
223 # Change the default behavior of "--noaur".
226 #-- Debug options --#
229 # This setting can only be set to true or false.
230 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
231 # If debug is set to true, debug messages useful for channel development will be displayed.
235 # If set to true, enable message debag.
236 # Change the default behavior of "--msgdebug".
239 # If set to true, enable git version
240 # Change the default behavior of "--gitversion".
241 # Git version is generated with the following code
242 # $ git rev-parse --short HEAD
246 # List of packages required for build
247 # The following packages are checked to see if they are installed before running build.sh
248 # Also, wizard.sh will install it automatically.
250 # If you don't use Alter Linux repository, redefine this array in channel config
251 # and remove alterlinux related packages from dependence.
255 "arch-install-scripts"