bitbake/lib/bb/data_smart.py: Double OVERRIDE expansion fix
authorHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 4 May 2006 20:36:12 +0000 (20:36 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 4 May 2006 20:36:12 +0000 (20:36 +0000)
commit97687696a1e785a6318b55f61d45412644123806
tree0766abc84cba3dc300b358334d0461d499afbc96
parent8e95431593bf13c2e15ccb1406a1edfdf3e1a290
bitbake/lib/bb/data_smart.py: Double OVERRIDE expansion fix

    INITSCRIPT_PARAMS_${PN}_slugos. We will expandKeys
    and end up with INITSCRIPT_PARAMS_busybox_slugos
    then (we have slugos in OVERRIDES) and we get
    INITSCRIPT_PARAMS_busybox. Now adding busybox to OVERRIDES
    and nothing changed. The reason is simple. The update_data
    code is using __getitem__ and __setitem__ to access
    the data object. This method does not pay the cookie
    monster. This is why we don't know that for the OVERRIDE
    busybox INITSCRIPT_PARAMS is available. We now pay the
    cookie monster and it looks better
lib/bb/data_smart.py