fi
# iso version info
- local _write_info_file _info_file="${work_dir}/iso/alteriso-info"
- _write_info_file () {
- echo "${@}" >> "${_info_file}"
- }
- rm -rf "${_info_file}"; touch "${_info_file}"
- if [[ -d "${script_path}/.git" ]]; then
- _write_info_file "${iso_application} ${arch} ${iso_version}-$(git rev-parse --short HEAD)"
- else
- _write_info_file "${iso_application} ${arch} ${iso_version}"
+ if [[ "${include_info}" = true ]]; then
+ local _write_info_file _info_file="${work_dir}/iso/alteriso-info"
+ _write_info_file () {
+ echo "${@}" >> "${_info_file}"
+ }
+ rm -rf "${_info_file}"; touch "${_info_file}"
+ if [[ -d "${script_path}/.git" ]]; then
+ _write_info_file "${iso_application} ${arch} ${iso_version}-$(git rev-parse --short HEAD)"
+ else
+ _write_info_file "${iso_application} ${arch} ${iso_version}"
+ fi
+ _write_info_file "Created by ${iso_publisher}"
+ _write_info_file "Live user name: ${username}"
+ _write_info_file "Live user pass: ${password}"
fi
- _write_info_file "Created by ${iso_publisher}"
- _write_info_file "Live user name: ${username}"
- _write_info_file "Live user pass: ${password}"
}
# Build ISO
sfs_comp_opt=""
+# If set to true, include alteriso_info in iso root.
+# This setting cannot be changed by an argument.
+include_info=true
+
+
#-- kernel config --#
# Set the kernel that live session use.
# Use mkalteriso written in a traditional shell script
# instead of the C ++ version of mkalteriso.
# Change the default behavior of "--shmkalteriso".
-shmkalteriso="false"
+shmkalteriso=false
# When set to true, colored output will not be performed.
# Change the default behavior of "--nocolor".