summaryrefslogtreecommitdiffstats
path: root/core/modules/dbus
diff options
context:
space:
mode:
authorJonathan Bauer2021-07-30 17:00:35 +0200
committerJonathan Bauer2021-07-30 17:00:35 +0200
commitddf7ebf9840cf0c87175929df071311f437bc5ad (patch)
treef15444a8dcd9f06bcb748457120347e6471150d4 /core/modules/dbus
parent[x11vnc-src] Module that builds x11vnc from the 18.04 source package (diff)
downloadmltk-ddf7ebf9840cf0c87175929df071311f437bc5ad.tar.gz
mltk-ddf7ebf9840cf0c87175929df071311f437bc5ad.tar.xz
mltk-ddf7ebf9840cf0c87175929df071311f437bc5ad.zip
[dbus] remove pointless code
systemd seems to make sure that /etc/machine-id and /var/lib/dbus/machine-id are created on boot.
Diffstat (limited to 'core/modules/dbus')
-rw-r--r--core/modules/dbus/module.build13
1 files changed, 1 insertions, 12 deletions
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() {