From 01c9221bc127d0dae3ef03ef9b6116a39b81e507 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 1 Mar 2013 16:01:24 +0100 Subject: dbus: get the service files from the package, but move them to usr/lib --- remote/tools/dbus/dbus.build | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'remote') 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 +} -- cgit v1.2.3-55-g7522