Checking out sources in working directory

Edward K Chien echien at redback.com
Mon Sep 22 18:18:29 UTC 2008


Hi,

I'm in the process of evaluating OpenEmbedded for our project here and  
have a question.  For some packages, we would like to be able to  
'checkout' the latest sources directly into the working dir (instead  
of the typical normal unpacking phase of untaring the file).  This  
would be a simpler working model or our engineers where they can  
directly make changes, build, and commit all from one place.  In  
Looking through the bitbake/OE sources, I don't see any builtin  
infrastructure for that now.

I know I can easily just redefine do_checkout() and do_unpack() for my  
specific packages and perform the checkouts there, but I was wondering  
if there are any better ways of doing it?  We are using git for our  
repository and i'm thinking of letting the do_checkout() run as  
normal, but redefine do_unpack so that it runs git-new-workdir from  
the fetched/cloned repo into the working dir.

My question is has anyone done this for their projects and if so, any  
insight?

Eddie






More information about the Openembedded-users mailing list