diff options
Diffstat (limited to 'meta-gnome/recipes-extended/gparted/files/0001-Install-polkit-action-unconditionally-executable-pke.patch')
-rw-r--r-- | meta-gnome/recipes-extended/gparted/files/0001-Install-polkit-action-unconditionally-executable-pke.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-gnome/recipes-extended/gparted/files/0001-Install-polkit-action-unconditionally-executable-pke.patch b/meta-gnome/recipes-extended/gparted/files/0001-Install-polkit-action-unconditionally-executable-pke.patch new file mode 100644 index 0000000000..a7fc4d5973 --- /dev/null +++ b/meta-gnome/recipes-extended/gparted/files/0001-Install-polkit-action-unconditionally-executable-pke.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 79fd11f1d8e4827ae8aee03420a5c92038fe4ef5 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Wed, 26 Feb 2020 20:25:06 +0100 | ||
4 | Subject: [PATCH] Install polkit action unconditionally - executable pkexec is | ||
5 | not in our sysroot | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Upstream-Status: Inappropriate [OE-specific] | ||
11 | |||
12 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
13 | --- | ||
14 | configure.ac | 17 +---------------- | ||
15 | 1 file changed, 1 insertion(+), 16 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 43503ac..b339ee5 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -24,22 +24,7 @@ dnl====================== | ||
22 | dnl Find graphical privilege escalation program | ||
23 | dnl====================== | ||
24 | dnl Check for pkexec >= 0.102 for it's ability to run X11 apps. | ||
25 | -AM_CONDITIONAL([INSTALL_POLKIT_ACTIONS], false) | ||
26 | -PKEXEC_REQUIRED_VERSION='0.102' | ||
27 | -AC_MSG_CHECKING([for pkexec >= $PKEXEC_REQUIRED_VERSION]) | ||
28 | -PKEXEC_REQUIRED_INT=`echo "$PKEXEC_REQUIRED_VERSION" | $AWK -F. '{print $1 * 10000 + $2}'` | ||
29 | -PKEXEC_VERSION_OUTPUT=`pkexec --version 2> /dev/null` || | ||
30 | - AC_MSG_RESULT([not found]) | ||
31 | -if test "x$PKEXEC_VERSION_OUTPUT" != 'x'; then | ||
32 | - PKEXEC_FOUND_VERSION=`echo "$PKEXEC_VERSION_OUTPUT" | head -1 | cut -d' ' -f3` | ||
33 | - PKEXEC_FOUND_INT=`echo "$PKEXEC_FOUND_VERSION" | $AWK -F. '{print $1 * 10000 + $2}'` | ||
34 | - AC_MSG_RESULT([$PKEXEC_FOUND_VERSION found]) | ||
35 | - if test "$PKEXEC_FOUND_INT" -ge "$PKEXEC_REQUIRED_INT"; then | ||
36 | - GKSUPROG='pkexec --disable-internal-agent' | ||
37 | - AC_SUBST([GKSUPROG]) | ||
38 | - AM_CONDITIONAL([INSTALL_POLKIT_ACTIONS], true) | ||
39 | - fi | ||
40 | -fi | ||
41 | +AM_CONDITIONAL([INSTALL_POLKIT_ACTIONS], true) | ||
42 | |||
43 | dnl Check for alternative graphical privilege escalation programs. | ||
44 | if test "x$GKSUPROG" = 'x'; then | ||
45 | -- | ||
46 | 2.21.0 | ||
47 | |||