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:
parent
41d3d7d489
commit
13b8c7d099
@ -205,7 +205,7 @@ _cleanup () {
|
||||
find "${work_dir}" \( -name '*.pacnew' -o -name '*.pacsave' -o -name '*.pacorig' \) -delete
|
||||
_msg_info "Done!"
|
||||
# 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.
|
||||
|
Loading…
Reference in New Issue
Block a user