pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libvirt: Always install systemd files on Linux



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <sjmulder%NetBSD.org@localhost>
Pushed By:	sjmulder
Date:		Tue Aug 10 15:04:57 2021 +0200
Changeset:	337dc4041d45481336d0b222c8043fdbcc4b7d0b

Modified Files:
	libvirt/Makefile

Log Message:
libvirt: Always install systemd files on Linux

Prevents PLIST mismatches. The units files do no harm when using
another init system.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=337dc4041d45481336d0b222c8043fdbcc4b7d0b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libvirt/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diffs:
diff --git a/libvirt/Makefile b/libvirt/Makefile
index 97a92b205b..4371041c8f 100644
--- a/libvirt/Makefile
+++ b/libvirt/Makefile
@@ -49,7 +49,9 @@ CONFIGURE_ARGS+=	--with-libpcap=yes
 CONFIGURE_ARGS+=	--with-libxml=yes
 CONFIGURE_ARGS+=	--with-yajl=yes
 
-CONFIGURE_ARGS+=	--with-sysctl=check
+# 'check' is default, but here for reference
+#CONFIGURE_ARGS+=	--with-sysctl=check
+#CONFIGURE_ARGS+=	--with-init-script=check
 
 CONFIGURE_ARGS+=	--with-apparmor=no
 CONFIGURE_ARGS+=	--with-attr=no
@@ -115,6 +117,9 @@ CONFIGURE_ARGS+=	--with-storage-vstorage=no
 
 CONFIGURE_ARGS.NetBSD+=	--with-qemu-group=wheel
 
+# Unit files for all distros, harmless for other inits.
+CONFIGURE_ARGS.Linux+=	--with-init-script=systemd
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "Linux"


Home | Main Index | Thread Index | Old Index