Skip to content

Commit 51f2171

Browse files
committed
[update] : Added module list as an argument
1 parent ea7666a commit 51f2171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,9 +991,9 @@ make_alteriso_info(){
991991
# iso version info
992992
if [[ "${include_info}" = true ]]; then
993993
local _info_file="${isofs_dir}/alteriso-info" _version="${iso_version}"
994-
remove "${_info_file}"; touch "${_info_file}"
994+
#remove "${_info_file}"; touch "${_info_file}"
995995
[[ -d "${script_path}/.git" ]] && [[ "${gitversion}" = false ]] && _version="${iso_version}-${gitrev}"
996-
"${tools_dir}/alteriso-info.sh" -a "${arch}" -b "${boot_splash}" -c "${channel_name%.add}" -d "${iso_publisher}" -k "${kernel}" -o "${os_name}" -p "${password}" -u "${username}" -v "${_version}" > "${_info_file}"
996+
"${tools_dir}/alteriso-info.sh" -a "${arch}" -b "${boot_splash}" -c "${channel_name%.add}" -d "${iso_publisher}" -k "${kernel}" -o "${os_name}" -p "${password}" -u "${username}" -v "${_version}" -m "$(printf "%s," "${modules[@]}")"
997997
fi
998998

999999
return 0

0 commit comments

Comments
 (0)