Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 2 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 7602e62..e5bd9cb 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -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.