archiso/mkarchiso: create an empty /etc/machine-id
Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/42 .
This commit is contained in:
parent
ba3e8345ad
commit
e6455b885b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user