commit:     5ade97b7fb8ab3b3d0002b716aa3fb3cd8f44f98
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 21:15:05 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> 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 <dilfridge <AT> 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 <<END
 [Service]
-ExecStart=systemd-firstboot --locale=en_US.UTF-8 --timezone=UTC 
--delete-root-password
+ExecStart=systemd-firstboot --locale=en_US.utf8 --timezone=UTC 
--delete-root-password
 END
 )
 

Reply via email to