summaryrefslogtreecommitdiffstats
path: root/remote/modules/dbus/dbus.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-14 18:30:10 +0100
committerJonathan Bauer2013-03-14 18:30:10 +0100
commit765e0502c315d250ab8f671bc726fef6f63a026a (patch)
treee5624ec583c98fd3202caefad9b37289d9cad348 /remote/modules/dbus/dbus.build
parentbase -> base32 and started new base31 (diff)
downloadtm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.tar.gz
tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.tar.xz
tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.zip
restructuring...
Diffstat (limited to 'remote/modules/dbus/dbus.build')
-rw-r--r--remote/modules/dbus/dbus.build22
1 files changed, 22 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
+}