forked from pool/lxcfs
48 lines
1.4 KiB
Diff
48 lines
1.4 KiB
Diff
|
From 00d7fdd826af7afd37f18d99e371bd0aeb1afb79 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= <glen@delfi.ee>
|
||
|
Date: Fri, 26 Aug 2016 00:18:46 +0300
|
||
|
Subject: [PATCH 16/24] add pld linux support
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Signed-off-by: Elan Ruusamäe <glen@delfi.ee>
|
||
|
---
|
||
|
configure.ac | 6 +++++-
|
||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/configure.ac b/configure.ac
|
||
|
index dae4218..6c5c8be 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -66,6 +66,7 @@ if test "z$with_distro" = "z"; then
|
||
|
AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="openmandriva")
|
||
|
AC_CHECK_FILE(/etc/mandriva-release,with_distro="openmandriva")
|
||
|
AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
|
||
|
+ AC_CHECK_FILE(/etc/pld-release,with_distro="pld")
|
||
|
fi
|
||
|
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`
|
||
|
|
||
|
@@ -76,7 +77,7 @@ case $with_distro in
|
||
|
ubuntu)
|
||
|
distroconf=default.conf.ubuntu
|
||
|
;;
|
||
|
- redhat|centos|fedora|oracle|oracleserver)
|
||
|
+ redhat|centos|fedora|oracle|oracleserver|pld)
|
||
|
distroconf=default.conf.libvirt
|
||
|
;;
|
||
|
*)
|
||
|
@@ -108,6 +109,9 @@ case "$with_init_script" in
|
||
|
ubuntu)
|
||
|
init_script=upstart,systemd,sysvinit
|
||
|
;;
|
||
|
+ pld)
|
||
|
+ init_script=systemd,sysvinit
|
||
|
+ ;;
|
||
|
slackware)
|
||
|
echo -n "Warning: bsd init job not yet implemented"
|
||
|
init_script=
|
||
|
--
|
||
|
2.9.3
|
||
|
|