diff options
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/tools/dbus/dbus.build | 13 |
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 +} |
