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"
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"
96 #-- alteriso config --#
98 # Channel name to build by default
101 # Build the tarball with iso.
102 # Change the default behavior of "-k" and "--tarball".
105 # See the `mksquashfs` help for details on these items.
106 # This variable overrides each build option "-c" or "-t".
111 # If set to true, include alteriso_info in iso root.
112 # This setting cannot be changed by an argument.
116 # Use a customized syslinux configuration file.
117 # syslinux.<arch> must exist in the channel's directory. It works like airootfs.
118 # If set to false, the channel syslinux configuration file will not be used.
119 # Use this setting for debugging only.
120 # # This setting cannot be changed by an argument.
121 customized_syslinux=true
124 #-- kernel config --#
125 # Set the kernel that live session use.
126 # Please don't set anything if you want to use normal kernel.
127 # See help for a list of available values.
128 # Change the default behavior of "-k" and "--kernel".
133 # Kernel package name
134 kernel_package="linux-zen"
136 # Kernel header package name
137 kernel_headers_packages="linux-zen-headers"
140 kernel_filename="vmlinuz-linux-zen"
142 # mkinitcpio profile name (mkinitcpio -p <name>)
143 kernel_mkinitcpio_profile="linux-zen"
146 #-- Live environment user --#
148 # Set the default live environment user name
149 # Channel developers should use this.
150 defaultusername='alter'
152 # Set the live environment user name
153 # Change the default behavior of "-u" and "--user".
154 # Overrides default settings
157 # Set the live environment user password
158 # Change the default behavior of "-p" or "--password".
161 # Set the user's default shell.
162 # This setting cannot be changed by an argument.
164 # The shell should be listed in /etc/shells, the package installed,
165 # and the appropriate configuration files in /etc/skel.
166 usershell="/bin/bash"
169 #-- language config --#
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.
174 locale_gen_name="en_US.UTF-8"
177 locale_fullname="global"
180 #-- Script options --#
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".
187 # Set whether to check the build.
188 # If true, do not check. If false, confirm.
189 # Change the default behavior of "--noconfirm".
192 # Use mkalteriso written in a traditional shell script
193 # instead of the C ++ version of mkalteriso.
194 # Change the default behavior of "--shmkalteriso".
197 # When set to true, colored output will not be performed.
198 # Change the default behavior of "--nocolor".
201 # If set to true, do not check dependent packages.
202 # Change the default behavior of "--nodepend".
203 # Dependent packages are defined in the following array.
206 # Do not check the current kernel or load kernel modules.
207 # Change the default behavior of "--noloopmod".
210 # Do not include the channel name in the filename of the image file.
211 # This setting cannot be changed by an argument.
214 # Do not check the version of the channel.
215 # Use this option only if you want to force builds of AlterISO2 or earlier channels.
216 # The structure of the channel is so different that it may lead to unexpected operation, and no guarantee can be given.
217 # In particular, the old -j option cannot be used and the japanese variable cannot be used in customize_airootfs.
218 # Change the default behavior of "--nochkver".
221 # Does not build the ISO image file.
222 # Be sure to set the tarball to true if you want this to be true.
223 # Change the default behavior of "--noiso".
226 # Do not install the AUR package.
227 # Change the default behavior of "--noaur".
230 #-- Debug options --#
233 # This setting can only be set to true or false.
234 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
235 # If debug is set to true, debug messages useful for channel development will be displayed.
239 # If set to true, enable message debag.
240 # Change the default behavior of "--msgdebug".
243 # If set to true, enable git version
244 # Change the default behavior of "--gitversion".
245 # Git version is generated with the following code
246 # $ git rev-parse --short HEAD
250 # List of packages required for build
251 # The following packages are checked to see if they are installed before running build.sh
252 # Also, wizard.sh will install it automatically.
254 # If you don't use Alter Linux repository, redefine this array in channel config
255 # and remove alterlinux related packages from dependence.
259 "arch-install-scripts"