OSDN Git Service

[update] : Added 32bit support to gdm modules
[alterlinux/alterlinux.git] / default.conf
index c5ee59f..c291eed 100644 (file)
@@ -4,7 +4,7 @@
 # Twitter: @Hayao0819
 # Email  : hayao@fascode.net
 #
-# (c) 2019-2020 Fascode Network.
+# (c) 2019-2021 Fascode Network.
 #
 # default.conf
 #
@@ -26,7 +26,7 @@
 # !! WARNING !!
 # This variable can only be used in default.conf.
 # It does not apply even if it is used in the config of each channel.
-DEFAULT_ARGUMENT=""
+DEFAULT_ARGUMENT=()
 
 #-- archiso --#
 # Architecture to build
@@ -93,13 +93,19 @@ theme_name="alter-logo"
 channel_name='xfce'
 
 # Build the tarball with iso.
-# Change the default behavior of "-k" and "--tarball".
+# Change the default behavior of "--tarball".
 tarball=false
 
+# Set command line argument for tar command
+# It is only used for creating tarball
+# Change the default behavior of "--tar-opts".
+tar_comp="gzip"
+tar_comp_opt=()
+
 # See the `mksquashfs` help for details on these items.
 # This variable overrides each build option "-c" or "-t".
 sfs_comp="xz"
-sfs_comp_opt=""
+sfs_comp_opt=()
 
 
 # If set to true, include alteriso_info in iso root.
@@ -111,25 +117,47 @@ include_info=true
 # syslinux.<arch> must exist in the channel's directory. It works like airootfs.
 # If set to false, the channel syslinux configuration file will not be used.
 # Use this setting for debugging only.
-# This setting cannot be changed by an argument.
+# This setting cannot be changed by an argument.
 customized_syslinux=true
 
 
+# Do not add rescue mode launch items
+# If true, do not add items such as "without GUI" or "Safe graphics".
+# This setting cannot be changed by an argument.
+norescue_entry=false
+
+
+# Modules to include
+# An array of module directory names to include.
+# This setting cannot be changed by an argument.
+# Use this array only in the configuration files in the channel.
+#modules=("share")
+
+# AUR Helper config
+aur_helper_command="yay"
+aur_helper_package="yay"
+aur_helper_depends=("go")
+aur_helper_args=(
+    --useask
+    --mflags "-AcC"
+    --mflags "--skippgpcheck"
+    --aur
+    --nocleanmenu
+    --nodiffmenu
+    --noeditmenu
+    --noupgrademenu
+    --noprovides
+    --removemake
+)
+
 #-- kernel config --#
 # Set the kernel that live session use.
 # Please don't set anything if you want to use normal kernel.
 # See help for a list of available values.
-# Change the default behavior of "-k" and "--kernel".
+# This setting cannot be changed by an argument.
 
 # Kernel name
-kernel="zen"
-
-# Kernel file name
-kernel_filename="vmlinuz-linux-zen"
-
-# mkinitcpio profile name (mkinitcpio -p <name>)
-kernel_mkinitcpio_profile="linux-zen"
-
+defaultkernel="zen"
 
 #-- Live environment user --#
 
@@ -158,16 +186,18 @@ password="alter"
 # and the appropriate configuration files in /etc/skel.
 usershell="/bin/bash"
 
+# Install memtest86
+memtest86=true
+
+# Set the size of cowspace
+# Change the default behavior of "--cowspace"
+cowspace="1GB"
 
 #-- language config --#
 
 # Sets the default locale for the live environment.
 # You can also place a package list for that locale name and install packages specific to that locale.
 locale_name="en"
-locale_gen_name="en_US.UTF-8"
-locale_version="gl"
-locale_time="UTC"
-locale_fullname="global"
 
 
 #-- Script options --#
@@ -182,11 +212,6 @@ cleaning=false
 # Change the default behavior of "--noconfirm".
 noconfirm=false
 
-# Use mkalteriso written in a traditional shell script
-# instead of the C ++ version of mkalteriso.
-# Change the default behavior of "--shmkalteriso".
-shmkalteriso=false
-
 # When set to true, colored output will not be performed.
 # Change the default behavior of "--nocolor".
 nocolor=false
