summaryrefslogtreecommitdiffstats
path: root/remote/modules/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/dbus')
-rw-r--r--remote/modules/dbus/dbus.build22
-rw-r--r--remote/modules/dbus/dbus.conf9
-rw-r--r--remote/modules/dbus/dbus.conf.zypper9
3 files changed, 40 insertions, 0 deletions
diff --git a/remote/modules/dbus/dbus.build b/remote/modules/dbus/dbus.build
new file mode 100644
index 00000000..31c75fc9
--- /dev/null
+++ b/remote/modules/dbus/dbus.build
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+fetch_source() {
+ echo "Extracting from running system..."
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "${COPYLIST}" ] && rm "${COPYLIST}"
+
+ list_packet_files >> "${COPYLIST}"
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+
+}
+post_copy() {
+
+ # quick fix to get the unit files from the package
+ # moved them from lib/systemd to usr/lib/systemd
+ cd "${BUILDDIR}"
+ tarcopy lib/systemd "${TARGET_BUILD_DIR}"/usr
+ cd - &> /dev/null
+}
diff --git a/remote/modules/dbus/dbus.conf b/remote/modules/dbus/dbus.conf
new file mode 100644
index 00000000..a8c97d9c
--- /dev/null
+++ b/remote/modules/dbus/dbus.conf
@@ -0,0 +1,9 @@
+REQUIRED_PACKAGES="dbus"
+REQUIRED_BINARIES=" dbus-cleanup-sockets
+ dbus-daemon
+ dbus-uuidgen
+ dbus-monitor
+ dbus-send
+ dbus-daemon-launch-helper"
+REQUIRED_DIRECTORIES=" /etc/dbus-1"
+REQUIRED_FILES=" /etc/default/dbus"
diff --git a/remote/modules/dbus/dbus.conf.zypper b/remote/modules/dbus/dbus.conf.zypper
new file mode 100644
index 00000000..db7183c5
--- /dev/null
+++ b/remote/modules/dbus/dbus.conf.zypper
@@ -0,0 +1,9 @@
+REQUIRED_PACKAGES="dbus-1"
+REQUIRED_BINARIES=" dbus-cleanup-sockets
+ dbus-daemon
+ dbus-uuidgen
+ dbus-monitor
+ dbus-send
+ dbus-daemon-launch-helper"
+REQUIRED_DIRECTORIES=" /etc/dbus-1"
+REQUIRED_FILES=""