echo " --noaur No build and install AUR packages."
echo " --nocolor No output colored output."
echo " --noconfirm No check the settings before building."
+ echo " --nochkver NO check the version of the channel."
echo " --noloopmod No check and load kernel module automatically."
echo " --nodepend No check package dependencies before building."
echo " --noiso No build iso image. (Use with --tarball)"
# Parse options
options="${@}"
_opt_short="a:bc:dg:hjk:lo:p:t:u:w:x"
-_opt_long="arch:,boot-splash,comp-type:,debug,help,lang,japanese,kernel:,cleaning,out:,password:,comp-opts:,user:,work:,bash-debug,nocolor,noconfirm,nodepend,gitversion,shmkalteriso,msgdebug,noloopmod,tarball,noiso,noaur"
+_opt_long="arch:,boot-splash,comp-type:,debug,help,lang,japanese,kernel:,cleaning,out:,password:,comp-opts:,user:,work:,bash-debug,nocolor,noconfirm,nodepend,gitversion,shmkalteriso,msgdebug,noloopmod,tarball,noiso,noaur,nochkver"
OPT=$(getopt -o ${_opt_short} -l ${_opt_long} -- "${@}")
if [[ ${?} != 0 ]]; then
exit 1
noaur=true
shift 1
;;
+ --nochkver)
+ nochkver=true
+ shift 1
+ ;;
--)
shift
break
_msg_error "Invalid channel ${channel_name}" "1"
fi
- if [[ ! "$(cat "${script_path}/channels/${channel_name}/alteriso" 2> /dev/null)" = "alteriso=3" ]]; then
+ if [[ ! "$(cat "${script_path}/channels/${channel_name}/alteriso" 2> /dev/null)" = "alteriso=3" ]] && [[ "${nochkver}" = false ]]; then
_msg_error "This channel does not support AlterISO 3." "1"
fi
# This setting cannot be changed by an argument.
nochname=false
+# Do not check the version of the channel.
+# Use this option only if you want to force builds of AlterISO2 or earlier channels.
+# The structure of the channel is so different that it may lead to unexpected operation, and no guarantee can be given.
+# In particular, the old -j option cannot be used and the japanese variable cannot be used in customize_airootfs.
+# Change the default behavior of "--nochkver".
+nochkver=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".