summaryrefslogtreecommitdiffstats
path: root/remote/modules/consolekit/consolekit.build
diff options
context:
space:
mode:
authorJonathan Bauer2014-03-25 15:53:51 +0100
committerJonathan Bauer2014-03-25 15:53:51 +0100
commit2e77068a00a432f960103966148ca5e5a19dd517 (patch)
tree75c617096a8ae297a9ec7c83edecb25ab9147aba /remote/modules/consolekit/consolekit.build
parent[rootfs] forgot to rename rootfs-modules (diff)
downloadtm-scripts-2e77068a00a432f960103966148ca5e5a19dd517.tar.gz
tm-scripts-2e77068a00a432f960103966148ca5e5a19dd517.tar.xz
tm-scripts-2e77068a00a432f960103966148ca5e5a19dd517.zip
[consolekit] woops, delete old files
Diffstat (limited to 'remote/modules/consolekit/consolekit.build')
-rw-r--r--remote/modules/consolekit/consolekit.build28
1 files changed, 0 insertions, 28 deletions
diff --git a/remote/modules/consolekit/consolekit.build b/remote/modules/consolekit/consolekit.build
deleted file mode 100644
index 0c63ec6b..00000000
--- a/remote/modules/consolekit/consolekit.build
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-fetch_source() {
- pinfo "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}"
- # Systemd/dbus
- mkdir -p "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services" "$MODULE_BUILD_DIR/etc/systemd/system"
- local DAEMON=$(find "$MODULE_BUILD_DIR" -name console-kit-daemon -executable | head -n 1)
- DAEMON="${DAEMON#$MODULE_BUILD_DIR}"
- [ -z "$DAEMON" ] && perror "Could not find console-kit-daemon binary"
- sed "s,%DAEMON%,/$DAEMON,g" "templates/consolekit.systemd.service" > "$MODULE_BUILD_DIR/etc/systemd/system/console-kit-daemon.service" || perror "Could not generate systemd service"
- sed "s,%DAEMON%,/$DAEMON,g" "templates/consolekit.dbus.service" > "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service" || perror "Could not generate dbus service"
-}
-
-post_copy() {
- mkdir -p "${TARGET_BUILD_DIR}/usr/lib/ConsoleKit/run-seat.d"
- mkdir -p "${TARGET_BUILD_DIR}/etc/ConsoleKit/run-seat.d"
- mkdir -p "${TARGET_BUILD_DIR}/etc/ConsoleKit/run-session.d"
- mkdir -p "${TARGET_BUILD_DIR}/var/log/ConsoleKit"
-}
-