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 # Change the default behavior of "-a" and "--arch".
28 # OS name used for startup screen, etc.
29 # This setting cannot be changed by an argument.
32 # OS name used for the name of the image file.
33 # This setting cannot be changed by an argument.
37 # This setting cannot be changed by an argument.
38 iso_label="ALTER_$(date +%Y%m%d)"
40 # Image file creator information
41 iso_publisher='Fascode Network <https://fascode.net>'
43 # Image name (not file name)
44 # This setting cannot be changed by an argument.
45 iso_application="${os_name} Live/Rescue CD"
48 # If gitversion (--gitversion) is enabled, Git's revision will be added to the end of this value.
49 # This setting cannot be changed by an argument.
50 iso_version=$(date +%Y.%m.%d)
52 # Directory name used for installation
53 # This setting cannot be changed by an argument.
56 # Work directory to execute pacstrap etc
57 # Change the default behavior of "-w" and "--work".
60 # Directory to output image file and checksum
61 # Change the default behavior of "-o" and "--out".
64 # Key used for signature
65 # Change the default behavior of "-g" and "--gpgkey".
66 # This setting cannot be changed by an argument.
71 # Set to true to enable plymouth.
72 # See help for a list of available values.
73 # Change the default behavior of "-b" and "--boot-splash".
76 # Set the theme name of plymouth.
77 theme_name="alter-logo"
79 # Set the package name of the plymouth theme.
80 # Install only if plymouth is enabled.
81 # If it is not packaged, leave this item empty and place those files in airootfs.
82 # This setting cannot be changed by an argument.
83 theme_pkg="plymouth-theme-alter-logo-git"
86 #-- alteriso config --#
88 # Set the kernel that live session use.
89 # Please don't set anything if you want to use normal kernel.
90 # See help for a list of available values.
91 # Change the default behavior of "-k" and "--kernel".
94 # Set the Japanese mode.
95 # When this is enabled, the packages in the japanese package list will be installed.
96 # And some files for Japanese are used.
97 # Change the default behavior of "-j" and "--japanese".
100 # Channel name to build by default
103 # See the `mksquashfs` help for details on these items.
104 # This variable overrides each build option "-c" or "-t".
109 #-- Live environment user --#
111 # Set the default live environment user name
112 # Channel developers should use this.
113 defaultusername='alter'
115 # Set the live environment user name
116 # Change the default behavior of "-u" and "--user".
117 # Overrides default settings
120 # Set the live environment user password
121 # Change the default behavior of "-p" or "--password".
124 # Set the user's default shell.
125 usershell="/bin/bash"
128 #-- Script options --#
130 # Enable post-build cleaning.
131 # When enabled, airootfs in the working directory is deleted after squashfs is created.
132 # Change the default behavior of "-l" and "cleanup".
135 # Set whether to check the build.
136 # If true, do not check. If false, confirm.
137 # Change the default behavior of "--noconfirm".
140 # Use mkalteriso written in a traditional shell script
141 # instead of the C ++ version of mkalteriso.
142 # Change the default behavior of "--shmkalteriso".
145 # When set to true, colored output will not be performed.
146 # Change the default behavior of "--nocolor".
149 # If set to true, do not check dependent packages.
150 # Change the default behavior of "--nodepend".
151 # Dependent packages are defined in the following array.
154 # Do not check the current kernel or load kernel modules.
155 # Change the default behavior of "--noloopmod".
158 # Do not include the channel name in the filename of the image file.
159 # This setting cannot be changed by an argument.
162 #-- Debug options --#
165 # This setting can only be set to true or false.
166 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
167 # If debug is set to true, debug messages useful for channel development will be displayed.
171 # If set to true, enable message debag.
172 # Change the default behavior of "--msgdebug".
175 # If set to true, enable git version
176 # Change the default behavior of "--gitversion".
177 # Git version is generated with the following code
178 # $ git rev-parse --short HEAD
182 # List of packages required for build
183 # The following packages are checked to see if they are installed before running build.sh
184 # Also, wizard.sh will install it automatically.
186 # If you don't use AlterLinux repository, redefine this array in channel config
187 # and remove alterlinux related packages from dependence.
191 "arch-install-scripts"