From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D286158046 for ; Sat, 12 Oct 2024 21:15:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E972E2A6D; Sat, 12 Oct 2024 21:15:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22381E2A6D for ; Sat, 12 Oct 2024 21:15:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E756342FF0 for ; Sat, 12 Oct 2024 21:15:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D14801A4D for ; Sat, 12 Oct 2024 21:15:16 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1728767705.5ade97b7fb8ab3b3d0002b716aa3fb3cd8f44f98.dilfridge@gentoo> Subject: [gentoo-commits] proj/catalyst:dilfridge/qcow2 commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/diskimage-installation.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 5ade97b7fb8ab3b3d0002b716aa3fb3cd8f44f98 X-VCS-Branch: dilfridge/qcow2 Date: Sat, 12 Oct 2024 21:15:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84fb3aeb-b19e-48eb-8d19-121d6083698a X-Archives-Hash: f4a8613d90fbf563957fb412e54c68d5 commit: 5ade97b7fb8ab3b3d0002b716aa3fb3cd8f44f98 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Oct 12 21:15:05 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Oct 12 21:15:05 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5ade97b7 minor fixes Signed-off-by: Andreas K. Hüttel gentoo.org> targets/support/diskimage-installation.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targets/support/diskimage-installation.sh b/targets/support/diskimage-installation.sh index 1d80a9be..7237694f 100755 --- a/targets/support/diskimage-installation.sh +++ b/targets/support/diskimage-installation.sh @@ -19,6 +19,9 @@ if [[ $(readlink /etc/portage/make.profile) == *systemd* ]] ; then echo "Running systemctl preset-all" systemctl preset-all || die "Running systemctl preset-all failed" +echo "Setting machine-id uninitialized" +echo "uninitialized" > /etc/machine-id || die "Failed setting machine-id uninitialized" + # Provide configuration for systemd-firstboot # We need enough information so all questions are skipped mkdir -p /etc/systemd/system/systemd-firstboot.service.d || die "mkdir failed" @@ -26,7 +29,7 @@ mysfconfigfile=/etc/systemd/system/systemd-firstboot.service.d/00gentoo.conf mysfconfig_console=$(cat <