[gnome-build-meta/mcatanzaro/proxymech.conf: 3/3] sdk/gssproxy.bst: add workaround for 0 mtime
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/mcatanzaro/proxymech.conf: 3/3] sdk/gssproxy.bst: add workaround for 0 mtime
- Date: Thu, 19 May 2022 15:27:19 +0000 (UTC)
commit 7077551eda149a2b98d9f53494e7af5da80a0c31
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Wed May 18 17:01:43 2022 -0500
sdk/gssproxy.bst: add workaround for 0 mtime
We need to move proxymech.conf out of /etc so that it is part of the
image, since ostree-overlaid stuff gets 0 mtime. It won't be loaded if
the mtime is not as expected.
Hopefully fixes #503
Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1606>
elements/sdk/gssproxy.bst | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/elements/sdk/gssproxy.bst b/elements/sdk/gssproxy.bst
index b635b5ecd..11f650d79 100644
--- a/elements/sdk/gssproxy.bst
+++ b/elements/sdk/gssproxy.bst
@@ -19,3 +19,13 @@ variables:
--enable-only-gss-module
--with-gpp-default-behavior=REMOTE_FIRST
--with-manpages=no
+
+# We have a nonstandard install location for proxymech.conf so that it works
+# under ostree. See gnome-build-meta#503.
+config:
+ install-commands:
+ (>):
+ - mkdir -p %{install-root}%{indep-libdir}/gss/mech.d
+ - mv %{install-root}%{sysconfdir}/gss/mech.d/proxymech.conf %{install-root}%{indep-libdir}/gss/mech.d/
+ - rmdir %{install-root}%{sysconfdir}/gss/mech.d/
+ - ln -s %{install-root}%{indep-libdir}/gss/mech.d/ %{install-root}%{sysconfdir}/gss/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]