aboutsummaryrefslogtreecommitdiffstats
path: root/main/python/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/python/APKBUILD')
-rw-r--r--main/python/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index fad33f84e4..61de1eef45 100644
--- a/main/python/APKBUILD
+++ b/main/python/APKBUILD
@@ -2,7 +2,7 @@
pkgname=python
pkgver=2.7.6
_verbase=${pkgver%.*}
-pkgrel=1
+pkgrel=2
pkgdesc="A high-level scripting language"
url="http://www.python.org"
arch="all"
@@ -29,6 +29,13 @@ prepare() {
# Make sure we use system libs
rm -r Modules/expat Modules/_ctypes/libffi* Modules/zlib || return 1
+
+ # make sure our /dev/shm is world writeable
+ if ! touch /dev/shm/$pkgname-$pkgver; then
+ error "/dev/shm is not world writeable. this will cause a broken python build"
+ return 1
+ fi
+ rm /dev/shm/$pkgname-$pkgver
}
build() {