Verified Commit 0a58431d authored by nl6720's avatar nl6720
Browse files

mkarchiso: put version files in netboot artifacts

Fixes #147.
parent a560de4f
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment