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 7A2D9158046 for ; Sun, 13 Oct 2024 13:35:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0614E089C; Sun, 13 Oct 2024 13:35:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8AAF3E089C for ; Sun, 13 Oct 2024 13:35:31 +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 C9E24342F65 for ; Sun, 13 Oct 2024 13:35:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 671CA1315 for ; Sun, 13 Oct 2024 13:35:29 +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: <1728826509.78a553bf80c525f7ec8d6959c9bf185dc15e1c08.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: 78a553bf80c525f7ec8d6959c9bf185dc15e1c08 X-VCS-Branch: dilfridge/qcow2 Date: Sun, 13 Oct 2024 13:35:29 +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: 1b3bc350-1aa5-4a3e-b10a-7bbbd303f802 X-Archives-Hash: 8eb4c92157e8a542807055fc364a2504 commit: 78a553bf80c525f7ec8d6959c9bf185dc15e1c08 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Oct 13 13:35:09 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Oct 13 13:35:09 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=78a553bf Set root password manually. Works now. 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 2f5bec7c..45d870a5 100755 --- a/targets/support/diskimage-installation.sh +++ b/targets/support/diskimage-installation.sh @@ -27,6 +27,7 @@ systemctl preset-all || die "Running systemctl preset-all failed" echo "Setting locale" echo 'LANG="en_US.UTF-8"' > /etc/locale.conf || die "Failed to set locale" +env-update || die "Failed to run env-update" echo "Setting keymap" echo "KEYMAP=us" > /etc/vconsole.conf || die "Failed to set keymap" @@ -40,8 +41,10 @@ case ${clst_diskimage_type} in ;; console) echo "Setting up console log-in image. Please set the root password ASAP." + echo "Removing root password" + passwd -d root || die "Failed removing root password" echo "Running systemd-firstboot" - systemd-firstboot --timezone=UTC --delete-root-password || die "Failed running systemd-firstboot" + systemd-firstboot --timezone=UTC || die "Failed running systemd-firstboot" ;; *) die "As yet unsupported image type"