[lxc-devel] [lxcfs/master] add pld linux support

glensc on Github lxc-bot at linuxcontainers.org
Thu Aug 25 21:19:48 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 302 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160825/f5a83529/attachment.bin>
-------------- next part --------------
From 00d7fdd826af7afd37f18d99e371bd0aeb1afb79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= <glen at delfi.ee>
Date: Fri, 26 Aug 2016 00:18:46 +0300
Subject: [PATCH] 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 at 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=


More information about the lxc-devel mailing list