Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
487ea5f6
Commit
487ea5f6
authored
Aug 20, 2016
by
Elan Ruusamäe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
templates: add PLD Linux support
from pld-linux repo:
https://github.com/pld-linux/lxc/commits/auto/th/lxc-2.0.4-1/lxc-pld.in.sh
https://github.com/pld-linux/lxc/commits/auto/th/lxc-2.0.4-1/lxc-pld.patch
Signed-off-by:
Elan Ruusamäe
<
glen@delfi.ee
>
parent
f39f2eaa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
configure.ac
configure.ac
+7
-2
Makefile.am
templates/Makefile.am
+1
-0
lxc-pld.in
templates/lxc-pld.in
+0
-0
No files found.
configure.ac
View file @
487ea5f6
...
@@ -57,6 +57,7 @@ if test "z$with_distro" = "z"; then
...
@@ -57,6 +57,7 @@ if test "z$with_distro" = "z"; then
AC_CHECK_FILE(/etc/mandriva-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/pardus-release,with_distro="pardus")
AC_CHECK_FILE(/etc/altlinux-release,with_distro="altlinux")
AC_CHECK_FILE(/etc/altlinux-release,with_distro="altlinux")
AC_CHECK_FILE(/etc/pld-release,with_distro="pld")
fi
fi
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`
...
@@ -72,7 +73,7 @@ case $with_distro in
...
@@ -72,7 +73,7 @@ case $with_distro in
distroconf=default.conf.lxcbr
distroconf=default.conf.lxcbr
distrosysconf="$sysconfdir/default"
distrosysconf="$sysconfdir/default"
;;
;;
redhat|centos|fedora|oracle|oracleserver|sparclinux|altlinux|suse|opensuse*|plamo)
redhat|centos|fedora|oracle|oracleserver|sparclinux|altlinux|suse|opensuse*|plamo
|pld
)
distroconf=default.conf.lxcbr
distroconf=default.conf.lxcbr
distrosysconf="$sysconfdir/sysconfig"
distrosysconf="$sysconfdir/sysconfig"
;;
;;
...
@@ -108,6 +109,9 @@ case "$with_init_script" in
...
@@ -108,6 +109,9 @@ case "$with_init_script" in
ubuntu)
ubuntu)
init_script=upstart,systemd
init_script=upstart,systemd
;;
;;
pld)
init_script=sysvinit,upstart,systemd
;;
*)
*)
echo -n "Linux distribution init system unknown."
echo -n "Linux distribution init system unknown."
init_script=
init_script=
...
@@ -168,7 +172,7 @@ AC_ARG_ENABLE([doc],
...
@@ -168,7 +172,7 @@ AC_ARG_ENABLE([doc],
if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
db2xman=""
db2xman=""
dbparsers="docbook2x-man db2x_docbook2man docbook2man docbook-to-man"
dbparsers="docbook2
X2man docbook2
x-man db2x_docbook2man docbook2man docbook-to-man"
AC_MSG_CHECKING(for docbook2x-man)
AC_MSG_CHECKING(for docbook2x-man)
for name in ${dbparsers}; do
for name in ${dbparsers}; do
...
@@ -834,6 +838,7 @@ AC_CONFIG_FILES([
...
@@ -834,6 +838,7 @@ AC_CONFIG_FILES([
templates/lxc-opensuse
templates/lxc-opensuse
templates/lxc-oracle
templates/lxc-oracle
templates/lxc-plamo
templates/lxc-plamo
templates/lxc-pld
templates/lxc-slackware
templates/lxc-slackware
templates/lxc-sshd
templates/lxc-sshd
templates/lxc-ubuntu
templates/lxc-ubuntu
...
...
templates/Makefile.am
View file @
487ea5f6
...
@@ -15,6 +15,7 @@ templates_SCRIPTS = \
...
@@ -15,6 +15,7 @@ templates_SCRIPTS = \
lxc-opensuse
\
lxc-opensuse
\
lxc-oracle
\
lxc-oracle
\
lxc-plamo
\
lxc-plamo
\
lxc-pld
\
lxc-slackware
\
lxc-slackware
\
lxc-sshd
\
lxc-sshd
\
lxc-ubuntu
\
lxc-ubuntu
\
...
...
templates/lxc-pld.in
0 → 100644
View file @
487ea5f6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment