OSDN Git Service

Merge branch 'dev' into dev-stable
[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 # config
10 #
11 # Overwrites the first to read and set the build script
12 # This configuration file follows the bash syntax.
13 #
14
15
16 #-- archiso --#
17 # Architecture to build
18 # Change the default behavior of "-a" and "--arch".
19 arch=$(uname -m)
20
21 # OS name used for startup screen, etc.
22 os_name="Alter Linux"
23
24 # OS name used for the name of the image file.
25 iso_name=alterlinux
26
27 # Image file label
28 iso_label="ALTER_$(date +%Y%m%d)"
29
30 # Image file creator information
31 iso_publisher='Fascode Network <https://fascode.net>'
32
33 # Image file name (not file name)
34 iso_application="${os_name} Live/Rescue CD"
35
36 # Image file version
37 iso_version=$(date +%Y.%m.%d)
38
39 # Directory name used for installation
40 install_dir=alter
41
42 # Work directory to execute pacstrap etc
43 # Change the default behavior of "-w" and "--work".
44 work_dir=work
45
46 # Directory to output image file and checksum
47 # Change the default behavior of "-o" and "--out".
48 out_dir=out
49
50 # Key used for signature
51 # Change the default behavior of "-g" and "--gpgkey".
52 gpg_key=
53
54
55 #-- Plymouth --#
56 # Set to true to enable plymouth.
57 # See help for a list of available values.
58 # Change the default behavior of "-b" and "--boot-splash".
59 boot_splash=false
60
61 # Set the theme name of plymouth.
62 theme_name="alter-logo"
63
64 # Set the package name of the plymouth theme.
65 # Install only if plymouth is enabled.
66 # If it is not packaged, leave this item empty and place those files in airootfs.
67 theme_pkg="plymouth-theme-alter-logo-git"
68
69
70 #-- alteriso config --#
71
72 # Set the kernel that live session use.
73 # Please don't set anything if you want to use normal kernel.
74 # See help for a list of available values.
75 # Change the default behavior of "-k" and "--kernel".
76 kernel=zen
77
78 # Set the Japanese mode.
79 # When this is enabled, the packages in the japanese package list will be installed.
80 # And some files for Japanese are used.
81 # Change the default behavior of "-j" and "--japanese".
82 japanese=false
83
84 # Enable post-build cleaning.
85 # When enabled, airootfs in the working directory is deleted after squashfs is created.
86 # Change the default behavior of "-l" and "cleanup".
87 cleaning=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
116 #-- Debug options --#
117
118 # Set debug mode.
119 # This setting can only be set to true or false.
120 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
121 # If debug is set to true, debug messages useful for channel development will be displayed.
122 bash_debug=false
123 debug=false
124
125 # Set whether to check the build.
126 # If true, do not check. If false, confirm.
127 # Change the default behavior of "--noconfirm".
128 noconfirm=false
129
130 # Use mkalteriso written in a traditional shell script 
131 # instead of the C ++ version of mkalteriso.
132 # Change the default behavior of "--shmkalteriso".
133 shmkalteriso="false"
134
135 # When set to true, colored output will not be performed.
136 # Change the default behavior of "--nocolor".
137 nocolor=false
138
139 # If set to true, do not check dependent packages.
140 # Change the default behavior of "--nodepend".
141 nodepend=false
142
143 # If set to true, enable message debag.
144 # Change the default behavior of "--msgdebug".
145 msgdebug=false
146
147 # List of packages required for build
148 dependence=(
149     "alterlinux-keyring"
150 #   "archiso"
151     "arch-install-scripts"
152     "curl"
153     "dosfstools"
154     "edk2-shell"
155     "git"
156     "libburn"
157     "libisofs"
158     "lz4"
159     "lzo"
160     "make"
161     "squashfs-tools"
162     "libisoburn"
163  #  "lynx"
164     "xz"
165     "zlib"
166     "zstd"
167 )
168