diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-01-29 21:32:30 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-01-29 21:32:30 +0200 |
commit | 78135f86ed784b75a588a89d62a37f9bc78566be (patch) | |
tree | caa9d1b88a863d9520f0c90e273e395abd83d9f7 /main/lxc | |
parent | 82e2379d3e147b45892dbb5b43111b977878fea3 (diff) | |
download | aports-78135f86ed784b75a588a89d62a37f9bc78566be.tar.bz2 aports-78135f86ed784b75a588a89d62a37f9bc78566be.tar.xz |
main/lxc: lxc-alpine: mount tmpfs on /dev/shm
Diffstat (limited to 'main/lxc')
-rw-r--r-- | main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch | 28 | ||||
-rw-r--r-- | main/lxc/APKBUILD | 6 |
2 files changed, 33 insertions, 1 deletions
diff --git a/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch b/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch new file mode 100644 index 0000000000..bb52c4a3a6 --- /dev/null +++ b/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch @@ -0,0 +1,28 @@ +From 8b591d7f16bf65eb712d71c3e103d7fbef338579 Mon Sep 17 00:00:00 2001 +From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +Date: Mon, 27 Jan 2014 16:52:31 +0200 +Subject: [PATCH v2] lxc-alpine: mount tmpfs on /dev/shm + +Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +--- +Changes since v1: + Added missing sign-off + + templates/lxc-alpine.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in +index 50a6a71..40957ab 100644 +--- a/templates/lxc-alpine.in ++++ b/templates/lxc-alpine.in +@@ -227,6 +227,7 @@ lxc.cgroup.devices.allow = c 254:0 rm + lxc.mount.entry=proc proc proc nodev,noexec,nosuid 0 0 + lxc.mount.entry=run run tmpfs nodev,noexec,nosuid,relatime,size=1m,mode=0755 0 0 + lxc.mount.entry=none dev/pts devpts gid=5,mode=620 0 0 ++lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec 0 0 + + EOF + +-- +1.8.3.1 + diff --git a/main/lxc/APKBUILD b/main/lxc/APKBUILD index 3715805636..2ca53d1499 100644 --- a/main/lxc/APKBUILD +++ b/main/lxc/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxc pkgver=0.9.0 _mypkgver=${pkgver/_rc/-rc} -pkgrel=7 +pkgrel=8 pkgdesc="linux containers - tools" url="http://lxc.sourceforge.net/" arch="all" @@ -26,6 +26,7 @@ source="http://linuxcontainers.org/downloads/lxc-$_mypkgver.tar.gz 0001-lxc-alpine-enable-loopback-interface-by-default.patch 0001-lxc-alpine-run-bootmisc-and-syslog-at-boot-runlevel.patch 0001-lxc-alpine-copy-etc-TZ-to-container-if-present.patch + 0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch lxc-fix-headers.patch lxc.initd @@ -76,6 +77,7 @@ c12ea194274b6c8d3b05bd43ed70c61d 0001-lxc-alpine-enable-4-consoles-by-default.p 999a89373f5e2c61d1369526de7e5850 0001-lxc-alpine-enable-loopback-interface-by-default.patch 75979789ec45ef865895f5ce5721dd3e 0001-lxc-alpine-run-bootmisc-and-syslog-at-boot-runlevel.patch 6c188f8dd2ba18e895eed2dec79fcab9 0001-lxc-alpine-copy-etc-TZ-to-container-if-present.patch +c172314d12b6bc2ef7b39e891bb74a9c 0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch 24e7ae51da3c8c483d5228b821cc7244 lxc-fix-headers.patch 9f780f761dcaec3ce40d083c6df044d4 lxc.initd" sha256sums="1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120 lxc-0.9.0.tar.gz @@ -90,6 +92,7 @@ df193c4cf08e171c23b0b472750b7b1e0e7a66971c03201a0523e4039909f33b alpine-templat eb5043672ef81cd5b20f25dc847bfad7e9e14b42a794856c3a8c8c1e4e408dfc 0001-lxc-alpine-enable-loopback-interface-by-default.patch 51bd2fc5f166499c8996d1b89f324168b0c1bbb6b2b79260591d442120098a34 0001-lxc-alpine-run-bootmisc-and-syslog-at-boot-runlevel.patch 92d7f479d8d466e03f187076a1187112a116f3a37426ba6d1dfd87ed7999c4c8 0001-lxc-alpine-copy-etc-TZ-to-container-if-present.patch +b85e307faaacfa79854564032e17325bc30efdccf9e8ab3929ab7b44a5a74205 0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch 82d584e30b1963bd638b5a640b2788d8ac3757b480f61fd2ab55a09b9a6f4ccd lxc-fix-headers.patch 8bdb64ecf100b648396456f6765230aab8649665bfcf320baede529ce6c5484d lxc.initd" sha512sums="a96133660ca6ea45dc4b8d167267120328577339e933ff9510f03e9d368ca5db77031dc1e7e4529b3e506f63f79c2ce3f8f72571a7dfdbeb2a8799777782a606 lxc-0.9.0.tar.gz @@ -104,5 +107,6 @@ dd686d8ce9cd73807b744163e6b20e41eca17f3ee618cef66f19488cb2527b56d38c04231d25177d 47d31ed9d0cdde58b0ee97b3f179db270534b73fe8c77fe72fdef1483a545e608a533d41e8b4041474493016cd445fe02751663ad0cbc7fc9af241b344454dea 0001-lxc-alpine-enable-loopback-interface-by-default.patch 75130578c4103586b973c6e9586833acfa89de8021f4dd320385905c4f9d3d1bf7a1e8d3cfe8704a3add00d41d19c30a371bce232a863e9c837a148e9066a0d6 0001-lxc-alpine-run-bootmisc-and-syslog-at-boot-runlevel.patch 7c5e6656565ed0ec51449baab4d310520cc43805428515d6541d4c4e03cc2f44b6762b3239983ee06596dcdec68d395250f944aabe92afc91ba2432f4847555b 0001-lxc-alpine-copy-etc-TZ-to-container-if-present.patch +850bc35c56e7c7b7e7a3efde504e2ceefbb790a3298d96e195ab610a83a946b3783e409ce14639fb9e8ac03ccc05b973c0c81803c514148c0e1c726249277eaa 0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch 2c4138e57021714d66bd4d30cfedd768965a0ec11776363b83db7d4efa8c06901c42ee1ad13dff68fd8e3e6a1c34034c529c1f8995d9d3a57a318bc7023fbc05 lxc-fix-headers.patch e3aa39c60db6ba73cbe3fcb27170dd83a03a0a175d8a28513f242a81eef5cb0e90b78dc63fc8da5c7160e60bc780111679fd6d0e401a0d6626e574c328c5afb0 lxc.initd" |