Verified Commit e6455b88 authored by nl6720's avatar nl6720
Browse files

archiso/mkarchiso: create an empty /etc/machine-id

Fixes archlinux/archiso#42 .
parent ba3e8345
......@@ -204,6 +204,8 @@ _cleanup () {
# Delete package pacman related files.
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"
}
# Makes a ext4 filesystem inside a SquashFS from a source directory.
......
Supports Markdown
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