Merge remote-tracking branch 'nl6720/netboot-version'

* nl6720/netboot-version:
  mkarchiso: put version files in netboot artifacts
This commit is contained in:
David Runge 2021-08-24 23:22:12 +02:00
commit a915e34e27
No known key found for this signature in database
GPG Key ID: 7258734B41C31549

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"