[gnome-build-meta/mcatanzaro/proxymech.conf] sdk/gssproxy.bst: add workaround for 0 mtime
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/mcatanzaro/proxymech.conf] sdk/gssproxy.bst: add workaround for 0 mtime
- Date: Wed, 18 May 2022 22:04:53 +0000 (UTC)
commit 5fa674ccd6ee8bc63be46285c7b3569d3e3e3c4e
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
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]