From 0a58431dde33d9f5a1d63fce93ba9e1b4b783412 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 15 Aug 2021 10:54:17 +0300 Subject: [PATCH] mkarchiso: put version files in netboot artifacts Fixes #147. --- archiso/mkarchiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiso/mkarchiso b/archiso/mkarchiso index e726e0e..267804a 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -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"