Skip to content

Commit d6c6de0

Browse files
committed
[update] : Added --loopmod
1 parent 2d8af3e commit d6c6de0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ make_iso() {
10041004

10051005

10061006
# Parse options
1007-
ARGUMENT=("${DEFAULT_ARGUMENT[@]}" "${@}") OPTS=("a:" "b" "c:" "d" "e" "g:" "h" "j" "k:" "l:" "o:" "p:" "r" "t:" "u:" "w:" "x") OPTL=("arch:" "boot-splash" "comp-type:" "debug" "cleaning" "cleanup" "gpgkey:" "help" "lang:" "japanese" "kernel:" "out:" "password:" "comp-opts:" "user:" "work:" "bash-debug" "nocolor" "noconfirm" "nodepend" "gitversion" "msgdebug" "noloopmod" "tarball" "noiso" "noaur" "nochkver" "channellist" "config:" "noefi" "nodebug" "nosigcheck" "normwork" "log" "logpath:" "nolog" "nopkgbuild" "pacman-debug" "confirm" "tar-type:" "tar-opts:" "add-module:" "nogitversion" "cowspace:" "rerun" "depend")
1007+
ARGUMENT=("${DEFAULT_ARGUMENT[@]}" "${@}") OPTS=("a:" "b" "c:" "d" "e" "g:" "h" "j" "k:" "l:" "o:" "p:" "r" "t:" "u:" "w:" "x") OPTL=("arch:" "boot-splash" "comp-type:" "debug" "cleaning" "cleanup" "gpgkey:" "help" "lang:" "japanese" "kernel:" "out:" "password:" "comp-opts:" "user:" "work:" "bash-debug" "nocolor" "noconfirm" "nodepend" "gitversion" "msgdebug" "noloopmod" "tarball" "noiso" "noaur" "nochkver" "channellist" "config:" "noefi" "nodebug" "nosigcheck" "normwork" "log" "logpath:" "nolog" "nopkgbuild" "pacman-debug" "confirm" "tar-type:" "tar-opts:" "add-module:" "nogitversion" "cowspace:" "rerun" "depend" "loopmod")
10081008
GETOPT=(-o "$(printf "%s," "${OPTS[@]}")" -l "$(printf "%s," "${OPTL[@]}")" -- "${ARGUMENT[@]}")
10091009
getopt -Q "${GETOPT[@]}" || exit 1 # 引数エラー判定
10101010
readarray -t OPT < <(getopt "${GETOPT[@]}") # 配列に代入
@@ -1097,7 +1097,7 @@ while true; do
10971097
--noaur ) noaur=true && shift 1 ;;
10981098
--nochkver ) nochkver=true && shift 1 ;;
10991099
--noefi ) noefi=true && shift 1 ;;
1100-
--channellist ) show_channel_list && exit 0 ;;
1100+
--channellist ) show_channel_list && exit 0 ;;
11011101
--config ) source "${2}" ; shift 2 ;;
11021102
--pacman-debug ) pacman_debug=true && shift 1 ;;
11031103
--nosigcheck ) nosigcheck=true && shift 1 ;;
@@ -1108,7 +1108,8 @@ while true; do
11081108
--nogitversion ) gitversion=false && shift 1 ;;
11091109
--cowspace ) cowspace="${2}" && shift 2 ;;
11101110
--rerun ) rerun=true && shift 1 ;;
1111-
--depend ) nodepend=false && shift 1 ;;
1111+
--depend ) nodepend=false && shift 1 ;;
1112+
--loopmod ) noloopmod=false && shift 1 ;;
11121113
-- ) shift 1 && break ;;
11131114
*)
11141115
msg_error "Argument exception error '${1}'"

docs/build.sh/help.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
--nochkver No check the version of the channel
1515
--nodebug Disable all debug messages
1616
--noefi No efi boot (Use only for debugging)
17-
--noloopmod No check and load kernel module automatically
17+
--[no]loopmod (No) check and load kernel module automatically
1818
--[no]depend (No) check package dependencies before building
1919
--noiso No build iso image (Use with --tarball)
2020
--nosigcheck No pacman signature check

0 commit comments

Comments
 (0)