@@ -197,6 +222,7 @@ nocolor=false
 nodepend=false
 
 # Do not check the current kernel or load kernel modules.
+# Enabling this option can cause unexpected problems.
 # Change the default behavior of "--noloopmod".
 noloopmod=false
 
@@ -211,34 +237,81 @@ nochname=false
 # Change the default behavior of "--nochkver".
 nochkver=false
 
+# Do not include file about efi
+# Change the default behavior of "--noefi".
+# If noiso is true, it will be enabled automatically.
+noefi=false
+
 # Does not build the ISO image file.
 # Be sure to set the tarball to true if you want this to be true.
 # Change the default behavior of "--noiso".
 noiso=false
 
 # Do not install the AUR package.
+#
+# !! WARNING !!
+# Many packages are installed from AUR, so specifying --noaur can cause problems.
+# Use this option only for debugging purposes or if you understand what you are trying to do.
+#
 # Change the default behavior of "--noaur".
 noaur=false
 
+# Do not build and install from PKGBUILD
+# Change the default behavior of "--nopkgbuild".
+# Use this option only for debugging purposes or if you understand what you are trying to do.
+nopkgbuild=false
+
+# Do not check pacman key
+# This option allows the installation of unsigned packages, which reduces security.
+# Use it for debugging only and never allow it permanently on channel config.
+# Change the default behavior of "--nosigcheck".
+nosigcheck=false
+
+# Do not remove working dir
+# Change the default behavior of "--normwork".
+normwork=false
+
 #-- Debug options --#
 
 # Set debug mode.
 # This setting can only be set to true or false.
 # If bash_debug is set to true, it will be easier to see how the script is executed by executing set -xv.
+# If this is enabled, a large amount of logs will be output.
 # If debug is set to true, debug messages useful for channel development will be displayed.
 bash_debug=false
 debug=false
+pacman_debug=false
 
 # If set to true, enable message debag.
+# This option previously debugged the message output in build.sh, but now it debugs msg.sh.
 # Change the default behavior of "--msgdebug".
 msgdebug=false
 
 # If set to true, enable git version
 # Change the default behavior of "--gitversion".
-# Git version is generated with the following code
+# If the Git repository is not found, an error will be returned.
+# Git version is generated with the following code.
 # $ git rev-parse --short HEAD
 gitversion=false
 
+# Additional list of packages to exclude from channel
+# Works the same as an exclude file
+# Use this array for debugging only
+# This setting cannot be changed by an argument.
+additional_exclude_pkg=()
+
+# Additional list of modules to load
+# Use this array for debugging only
+# Change the default behavior of "--add-module".
+# This array is not available in the configuration files in the channel.
+additional_modules=()
+
+# Run with tee command
+# Set to "false" to disable logging
+# If not false, the log will be saved in the specified path.
+# Change the default behavior of "--log" and "--logpath".
+logging="false"
+
 
 # List of packages required for build
 # The following packages are checked to see if they are installed before running build.sh
@@ -247,24 +320,16 @@ gitversion=false
 # If you don't use Alter Linux repository, redefine this array in channel config
 # and remove alterlinux related packages from dependence.
 dependence=(
-    "alterlinux-keyring"
-#   "archiso"
-    "arch-install-scripts"
-    "curl"
-    "cmake"
-    "dosfstools"
-    "git"
-    "libburn"
-    "libisofs"
-    "lz4"
-    "lzo"
-    "make"
-    "ninja"
-    "squashfs-tools"
-    "libisoburn"
- #  "lynx"
-    "xz"
-    "zlib"
-    "zstd"
-    "qt5-base"
+    "alterlinux-keyring" # For install packages from Alter Linux repo
+    "arch-install-scripts" # For pacstrap and arch-install
+    "curl" # For getting keyring
+    "dosfstools" # For creating efiboot.img
+    "git" # For getting git ref (--gitversion)
+    "libisoburn" # For creating iso image file (xorriso)
+    "pyalpm" # For checking package (package.py)
+    "squashfs-tools" # For creating airootfs.sfs
+    "make" # For creating iso for releasing
+    
+    # Archive library
+    "lz4" "lzo" "xz" "zstd"
 )