From 01fd94b639c82d3c1c571c3b6840fec37aea5e7a Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 13 Jul 2005 09:22:14 +0000 Subject: [PATCH] opie-collections: repair gathering OPIE_MORE_RDEPENDS depending on ROOT_FLASH_SIZE --- packages/meta/opie-collections.inc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/meta/opie-collections.inc b/packages/meta/opie-collections.inc index c2d15dee58..60cc77356a 100644 --- a/packages/meta/opie-collections.inc +++ b/packages/meta/opie-collections.inc @@ -93,14 +93,10 @@ def opie_more_depends(d): else: return " " def opie_more_rdepends(d): - import bb - 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 " " + import bb + 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 " " OPIE_MORE_DEPENDS := "${@opie_more_depends(d)}" - - - - -# # OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}" +OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}" -- 2.39.5