From 0c02794ff3921da0ac6ee8b82716b258ca3a5340 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 22 Dec 2022 10:14:35 +0100 Subject: do not set machine-id This is no longer required as archiso resets the file. Currently systemd's first-boot mechanism is still unavailable as archiso creates an empty file, instead of writing special value "uninitialized". See "First Boot Semantics" in machine-id(5) for details. --- hook/hostname | 2 -- install/hostname | 1 - 2 files changed, 3 deletions(-) diff --git a/hook/hostname b/hook/hostname index 4606362..585229a 100644 --- a/hook/hostname +++ b/hook/hostname @@ -3,8 +3,6 @@ run_latehook() { local newroot="/new_root/" - /usr/bin/systemd-machine-id-setup --root="${newroot}" - if [[ ! -s "${newroot}/etc/hostprefix" ]]; then cp "${newroot}/etc/hostname" "${newroot}/etc/hostprefix" fi diff --git a/install/hostname b/install/hostname index 58ad350..7f41a4d 100644 --- a/install/hostname +++ b/install/hostname @@ -2,7 +2,6 @@ build() { add_runscript - add_binary /usr/bin/systemd-machine-id-setup } help() { -- cgit v1.2.3-70-g09d2