Permalink
Browse files

FL-616: add space requirement check to ebuild

  • Loading branch information...
1 parent 8531eb4 commit ed29d9a6cd0897d1d34734a8cb308ce91f0fb0a5 @angryvincent angryvincent committed Jul 7, 2013
View
7 ...nvz-rhel6-stable-2.6.32.042.078.26.ebuild → ...-rhel6-stable-2.6.32.042.078.26-r1.ebuild
@@ -2,7 +2,7 @@
EAPI=2
-inherit mount-boot
+inherit mount-boot check-reqs
SLOT=$PVR
CKV=2.6.32
@@ -90,6 +90,11 @@ pkg_setup() {
esac
defconfig_src="${DISTDIR}/config-${CKV}-${OVZ_KV}.${defconfig_src}"
unset ARCH; unset LDFLAGS #will interfere with Makefile if set
+
+ if use binary ; then
+ CHECKREQS_DISK_BUILD="15G"
+ fi
+ check-reqs_pkg_setup
}
src_prepare() {

0 comments on commit ed29d9a

Please sign in to comment.