]> git.pld-linux.org Git - packages/lxc.git/blob - lxc-pld.patch
- fix build on x32
[packages/lxc.git] / lxc-pld.patch
1 --- configure.ac.orig   2016-08-16 04:37:55.000000000 +0200
2 +++ configure.ac        2016-08-20 12:05:05.962758223 +0200
3 @@ -57,6 +57,7 @@
4         AC_CHECK_FILE(/etc/mandriva-release,with_distro="openmandriva")
5         AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
6         AC_CHECK_FILE(/etc/altlinux-release,with_distro="altlinux")
7 +       AC_CHECK_FILE(/etc/pld-release,with_distro="pld")
8  fi
9  with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`
10  
11 @@ -72,7 +73,7 @@
12                 distroconf=default.conf.lxcbr
13                 distrosysconf="$sysconfdir/default"
14                 ;;
15 -       redhat|centos|fedora|oracle|oracleserver|sparclinux|altlinux|suse|opensuse*|plamo)
16 +       redhat|centos|fedora|oracle|oracleserver|sparclinux|altlinux|suse|opensuse*|plamo|pld)
17                 distroconf=default.conf.lxcbr
18                 distrosysconf="$sysconfdir/sysconfig"
19                 ;;
20 @@ -108,6 +109,9 @@
21                         ubuntu)
22                                 init_script=upstart,systemd
23                                 ;;
24 +                       pld)
25 +                               init_script=sysvinit,upstart,systemd
26 +                               ;;
27                         *)
28                                 echo -n "Linux distribution init system unknown."
29                                 init_script=
30 @@ -168,7 +172,7 @@
31  
32  if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
33         db2xman=""
34 -       dbparsers="docbook2x-man db2x_docbook2man docbook2man docbook-to-man"
35 +       dbparsers="docbook2X2man docbook2x-man db2x_docbook2man docbook2man docbook-to-man"
36  
37         AC_MSG_CHECKING(for docbook2x-man)
38         for name in ${dbparsers}; do
39 @@ -834,6 +838,7 @@
40         templates/lxc-opensuse
41         templates/lxc-oracle
42         templates/lxc-plamo
43 +       templates/lxc-pld
44         templates/lxc-slackware
45         templates/lxc-sshd
46         templates/lxc-ubuntu
47 --- templates/Makefile.am.orig  2016-08-20 11:55:34.232752000 +0200
48 +++ templates/Makefile.am       2016-08-20 11:57:12.522753070 +0200
49 @@ -15,6 +15,7 @@
50         lxc-opensuse \
51         lxc-oracle \
52         lxc-plamo \
53 +       lxc-pld \
54         lxc-slackware \
55         lxc-sshd \
56         lxc-ubuntu \
This page took 0.060352 seconds and 3 git commands to generate.