summaryrefslogtreecommitdiffstats
path: root/remote/modules/udisks
diff options
context:
space:
mode:
authorJonathan Bauer2014-03-25 16:05:27 +0100
committerJonathan Bauer2014-03-25 16:05:27 +0100
commit249e951ce236e3bbeb32b5a943215524a81f42f2 (patch)
treee7538724066c4a0330f2e6588e956680613bff57 /remote/modules/udisks
parent[consolekit] woops, delete old files (diff)
downloadtm-scripts-249e951ce236e3bbeb32b5a943215524a81f42f2.tar.gz
tm-scripts-249e951ce236e3bbeb32b5a943215524a81f42f2.tar.xz
tm-scripts-249e951ce236e3bbeb32b5a943215524a81f42f2.zip
woopsie, the return ;)
Diffstat (limited to 'remote/modules/udisks')
-rw-r--r--remote/modules/udisks/udisks.build53
-rw-r--r--remote/modules/udisks/udisks.conf14
-rw-r--r--remote/modules/udisks/udisks.conf.debian32
-rw-r--r--remote/modules/udisks/udisks.conf.opensuse7
-rw-r--r--remote/modules/udisks/udisks.conf.ubuntu34
-rw-r--r--remote/modules/udisks/udisks.conf.ubuntu.1231
6 files changed, 0 insertions, 171 deletions
diff --git a/remote/modules/udisks/udisks.build b/remote/modules/udisks/udisks.build
deleted file mode 100644
index ab9df016..00000000
--- a/remote/modules/udisks/udisks.build
+++ /dev/null
@@ -1,53 +0,0 @@
-
-fetch_source () {
- :
-}
-
-build () {
- COPYLIST="list_dpkg_output"
- rm -f "$COPYLIST"
-
- list_packet_files >> "$COPYLIST"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "$MODULE_BUILD_DIR"
- if [ -d "$MODULE_BUILD_DIR/lib/udev" ]; then
- cp -a "$MODULE_BUILD_DIR/lib/udev" "$MODULE_BUILD_DIR/usr/lib/" || perror "Could not move /lib/udev to /usr/lib/udev"
- fi
- mkdir -p "$MODULE_BUILD_DIR/etc/systemd/system/basic.target.wants" "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services"
- local FOUND=no
- local BINARY=$(find "$MODULE_BUILD_DIR" -name udisksd -executable | head -n 1)
- [ -z "$BINARY" ] && BINARY=$(find "$MODULE_BUILD_DIR" -name udisks2d -executable | head -n 1)
- [ -z "$BINARY" ] && BINARY=$(find "$MODULE_BUILD_DIR" -name udisksd2 -executable | head -n 1)
- VER=none
- if [ -n "$BINARY" ]; then
- VER=udisks
- [[ "$BINARY" == *udisks2* || -d "$MODULE_BUILD_DIR/usr/lib/udisks2" ]] && VER=udisks2
- create_udisks_service "$VER" "$BINARY"
- FOUND=yes
- fi
- if [ "$VER" != "udisks" ]; then
- BINARY=$(find "$MODULE_BUILD_DIR" -name udisks-daemon -executable | head -n 1)
- [ "$VER" == "none" -a -z "$BINARY" ] && perror "Could not determine the udisks(1/2) daemon binary from inspecting $MODULE_BUILD_DIR"
- [ -n "$BINARY" ] && create_udisks_service "udisks" "$BINARY"
- fi
-}
-
-post_copy () {
- :
-}
-
-create_udisks_service () {
- [ $# -ne 2 ] && perror "Call create_udisks_service with TWO params!"
- local BINARY="/${2#$MODULE_BUILD_DIR}"
- if [ "$1" == "udisks2" ]; then
- # assume udisks v2
- sed "s,%UDISKSD%,$BINARY,g" templates/udisks2.systemd.service > "$MODULE_BUILD_DIR/etc/systemd/system/udisks2.service" || perror "Error creating systemd service for udisks2 $BINARY"
- sed "s,%UDISKSD%,$BINARY,g" templates/udisks2.dbus.service > "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service" || perror "Error creating dbus service for udisks2"
- ln -s "../udisks2.service" "$MODULE_BUILD_DIR/etc/systemd/system/basic.target.wants/udisks2.service"
- else
- # assume udisks v1
- sed "s,%UDISKSD%,$BINARY,g" templates/udisks.systemd.service > "$MODULE_BUILD_DIR/etc/systemd/system/udisks.service" || perror "Error creating systemd service for udisks $BINARY"
- sed "s,%UDISKSD%,$BINARY,g" templates/udisks.dbus.service > "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service" || perror "Error creating dbus service for udisks"
- ln -s "../udisks.service" "$MODULE_BUILD_DIR/etc/systemd/system/basic.target.wants/udisks.service"
- fi
-}
-
diff --git a/remote/modules/udisks/udisks.conf b/remote/modules/udisks/udisks.conf
deleted file mode 100644
index 8ef6f29c..00000000
--- a/remote/modules/udisks/udisks.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-# This module is a little special, as it's supposed to be compatible
-# with udisks 1 and 2. suse 12.3 and ubuntu 13.04 use udisks2, ubuntu 12.04
-# uses udisks1. The build script looks a little hacky
-REQUIRED_DIRECTORIES="
- /etc/dbus-1
- /usr/lib/udev/rules.d
- /usr/share/dbus-1
- /usr/share/polkit-1
- /etc/systemd/system
-"
-REQUIRED_BINARIES="
- udisksd
-"
-
diff --git a/remote/modules/udisks/udisks.conf.debian b/remote/modules/udisks/udisks.conf.debian
deleted file mode 100644
index c32a5f24..00000000
--- a/remote/modules/udisks/udisks.conf.debian
+++ /dev/null
@@ -1,32 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- udisks
-"
-REQUIRED_CONTENT_PACKAGES="
- udisks
-"
-# Override: Only udisks1 is available
-REQUIRED_BINARIES="
- udisks-helper-linux-md-check
- udisks-daemon
- udisks-helper-change-luks-password
- udisks-helper-create-partition-table
- udisks-helper-mdadm-expand
- udisks-helper-drive-benchmark
- udisks-helper-drive-detach
- udisks-helper-mkfs
- udisks-helper-ata-smart-collect
- udisks-helper-change-filesystem-label
- udisks-helper-modify-partition
- udisks-helper-delete-partition
- udisks-helper-create-partition
- udisks-helper-fstab-mounter
- udisks-helper-linux-md-remove-component
- udisks-helper-ata-smart-selftest
- udisks-helper-drive-poll
- udisks-dm-export
- udisks-lvm-pv-export
- udisks-part-id
- udisks-probe-ata-smart
- udisks-probe-sas-expander
-"
-
diff --git a/remote/modules/udisks/udisks.conf.opensuse b/remote/modules/udisks/udisks.conf.opensuse
deleted file mode 100644
index abf12be7..00000000
--- a/remote/modules/udisks/udisks.conf.opensuse
+++ /dev/null
@@ -1,7 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- udisks2
-"
-REQUIRED_CONTENT_PACKAGES="
- udisks2
-"
-
diff --git a/remote/modules/udisks/udisks.conf.ubuntu b/remote/modules/udisks/udisks.conf.ubuntu
deleted file mode 100644
index 3d127619..00000000
--- a/remote/modules/udisks/udisks.conf.ubuntu
+++ /dev/null
@@ -1,34 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- udisks
- udisks2
-"
-REQUIRED_CONTENT_PACKAGES="
- udisks
- udisks2
-"
-# Add these for udisks 1 (required by kde)
-REQUIRED_BINARIES+="
- udisks-helper-linux-md-check
- udisks-daemon
- udisks-helper-change-luks-password
- udisks-helper-create-partition-table
- udisks-helper-mdadm-expand
- udisks-helper-drive-benchmark
- udisks-helper-drive-detach
- udisks-helper-mkfs
- udisks-helper-ata-smart-collect
- udisks-helper-change-filesystem-label
- udisks-helper-modify-partition
- udisks-helper-delete-partition
- udisks-helper-create-partition
- udisks-helper-fstab-mounter
- udisks-helper-linux-md-remove-component
- udisks-helper-ata-smart-selftest
- udisks-helper-drive-poll
- udisks-dm-export
- udisks-lvm-pv-export
- udisks-part-id
- udisks-probe-ata-smart
- udisks-probe-sas-expander
-"
-
diff --git a/remote/modules/udisks/udisks.conf.ubuntu.12 b/remote/modules/udisks/udisks.conf.ubuntu.12
deleted file mode 100644
index b962ec65..00000000
--- a/remote/modules/udisks/udisks.conf.ubuntu.12
+++ /dev/null
@@ -1,31 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- udisks
-"
-REQUIRED_CONTENT_PACKAGES="
- udisks
-"
-REQUIRED_BINARIES="
- udisks-helper-linux-md-check
- udisks-daemon
- udisks-helper-change-luks-password
- udisks-helper-create-partition-table
- udisks-helper-mdadm-expand
- udisks-helper-drive-benchmark
- udisks-helper-drive-detach
- udisks-helper-mkfs
- udisks-helper-ata-smart-collect
- udisks-helper-change-filesystem-label
- udisks-helper-modify-partition
- udisks-helper-delete-partition
- udisks-helper-create-partition
- udisks-helper-fstab-mounter
- udisks-helper-linux-md-remove-component
- udisks-helper-ata-smart-selftest
- udisks-helper-drive-poll
- udisks-dm-export
- udisks-lvm-pv-export
- udisks-part-id
- udisks-probe-ata-smart
- udisks-probe-sas-expander
-"
-