summaryrefslogtreecommitdiffstats
path: root/remote/modules/policykit
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/policykit')
-rw-r--r--remote/modules/policykit/data/etc/systemd/system/polkitd.service7
-rw-r--r--remote/modules/policykit/policykit.build24
-rw-r--r--remote/modules/policykit/policykit.conf11
-rw-r--r--remote/modules/policykit/policykit.conf.opensuse12
-rw-r--r--remote/modules/policykit/policykit.conf.ubuntu13
5 files changed, 0 insertions, 67 deletions
diff --git a/remote/modules/policykit/data/etc/systemd/system/polkitd.service b/remote/modules/policykit/data/etc/systemd/system/polkitd.service
deleted file mode 100644
index 2aeb3c48..00000000
--- a/remote/modules/policykit/data/etc/systemd/system/polkitd.service
+++ /dev/null
@@ -1,7 +0,0 @@
-[Unit]
-Description=Authenticate and Authorize Users to Run Privileged Tasks
-
-[Service]
-Type=dbus
-BusName=org.freedesktop.PolicyKit1
-ExecStart=%%POLKITD%% --no-debug
diff --git a/remote/modules/policykit/policykit.build b/remote/modules/policykit/policykit.build
deleted file mode 100644
index 52be1221..00000000
--- a/remote/modules/policykit/policykit.build
+++ /dev/null
@@ -1,24 +0,0 @@
-#tool/distro specific functions for fetching, building and installing dependencies
-
-
-fetch_source () {
- pinfo "Extracting from running system..."
-}
-
-build () {
- COPYLIST="$MODULE_DIR/list_dpkg_output"
- [ -e "${COPYLIST}" ] && rm "${COPYLIST}"
-
- list_packet_files >> "${COPYLIST}"
- tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
-}
-
-post_copy() {
- COPYLIST="$MODULE_DIR/list_dpkg_output"
- local POLPATH="$(grep '/polkitd$' "$COPYLIST" | head -1 | sed -e 's/[\/&]/\\&/g')"
- [ -n "$POLPATH" ] && sed -i "s/%%POLKITD%%/${POLPATH}/g" "$TARGET_BUILD_DIR/etc/systemd/system/polkitd.service"
- #Add Polkit User/Group/Shadow to Stage3.2
- pinfo "Adding polkitd user to target system..."
- add_user "polkitd"
-}
-
diff --git a/remote/modules/policykit/policykit.conf b/remote/modules/policykit/policykit.conf
deleted file mode 100644
index d1f5269e..00000000
--- a/remote/modules/policykit/policykit.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-REQUIRED_BINARIES=""
-REQUIRED_DIRECTORIES="
- /etc/pam.d
- /etc/dbus-1
- /etc/polkit-1
- /usr/bin
- /usr/share/dbus-1
- /usr/share/polkit-1
-"
-REQUIRED_FILES=""
-REQUIRED_LIBRARIES="libmozjs185"
diff --git a/remote/modules/policykit/policykit.conf.opensuse b/remote/modules/policykit/policykit.conf.opensuse
deleted file mode 100644
index f0a7d385..00000000
--- a/remote/modules/policykit/policykit.conf.opensuse
+++ /dev/null
@@ -1,12 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- libmozjs185-1_0
-"
-REQUIRED_CONTENT_PACKAGES="
- libmozjs185-1_0
- polkit
-"
-REQUIRED_BINARIES=""
-REQUIRED_DIRECTORIES+="
- /usr/lib/polkit-1
-"
-REQUIRED_FILES=""
diff --git a/remote/modules/policykit/policykit.conf.ubuntu b/remote/modules/policykit/policykit.conf.ubuntu
deleted file mode 100644
index 4bdd625d..00000000
--- a/remote/modules/policykit/policykit.conf.ubuntu
+++ /dev/null
@@ -1,13 +0,0 @@
-REQUIRED_INSTALLED_PACKAGES="
- libmozjs185-1.0
-"
-REQUIRED_CONTENT_PACKAGES="
- libmozjs185-1.0
- policykit-1
-"
-REQUIRED_BINARIES=""
-REQUIRED_FILES=""
-REQUIRED_DIRECTORIES+="
- /usr/lib/policykit-1
- /usr${ARCH_LIB_DIR}/polkit-1
-"