c62b8e
From ce45cf8651fabe48a75d8773dbdbf68f3dc77137 Mon Sep 17 00:00:00 2001
c62b8e
From: David Tardon <dtardon@redhat.com>
c62b8e
Date: Tue, 15 Jan 2019 19:05:41 +0100
c62b8e
Subject: [PATCH] artificially serialize building of .policy files
c62b8e
c62b8e
This avoids concurrent write access to translation cache by
c62b8e
intltool-merge.
c62b8e
c62b8e
Resolves: #1272485
c62b8e
---
c62b8e
 Makefile.am | 10 ++++++++++
c62b8e
 1 file changed, 10 insertions(+)
c62b8e
c62b8e
diff --git a/Makefile.am b/Makefile.am
c62b8e
index 40ebbe98ee..995c421b8b 100644
c62b8e
--- a/Makefile.am
c62b8e
+++ b/Makefile.am
c62b8e
@@ -653,6 +653,16 @@ dist_doc_DATA = \
c62b8e
 
c62b8e
 @INTLTOOL_POLICY_RULE@
c62b8e
 
c62b8e
+# Force serial build of policy files
c62b8e
+# Note that this ignores the fact that almost all of these files are only built optionally,
c62b8e
+# but a change in configure options is extremely unlikely at this point.
c62b8e
+src/core/org.freedesktop.systemd1.policy : src/hostname/org.freedesktop.hostname1.policy
c62b8e
+src/hostname/org.freedesktop.hostname1.policy : src/import/org.freedesktop.import1.policy
c62b8e
+src/import/org.freedesktop.import1.policy : src/locale/org.freedesktop.locale1.policy
c62b8e
+src/locale/org.freedesktop.locale1.policy : src/login/org.freedesktop.login1.policy
c62b8e
+src/login/org.freedesktop.login1.policy : src/machine/org.freedesktop.machine1.policy
c62b8e
+src/machine/org.freedesktop.machine1.policy : src/timedate/org.freedesktop.timedate1.policy
c62b8e
+
c62b8e
 # ------------------------------------------------------------------------------
c62b8e
 
c62b8e
 MANPAGES =