From: Michael Lauer Date: Wed, 22 Dec 2004 10:37:40 +0000 (+0000) Subject: opie-collections: assume a default of 16 if ROOT_FLASH_SIZE is not set X-Git-Tag: Release-2010-05/1~15617 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fbad506c22f55c68166d9da0d13be74ad06e9d9;p=openembedded.git opie-collections: assume a default of 16 if ROOT_FLASH_SIZE is not set BKrev: 41c94e74n3XnPgduFwMRSSznLn4Hcw --- diff --git a/packages/meta/opie-collections.inc b/packages/meta/opie-collections.inc index d379c5dfb7..8a15b4c80e 100644 --- a/packages/meta/opie-collections.inc +++ b/packages/meta/opie-collections.inc @@ -74,13 +74,13 @@ OPIE_RDEPENDS_24 = "konqueror-embedded" def opie_more_depends(d): import bb - root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) ) + root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" ) if root_flash_size >= 24: return bb.data.getVar( "OPIE_DEPENDS_24", d, True ) else: return " " def opie_more_rdepends(d): import bb - root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) ) + root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" ) if root_flash_size >= 24: return bb.data.getVar( "OPIE_RDEPENDS_24", d, True ) else: return " "