OSDN Git Service

[update] : Added description of options
authorhayao <shun819.mail@gmail.com>
Fri, 11 Dec 2020 15:41:00 +0000 (00:41 +0900)
committerhayao <shun819.mail@gmail.com>
Fri, 11 Dec 2020 15:41:00 +0000 (00:41 +0900)
build.sh
default.conf

index 12b2f3f..9af2559 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -195,6 +195,9 @@ _usage () {
     echo "         --nodepend              No check package dependencies before building"
     echo "         --noiso                 No build iso image (Use with --tarball)"
     echo "         --shmkalteriso          Use the shell script version of mkalteriso"
+    echo
+    echo " Many packages are installed from AUR, so specifying --noaur can cause problems."
+    echo
     if [[ -n "${1:-}" ]]; then exit "${1}"; fi
 }
 
index 64c4781..fb79e85 100644 (file)
@@ -180,8 +180,9 @@ 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.
+# Use mkalteriso written in a traditional shell script instead of the C ++ version of mkalteriso.
+# There is no difference in functionality between the C ++ version and the shell version,
+# but if you have problems with one, use the other.
 # Change the default behavior of "--shmkalteriso".
 shmkalteriso=false
 
@@ -195,6 +196,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
 
@@ -220,6 +222,11 @@ noefi=false
 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
 
@@ -228,17 +235,20 @@ noaur=false
 # 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
 
 # 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