summaryrefslogtreecommitdiffstats
path: root/remote/tools
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-01 16:01:24 +0100
committerJonathan Bauer2013-03-01 16:01:24 +0100
commit01c9221bc127d0dae3ef03ef9b6116a39b81e507 (patch)
tree934cfbed38234ea8af16bf36cfef7a0b0ded2c8e /remote/tools
parentbase: fix copy of pam modules (diff)
downloadtm-scripts-01c9221bc127d0dae3ef03ef9b6116a39b81e507.tar.gz
tm-scripts-01c9221bc127d0dae3ef03ef9b6116a39b81e507.tar.xz
tm-scripts-01c9221bc127d0dae3ef03ef9b6116a39b81e507.zip
dbus: get the service files from the package, but move them to usr/lib
Diffstat (limited to 'remote/tools')
-rw-r--r--remote/tools/dbus/dbus.build13
1 files changed, 6 insertions, 7 deletions
diff --git a/remote/tools/dbus/dbus.build b/remote/tools/dbus/dbus.build
index e0e03943..3a434fcf 100644
--- a/remote/tools/dbus/dbus.build
+++ b/remote/tools/dbus/dbus.build
@@ -12,15 +12,14 @@ build() {
list_packet_files >> "${COPYLIST}"
- # prepare target dir & copy there
- [ ! -d ${BUILDDIR} ] && mkdir -p ${BUILDDIR}
tarcopy "$(cat "${COPYLIST}" | sort -u)" "${BUILDDIR}"
}
post_copy() {
- # copy static dbus systemd unit files to stage3.2
- SYSTEMDDIR="${INIT_DIR}/etc/systemd/system"
- mkdir -p "${SYSTEMDDIR}"
- cp -r "${TOOL_DIR}/${TOOL}/data/"* "${INIT_DIR}" || perror "Copying data/* failed."
-}
+ # quick fix to get the unit files from the package
+ # moved them from lib/systemd to usr/lib/systemd
+ cd "${BUILDDIR}"
+ tarcopy lib/systemd "${INIT_DIR}"/usr
+ cd - &> /dev/null
+}