commit
b2e00bd0d3
3 changed files with 20 additions and 3 deletions
|
@ -1475,3 +1475,4 @@ libgwengui-cpp.so.0 gwenhywfar-4.10.0beta_1
|
||||||
libaqbanking.so.34 aqbanking-5.0.25_1
|
libaqbanking.so.34 aqbanking-5.0.25_1
|
||||||
libxmlsec1.so.1 xmlsec1-1.2.19_1
|
libxmlsec1.so.1 xmlsec1-1.2.19_1
|
||||||
libcheck.so.0 check-0.9.12_1
|
libcheck.so.0 check-0.9.12_1
|
||||||
|
liblxc.so.1 liblxc-1.0.0_1
|
||||||
|
|
11
srcpkgs/lxc/files/service
Normal file
11
srcpkgs/lxc/files/service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=%i LXC
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/bin/lxc-start -d -n %i
|
||||||
|
ExecStop=/usr/bin/lxc-stop -n %i
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -2,8 +2,8 @@
|
||||||
_desc="Linux Containers"
|
_desc="Linux Containers"
|
||||||
|
|
||||||
pkgname=lxc
|
pkgname=lxc
|
||||||
version=0.9.0
|
version=1.0.0
|
||||||
revision=2
|
revision=1
|
||||||
conf_files="/etc/lxc/default.conf"
|
conf_files="/etc/lxc/default.conf"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
||||||
|
@ -15,7 +15,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://linuxcontainers.org"
|
homepage="http://linuxcontainers.org"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
||||||
checksum=1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120
|
checksum=0992212ddaad01dfe8c048e130566b73dd5f34191585f36bdac07a4f8a91f3bd
|
||||||
|
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/lib/lxc 0755 root root
|
/var/lib/lxc 0755 root root
|
||||||
|
@ -23,6 +23,7 @@ make_dirs="
|
||||||
/var/lxc/log 0755 root root"
|
/var/lxc/log 0755 root root"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
sed -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' -i configure
|
||||||
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,3 +43,7 @@ lxc-devel_package() {
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc@.service
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue