mkarchiso: put version files in netboot artifacts

Fixes #147.
This commit is contained in:
nl6720 2021-08-15 10:54:17 +03:00
parent a560de4fe1
commit 0a58431dde
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369

View File

@ -1137,7 +1137,7 @@ _make_version() {
rm -f -- "${pacstrap_dir}/version"
printf '%s\n' "${iso_version}" > "${pacstrap_dir}/version"
if [[ "${buildmode}" == "iso" ]]; then
if [[ "${buildmode}" == @("iso"|"netboot") ]]; then
install -d -m 0755 -- "${isofs_dir}/${install_dir}"
# Write version file to ISO 9660
printf '%s\n' "${iso_version}" > "${isofs_dir}/${install_dir}/version"