From e6455b885b2ae46e285cd81080d980cf876d6ea7 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 12 Aug 2020 15:05:56 +0300 Subject: archiso/mkarchiso: create an empty /etc/machine-id Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/42 . --- archiso/mkarchiso | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archiso/mkarchiso') 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. -- cgit v1.2.3-70-g09d2