From ddf7ebf9840cf0c87175929df071311f437bc5ad Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 30 Jul 2021 17:00:35 +0200 Subject: [dbus] remove pointless code systemd seems to make sure that /etc/machine-id and /var/lib/dbus/machine-id are created on boot. --- core/modules/dbus/module.build | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'core/modules/dbus') diff --git a/core/modules/dbus/module.build b/core/modules/dbus/module.build index e6a6a05a..e99b5136 100644 --- a/core/modules/dbus/module.build +++ b/core/modules/dbus/module.build @@ -1,24 +1,13 @@ #!/bin/bash fetch_source() { - echo "Extracting from running system..." + : } build() { - # Generate systemd files - mkdir -p "$MODULE_BUILD_DIR/etc/systemd/system/dbus.service.d" # This is REQUIRED, otherwise the session daemon won't start (can be empty, but has to exist...) mkdir -p "${MODULE_BUILD_DIR}/etc/dbus-1/session.d" - - # We will either find the service file or generate it, - # thus we can already create the drop-in for uuidgen - UUIDGEN=$(find "$MODULE_BUILD_DIR" -name dbus-uuidgen -executable | head -n 1) - [ -z "$UUIDGEN" ] && perror "Could not determine dbus-uuidgen location" - cat <<-EOF > "$MODULE_BUILD_DIR/etc/systemd/system/dbus.service.d/uuidgen.conf" - [Service] - ExecStartPre=/${UUIDGEN#$MODULE_BUILD_DIR} --ensure - EOF } post_copy() { -- cgit v1.2.3-55-g7522