summaryrefslogtreecommitdiff
path: root/packages/meta
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-12-22 10:37:40 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-12-22 10:37:40 +0000
commit8fbad506c22f55c68166d9da0d13be74ad06e9d9 (patch)
tree52a87f9ee3b21f7b7936d18dfa5551a7480f5f9b /packages/meta
parenta963f3896374d0ea65cf63626aea7940567993c7 (diff)
opie-collections: assume a default of 16 if ROOT_FLASH_SIZE is not set
BKrev: 41c94e74n3XnPgduFwMRSSznLn4Hcw
Diffstat (limited to 'packages/meta')
-rw-r--r--packages/meta/opie-collections.inc4
1 files changed, 2 insertions, 2 deletions
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 " "