archiso/mkarchiso: correct the path of airootfs/etc/machine-id

Use "${airootfs_dir}".
Fixes a mistake introduced when rebasing https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/64 .
This commit is contained in:
nl6720 2020-08-18 21:59:18 +03:00
parent 41d3d7d489
commit 13b8c7d099
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369

View File

@ -205,7 +205,7 @@ _cleanup () {
find "${work_dir}" \( -name '*.pacnew' -o -name '*.pacsave' -o -name '*.pacorig' \) -delete find "${work_dir}" \( -name '*.pacnew' -o -name '*.pacsave' -o -name '*.pacorig' \) -delete
_msg_info "Done!" _msg_info "Done!"
# Create an empty /etc/machine-id # Create an empty /etc/machine-id
printf '' > "${work_dir}/airootfs/etc/machine-id" printf '' > "${airootfs_dir}/etc/machine-id"
} }
# Makes a ext4 filesystem inside a SquashFS from a source directory. # Makes a ext4 filesystem inside a SquashFS from a source directory.