[PATCH] systemd: Generate machine-id on first run.

Stefan Schantl stefan.schantl at ipfire.org
Thu Sep 1 13:35:25 CEST 2016


Do not longer generate the machine-id during the installation progress,
it will be gernerated (if not exists) on the first run of the system
automatically.

Fixes #10078.

Signed-off-by: Stefan Schantl <stefan.schantl at ipfire.org>
---
 systemd/systemd.nm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/systemd/systemd.nm b/systemd/systemd.nm
index 35d2b0b..585916b 100644
--- a/systemd/systemd.nm
+++ b/systemd/systemd.nm
@@ -5,7 +5,7 @@
 
 name       = systemd
 version    = 221
-release    = 4
+release    = 5
 
 maintainer = Stefan Schantl <stefan.schantl at ipfire.org>
 groups     = System/Base
@@ -231,9 +231,6 @@ packages
 		end
 
 		script postin
-			# Generate Machine ID.
-			/usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
-
 			# Reexec systemd daemon.
 			/usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
 
-- 
2.5.5



More information about the Development mailing list