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.
24 # Architecture to build
25 # AlterISO currently supports x86_64 or i686
26 # Please note that the channels and kernels that can be used differ depending on the architecture.
27 # Change the default behavior of "-a" and "--arch".
30 # OS name used for startup screen, etc.
31 # This setting cannot be changed by an argument.
34 # OS name used for the name of the image file.
35 # This setting cannot be changed by an argument.
39 # This setting cannot be changed by an argument.
40 iso_label="ALTER_$(date +%Y%m%d)"
42 # Image file creator information
43 iso_publisher='Fascode Network <https://fascode.net>'
45 # Image name (not file name)
46 # This setting cannot be changed by an argument.
47 iso_application="${os_name} Live/Rescue CD"
50 # If gitversion (--gitversion) is enabled, Git's revision will be added to the end of this value.
51 # This setting cannot be changed by an argument.
52 iso_version=$(date +%Y.%m.%d)
54 # Directory name used for installation
55 # This setting cannot be changed by an argument.
58 # Work directory to execute pacstrap etc
59 # Change the default behavior of "-w" and "--work".
62 # Directory to output image file and checksum
63 # Change the default behavior of "-o" and "--out".
66 # Key used for signature
67 # Change the default behavior of "-g" and "--gpgkey".
68 # This setting cannot be changed by an argument.
73 # Set to true to enable plymouth.
74 # See help for a list of available values.
75 # Change the default behavior of "-b" and "--boot-splash".
78 # Set the theme name of plymouth.
79 theme_name="alter-logo"
81 # Set the package name of the plymouth theme.
82 # Install only if plymouth is enabled.
83 # If it is not packaged, leave this item empty and place those files in airootfs.
84 # This setting cannot be changed by an argument.
85 theme_pkg="plymouth-theme-alter-logo-git"
88 #-- alteriso config --#
90 # Set the kernel that live session use.
91 # Please don't set anything if you want to use normal kernel.
92 # See help for a list of available values.
93 # Change the default behavior of "-k" and "--kernel".
96 # Set the Japanese mode.
97 # When this is enabled, the packages in the japanese package list will be installed.
98 # And some files for Japanese are used.
99 # Change the default behavior of "-j" and "--japanese".
102 # Channel name to build by default
105 # See the `mksquashfs` help for details on these items.
106 # This variable overrides each build option "-c" or "-t".
111 #-- Live environment user --#
113 # Set the default live environment user name
114 # Channel developers should use this.
115 defaultusername='alter'
117 # Set the live environment user name
118 # Change the default behavior of "-u" and "--user".
119 # Overrides default settings
122 # Set the live environment user password
123 # Change the default behavior of "-p" or "--password".
126 # Set the user's default shell.
127 # This setting cannot be changed by an argument.
129 # The shell should be listed in /etc/shells, the package installed,
130 # and the appropriate configuration files in /etc/skel.
131 usershell="/bin/bash"
134 #-- Script options --#
136 # Enable post-build cleaning.
137 # When enabled, airootfs in the working directory is deleted after squashfs is created.
138 # Change the default behavior of "-l" and "cleanup".
141 # Set whether to check the build.
142 # If true, do not check. If false, confirm.
143 # Change the default behavior of "--noconfirm".
146 # Use mkalteriso written in a traditional shell script
147 # instead of the C ++ version of mkalteriso.
148 # Change the default behavior of "--shmkalteriso".
151 # When set to true, colored output will not be performed.
152 # Change the default behavior of "--nocolor".
155 # If set to true, do not check dependent packages.
156 # Change the default behavior of "--nodepend".
157 # Dependent packages are defined in the following array.
160 # Do not check the current kernel or load kernel modules.
161 # Change the default behavior of "--noloopmod".
164 # Do not include the channel name in the filename of the image file.
165 # This setting cannot be changed by an argument.
168 #-- Debug options --#
171 # This setting can only be set to true or false.
172 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
173 # If debug is set to true, debug messages useful for channel development will be displayed.
177 # If set to true, enable message debag.
178 # Change the default behavior of "--msgdebug".
181 # If set to true, enable git version
182 # Change the default behavior of "--gitversion".
183 # Git version is generated with the following code
184 # $ git rev-parse --short HEAD
188 # List of packages required for build
189 # The following packages are checked to see if they are installed before running build.sh
190 # Also, wizard.sh will install it automatically.
192 # If you don't use Alter Linux repository, redefine this array in channel config
193 # and remove alterlinux related packages from dependence.
197 "arch-install-scripts"