[OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

Koen Kooi koen at dominion.thruhere.net
Tue Jun 28 15:10:52 UTC 2011


Op 28 jun 2011, om 16:52 heeft Cui, Dexuan het volgende geschreven:

> Mark Hatle wrote:
>> On 6/28/11 1:45 AM, Koen Kooi wrote:
>>> 
>>> Op 28 jun 2011, om 07:37 heeft Dexuan Cui het volgende geschreven:
>>> 
>>> .......
>>> So it works as expected, but the output is a bit confusing. I have a
>>> few (conflicting) suggestions: 
>>> 
>>> 1) replace _BRANCH and _REVISION with ' branch' and ' revision',
>>> e.g.: 
>>> 
>>> 	meta-archos branch          = "master"
>>> 	meta-archos revision        =
>>> "413933fb5f62574e38a9a1e38905ba6e9c1be4ad" 
>>> 
>>> 2) for the extra layers put branch and revision on a single line:
>>> 
>>> 	meta-archos          =
>>> "master/413933fb5f62574e38a9a1e38905ba6e9c1be4ad" 
>>> 
>>> 3) Move the revision info down, e..g
>>> 
>>> OE Build Configuration:
>>> BB_VERSION                  = "1.13.1"
>>> TARGET_ARCH                 = "arm"
>>> TARGET_OS                   = "linux-gnueabi"
>>> MACHINE                     = "beagleboard"
>>> DISTRO                      = "angstrom"
>>> DISTRO_VERSION              = "v2011.06-core"
>>> TARGET_FPU                  = "hard"
>>> METADATA_BRANCH             = "master"
>>> METADATA_REVISION           =
>>> "364ca0d2d0399c8cc6d3b3fc28308e1e14673544" 
>>> meta-angstrom_BRANCH        = "master"
>>> meta-angstrom_REVISION      =
>>> "c19c342c62416752117c2dce4696840bc864f647" 
>>> 
>>> etc.
>>> 
>>> What do you think about that?
>> 
>> I think my preference is either 3 or a combination of 2 & 3.
>> 
>> To me the important bits are the configuration settings, followed by
>> the components that are being used as a secondary concern.  It will
>> all help in debugging and issue, but if the target/distro isn't
>> correct then it doesn't matter what the rest is.
>> 
>> --Mark
>> 
> 
> Hi, thank you very much for the suggestions!
> I worked out a vesion 2 patch that combines 2 and 3:
> http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/banner_v2&id=2c2d9d7c0e942b6748bc8bd7d5980113bae9a836

Could you in the future please base them on oe-core instead of poky? I just did 'git merge 2c2d9d7c0e942b6748bc8bd7d5980113bae9a836' and git blew up.



More information about the Openembedded-core mailing list