OSDN Git Service

[update] : Added module list as an argument
authorhayao <hayao@fascode.net>
Sat, 14 Aug 2021 07:54:49 +0000 (16:54 +0900)
committerhayao <hayao@fascode.net>
Sat, 14 Aug 2021 07:54:49 +0000 (16:54 +0900)
build.sh

index 11a237a..d649dad 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -991,9 +991,9 @@ make_alteriso_info(){
     # iso version info
     if [[ "${include_info}" = true ]]; then
         local _info_file="${isofs_dir}/alteriso-info" _version="${iso_version}"
-        remove "${_info_file}"; touch "${_info_file}"
+        #remove "${_info_file}"; touch "${_info_file}"
         [[ -d "${script_path}/.git" ]] && [[ "${gitversion}" = false ]] && _version="${iso_version}-${gitrev}"
-        "${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}"
+        "${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[@]}")"
     fi
 
     return 0