polkit/polkit-adjust-libexec-path.patch
Marcus Meissner 0baef1ca5f Accepting request 860113 from home:mgerstner:branches:Base:System
move to libexec dir is still not complete:
- add polkit-adjust-libexec-path.patch: There is another hard coded reference
  of lib/ in the code that this patch addresses.
- also adjust invocation of %set_permissions and %verify_permissions to new
  libexec dir location.

OBS-URL: https://build.opensuse.org/request/show/860113
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=147
2021-01-04 10:16:58 +00:00

14 lines
544 B
Diff

Index: polkit-0.118/src/polkitagent/polkitagentsession.c
===================================================================
--- polkit-0.118.orig/src/polkitagent/polkitagentsession.c
+++ polkit-0.118/src/polkitagent/polkitagentsession.c
@@ -596,7 +596,7 @@ polkit_agent_session_initiate (PolkitAge
goto error;
}
- helper_argv[0] = PACKAGE_PREFIX "/lib/polkit-1/polkit-agent-helper-1";
+ helper_argv[0] = PACKAGE_PREFIX "/libexec/polkit-1/polkit-agent-helper-1";
helper_argv[1] = passwd->pw_name;
helper_argv[2] = NULL;