summaryrefslogtreecommitdiffstats
path: root/remote/modules/polkit
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/polkit')
-rw-r--r--remote/modules/polkit/polkit.build25
-rw-r--r--remote/modules/polkit/polkit.conf13
-rw-r--r--remote/modules/polkit/polkit.conf.debian19
-rw-r--r--remote/modules/polkit/polkit.conf.opensuse12
-rw-r--r--remote/modules/polkit/polkit.conf.ubuntu19
5 files changed, 0 insertions, 88 deletions
diff --git a/remote/modules/polkit/polkit.build b/remote/modules/polkit/polkit.build
deleted file mode 100644
index 10203209..00000000
--- a/remote/modules/polkit/polkit.build
+++ /dev/null
@@ -1,25 +0,0 @@
-#tool/distro specific functions for fetching, building and installing dependencies
-
-
-fetch_source () {
- pinfo "Extracting from running system..."
-}
-
-build () {
- local COPYLIST="$MODULE_DIR/list_dpkg_output"
- list_packet_files > "$COPYLIST"
- [ -n "$REQUIRED_DIR_STRUCT" ] && find $REQUIRED_DIR_STRUCT -type d >> "$COPYLIST"
- tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
- local POLPATH=$(find "$MODULE_BUILD_DIR" -name polkitd -executable | head -n 1)
- POLPATH="/${POLPATH#$MODULE_BUILD_DIR}"
- mkdir -p "$MODULE_BUILD_DIR/etc/systemd/system" "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services" "$MODULE_BUILD_DIR/var/lib/polkit"
- sed "s,%POLKITD%,${POLPATH},g" "templates/systemd.service" > "$MODULE_BUILD_DIR/etc/systemd/system/polkit.service" || perror "Could not generate polkit.service for systemd"
- sed "s,%POLKITD%,${POLPATH},g" "templates/dbus.service" > "$MODULE_BUILD_DIR/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service" || perror "Could not generate polkit.service for dbus"
-}
-
-post_copy() {
- #Add Polkit User/Group/Shadow to Stage3.2, required on opensuse
- pinfo "Adding polkitd user to target system..."
- add_user "polkitd"
-}
-
diff --git a/remote/modules/polkit/polkit.conf b/remote/modules/polkit/polkit.conf
deleted file mode 100644
index 97d4b892..00000000
--- a/remote/modules/polkit/polkit.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-REQUIRED_DIRECTORIES="
- /etc/pam.d
- /etc/polkit-1
- /usr/bin
- /usr/share/polkit-1
- /etc/dbus-1/system.d
-"
-REQUIRED_FILES="
- /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
- /etc/systemd/system/polkit.service
-"
-REQUIRED_LIBRARIES="libmozjs185"
-
diff --git a/remote/modules/polkit/polkit.conf.debian b/remote/modules/polkit/polkit.conf.debian
deleted file mode 100644
index 5684a504..00000000
--- a/remote/modules/polkit/polkit.conf.debian
+++ /dev/null
@@ -1,19 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- libmozjs185-1.0
- policykit-1
-"
-REQUIRED_CONTENT_PACKAGES="
- libmozjs185-1.0
- policykit-1
-"
-REQUIRED_DIRECTORIES+="
- /usr/lib/policykit-1
- /usr/lib/${ARCH_TRIPLET}/polkit-1
- /var/lib/polkit-1
-"
-# Module specific: Root of dirstructs we need directly from system
-REQUIRED_DIR_STRUCT="
- /var/lib/polkit-1
- /etc/polkit-1
-"
-
diff --git a/remote/modules/polkit/polkit.conf.opensuse b/remote/modules/polkit/polkit.conf.opensuse
deleted file mode 100644
index e7c1f369..00000000
--- a/remote/modules/polkit/polkit.conf.opensuse
+++ /dev/null
@@ -1,12 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- libmozjs185-1_0
-"
-REQUIRED_CONTENT_PACKAGES="
- libmozjs185-1_0
- polkit
-"
-REQUIRED_DIRECTORIES+="
- /usr/lib/polkit-1
- /var/lib/polkit
-"
-
diff --git a/remote/modules/polkit/polkit.conf.ubuntu b/remote/modules/polkit/polkit.conf.ubuntu
deleted file mode 100644
index eb2f88d1..00000000
--- a/remote/modules/polkit/polkit.conf.ubuntu
+++ /dev/null
@@ -1,19 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- libmozjs185-1.0
-"
-REQUIRED_CONTENT_PACKAGES="
- libmozjs185-1.0
- policykit-1
- policykit-desktop-privileges
-"
-REQUIRED_DIRECTORIES+="
- /usr/lib/policykit-1
- /usr${ARCH_LIB_DIR}/polkit-1
- /var/lib/polkit-1
-"
-# Module specific: Root of dirstructs we need directly from system
-REQUIRED_DIR_STRUCT="
- /var/lib/polkit-1
- /etc/polkit-1
-"
-