OSDN Git Service

[fix] : Fixed a problem that git version does not work with releng.
[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 #
17 # This configuration file follows the bash syntax.
18 #
19
20
21 #-- archiso --#
22 # Architecture to build
23 # Change the default behavior of "-a" and "--arch".
24 arch=$(uname -m)
25
26 # OS name used for startup screen, etc.
27 os_name="Alter Linux"
28
29 # OS name used for the name of the image file.
30 iso_name=alterlinux
31
32 # Image file label
33 iso_label="ALTER_$(date +%Y%m%d)"
34
35 # Image file creator information
36 iso_publisher='Fascode Network <https://fascode.net>'
37
38 # Image file name (not file name)
39 iso_application="${os_name} Live/Rescue CD"
40
41 # Image file version
42 iso_version=$(date +%Y.%m.%d)
43
44 # Directory name used for installation
45 install_dir=alter
46
47 # Work directory to execute pacstrap etc
48 # Change the default behavior of "-w" and "--work".
49 work_dir=work
50
51 # Directory to output image file and checksum
52 # Change the default behavior of "-o" and "--out".
53 out_dir=out
54
55 # Key used for signature
56 # Change the default behavior of "-g" and "--gpgkey".
57 gpg_key=
58
59
60 #-- Plymouth --#
61 # Set to true to enable plymouth.
62 # See help for a list of available values.
63 # Change the default behavior of "-b" and "--boot-splash".
64 boot_splash=false
65
66 # Set the theme name of plymouth.
67 theme_name="alter-logo"
68
69 # Set the package name of the plymouth theme.
70 # Install only if plymouth is enabled.
71 # If it is not packaged, leave this item empty and place those files in airootfs.
72 theme_pkg="plymouth-theme-alter-logo-git"
73
74
75 #-- alteriso config --#
76
77 # Set the kernel that live session use.
78 # Please don't set anything if you want to use normal kernel.
79 # See help for a list of available values.
80 # Change the default behavior of "-k" and "--kernel".
81 kernel=zen
82
83 # Set the Japanese mode.
84 # When this is enabled, the packages in the japanese package list will be installed.
85 # And some files for Japanese are used.
86 # Change the default behavior of "-j" and "--japanese".
87 japanese=false
88
89 # Channel name to build by default
90 channel_name='xfce'
91
92 # See the `mksquashfs` help for details on these items.
93 # This variable overrides each build option "-c" or "-t".
94 sfs_comp="zstd"
95 sfs_comp_opt=""
96
97
98 #-- Live environment user --#
99
100 # Set the default live environment user name
101 # Channel developers should use this.
102 defaultusername='alter'
103
104 # Set the live environment user name (force)
105 # Change the default behavior of "-u" and "--user".
106 username="alter"
107
108 # Set the live environment user password
109 # Change the default behavior of "-p" or "--password".
110 password="alter"
111
112 # Set the user's default shell.
113 usershell="/bin/bash"
114
115 # Enable post-build cleaning.
116 # When enabled, airootfs in the working directory is deleted after squashfs is created.
117 # Change the default behavior of "-l" and "cleanup".
118 cleaning=false
119
120
121 #-- Script options --#
122
123 # Set whether to check the build.
124 # If true, do not check. If false, confirm.
125 # Change the default behavior of "--noconfirm".
126 noconfirm=false
127
128 # Use mkalteriso written in a traditional shell script 
129 # instead of the C ++ version of mkalteriso.
130 # Change the default behavior of "--shmkalteriso".
131 shmkalteriso="false"
132
133 # When set to true, colored output will not be performed.
134 # Change the default behavior of "--nocolor".
135 nocolor=false
136
137 # If set to true, do not check dependent packages.
138 # Change the default behavior of "--nodepend".
139 nodepend=false
140
141
142 #-- Debug options --#
143
144 # Set debug mode.
145 # This setting can only be set to true or false.
146 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
147 # If debug is set to true, debug messages useful for channel development will be displayed.
148 bash_debug=false
149 debug=false
150
151 # If set to true, enable message debag.
152 # Change the default behavior of "--msgdebug".
153 msgdebug=false
154
155 # If set to true, enable git version
156 # Change the default behavior of "--gitversion".
157 gitversion=true
158
159
160 # List of packages required for build
161 # The following packages are checked to see if they are installed before running build.sh
162 # Also, wizard.sh will install it automatically.
163 dependence=(
164     "alterlinux-keyring"
165 #   "archiso"
166     "arch-install-scripts"
167     "curl"
168     "dosfstools"
169     "edk2-shell"
170     "git"
171     "libburn"
172     "libisofs"
173     "lz4"
174     "lzo"
175     "make"
176     "squashfs-tools"
177     "libisoburn"
178  #  "lynx"
179     "xz"
180     "zlib"
181     "zstd"
182 )
183