Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-08-15 10:54:17 +0300
committernl6720 <nl6720@gmail.com>2021-08-24 23:47:00 +0300
commit0a58431dde33d9f5a1d63fce93ba9e1b4b783412 (patch)
tree4d3a6711cb7913f9b26840caa8fbb39201d154eb /archiso
parenta560de4fe171f4a4586b5a41f70917d33c207337 (diff)
mkarchiso: put version files in netboot artifacts
Fixes #147.
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
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"