Skip to content
Snippets Groups Projects
Unverified Commit 13b8c7d0 authored by nl6720's avatar nl6720
Browse files

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

Use "${airootfs_dir}".
Fixes a mistake introduced when rebasing !64 .
parent 41d3d7d4
No related branches found
No related tags found
1 merge request!67archiso/mkarchiso: correct the path of airootfs/etc/machine-id
Pipeline #1154 passed
...@@ -205,7 +205,7 @@ _cleanup () { ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment