pgbackrest.git / summary / log / commit / refs
commit 5dfd00bb6ce0d6d2ead0ba6c899c18983f9a7ac9
Author: David Steele <david@pgmasters.net>
Date: Wed May 18 12:18:34 2022 +0000
Fix RHEL container build for documentation.
For some reason /lib/systemd/system/sysinit.target.wants no longer exists in the rockylinux:8 container.
Create this directory explicitly in case it does not exist.
doc/xml/user-guide.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml
index 88e1b13dd..51d9b7d3d 100644
--- a/doc/xml/user-guide.xml
+++ b/doc/xml/user-guide.xml
@@ -337,7 +337,8 @@
{[copy-ca-cert]}
- RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
+ RUN mkdir -p /lib/systemd/system/sysinit.target.wants && \
+ (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
[parent: 5360f2ec0af0]