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 ++ configs/releng/airootfs/etc/machine-id | 0 2 files changed, 2 insertions(+) delete mode 100644 configs/releng/airootfs/etc/machine-id 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. diff --git a/configs/releng/airootfs/etc/machine-id b/configs/releng/airootfs/etc/machine-id deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3-70-g09d2