From bae5ec1ed4ca07b552d6523e424a0ace5fa86933 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 3 Sep 2013 17:42:51 +0200 Subject: Add consolekit and polkit --- .../data/etc/systemd/system/polkitd.service | 7 ------- remote/modules/policykit/policykit.build | 24 ---------------------- remote/modules/policykit/policykit.conf | 11 ---------- remote/modules/policykit/policykit.conf.opensuse | 12 ----------- remote/modules/policykit/policykit.conf.ubuntu | 13 ------------ 5 files changed, 67 deletions(-) delete mode 100644 remote/modules/policykit/data/etc/systemd/system/polkitd.service delete mode 100644 remote/modules/policykit/policykit.build delete mode 100644 remote/modules/policykit/policykit.conf delete mode 100644 remote/modules/policykit/policykit.conf.opensuse delete mode 100644 remote/modules/policykit/policykit.conf.ubuntu (limited to 'remote/modules/policykit') 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 -" -- cgit v1.2.3-55-g7522