aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-07-02 12:05:18 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-07-02 12:06:27 +0300
commit8a4e3336184f3e320d913b73ecf789bd4ac96dec (patch)
treeb5fc898c574b1ab3a6c4b094892076fbc9a56997 /main/openrc
parent15db8c086e8bcb9532df5ca31687a1c41987cf0b (diff)
downloadaports-8a4e3336184f3e320d913b73ecf789bd4ac96dec.tar.bz2
aports-8a4e3336184f3e320d913b73ecf789bd4ac96dec.tar.xz
main/openrc: execute sysctl init script in lxc environments
Diffstat (limited to 'main/openrc')
-rw-r--r--main/openrc/0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch26
-rw-r--r--main/openrc/APKBUILD6
2 files changed, 31 insertions, 1 deletions
diff --git a/main/openrc/0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch b/main/openrc/0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch
new file mode 100644
index 0000000000..16dc694956
--- /dev/null
+++ b/main/openrc/0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch
@@ -0,0 +1,26 @@
+From d93684053a03f1babfaec323fde7a97812254bcc Mon Sep 17 00:00:00 2001
+From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+Date: Wed, 2 Jul 2014 11:45:14 +0300
+Subject: [PATCH] sysctl.Linux.in: remove lxc from exclusion list
+
+certain tunables can be set independently for each container
+---
+ init.d/sysctl.Linux.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/init.d/sysctl.Linux.in b/init.d/sysctl.Linux.in
+index 1ebce66..cda86b5 100644
+--- a/init.d/sysctl.Linux.in
++++ b/init.d/sysctl.Linux.in
+@@ -5,7 +5,7 @@
+ depend()
+ {
+ before bootmisc logger
+- keyword -lxc -prefix -vserver
++ keyword -prefix -vserver
+ }
+
+ start()
+--
+1.8.3.1
+
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index 9fb9884ef3..75b0687198 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openrc
pkgver=0.12.4
_ver=${pkgver/_git*/}
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git"
arch="all"
@@ -14,6 +14,7 @@ source="http://distfiles.gentoo.org/distfiles/$pkgname-$_ver.tar.bz2
openrc-0.4.3-mkmntdirs.patch
0001-Force-root-be-rw-before-localmount.patch
+ 0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch
swap-umount-tmpfs.patch
swap-ifexists.patch
begin-end-decls.patch
@@ -66,6 +67,7 @@ package() {
md5sums="6c89372f4bbbcb351ec9ee0b3b5ac0bd openrc-0.12.4.tar.bz2
8c2c1c2ee0509b63966b7187a2079f4b openrc-0.4.3-mkmntdirs.patch
4fd036ff07ed9ad7fb76af6a3ffc0695 0001-Force-root-be-rw-before-localmount.patch
+dc910534c79ebcb0dd76c634b2ff57c5 0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch
c2af5e52da614a6cef02d1e4d537e360 swap-umount-tmpfs.patch
1c426b84d13a725ad493647b5253f239 swap-ifexists.patch
00c0d99a19915fac57a20e5995f57bdb begin-end-decls.patch
@@ -79,6 +81,7 @@ c1ec888202d868710b5749f7b217d1e3 modloop.confd"
sha256sums="c4edda2fff4b613f50b9cc265bb457a9ab0170fbc1fe7c26eccd4a5d63b2625c openrc-0.12.4.tar.bz2
c807aed11d7eb42de5c421a6d117532f6215697f159f40cb3404bdc80270bee1 openrc-0.4.3-mkmntdirs.patch
e869e2076c10a7134f5d9e4ae4a5d09ca35c6333d400556f1e329170d2e58066 0001-Force-root-be-rw-before-localmount.patch
+984451737f15c7715b77ce8c9ff3ba4146b0b35032aa721dfdd2973e60751146 0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch
84d67ed2cf050e20f52d4ea048e7452e78356ba02b396d8c064a4458c0811ea4 swap-umount-tmpfs.patch
8978b00492d90b573f5254cc394582e8f1a5cd8b4d6c928fa0a9a022dd17fe9c swap-ifexists.patch
d3b20f5cb053ed24d7b76b75aeef98b9f2bc77401930fa934c9452fa634db18c begin-end-decls.patch
@@ -92,6 +95,7 @@ a5a0316cd59f5401b1d789bb466c98186201277ba6f014017b14965fcc10c254 modloop.confd"
sha512sums="14e188e382dfe02037d3e4211fa3265152d5ec92ca491b1e86154c0615583ddfc0a2592ca849ab453068dd60000886e57e7da024036fa58d7474acdbb6b92208 openrc-0.12.4.tar.bz2
eee27fbf72776fb70d3aa6c6464180731d522191e5755aa431ab09ea11dd11bf001a95618adcaa5ccc08455268003ca2917b2bff31adc9894214221c469a97db openrc-0.4.3-mkmntdirs.patch
51c77be5ab726d50ef1d0b9dab644edef1ff739e855e3a12ab27beada8911998e0c6a7491eb92df621dcdb633b672d933a4edc00115ec43bdf1271105239ebb7 0001-Force-root-be-rw-before-localmount.patch
+7713a532340f21ebd813b28cbcf6e86425822d5e3235935227cbadcd7ed6c674f909b293ae6abb44c6bd2884ff4b6b34a70e052fe273b593f560f39ec5f1f824 0001-sysctl.Linux.in-remove-lxc-from-exclusion-list.patch
8fd442d372401740b1c523367c928f49efa8179604aac2b517cdc4264daf303056d5a5e0a2c996db5e6ef9b7cdd0619a16cfabc15c3399e322384844e2a36542 swap-umount-tmpfs.patch
c5b8806c693b0ea48ff87e0e3669304f5c2f95954ad54814889047a933f367081a8c8d3bb771dd1ed6c3bc845df894232bd6b662066d09eba3abf3964187d1d1 swap-ifexists.patch
92788e88c0da278f6673df90cd34f8204b8226305f7ee3e43e33566f1c7b8ff819bba954d82c14305f4174a76398abe7e029ee99e816cc94963a65d42ec89c92 begin-end-decls.patch