http://bugs.openembedded.org/show_bug.cgi?id=1405

           Summary: [PATCH] bitbake freeze
           Product: BitBake
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: BitBake
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


http://oe.reversefold.com/bitbake-freeze.patch

I sent an e-mail about this to openembedded-devel:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2006-September/thread.html#153
(The thread is a bit wrong there, but I think all of the freeze e-mails are
listed.)

This patch is a port of John Bowler's freeze command, originally implemented as
a bb file.
http://www.openembedded.org/filebrowser/org.openembedded.dev/packages/freeze
It stopped working at some time in the past so I decided to build a python
version. I started with a bb file but switched to implementing this in the
shell as I had previously written code for the shell and knew how to get the
informaiton I needed from there.

Basically this command writes out two files, one has BBFILES set to the
specific bb files used to build everything already built. The use case for this
one is to simply freeze to current versions for a release feed or to allow
others to build the same release easily.

The other file has BBFILES set to all of the bb files in the package
directories of the packages built. This can easily be used by power users to
build only the packages they want/need and then freeze and "bitbake -k world"
to only update already built packages instead of building everything in OE.

There are a few rough edges, but overall the command works pretty well. The
first loop which goes through the Packages file is a decent idea, but it fell
short since -native packages are not listed there. This also assumes an ipkg
feed has been buitl with all of the current packages and this ma be an invalid
assumption. The code could still be useful if it was expanded to walk the
dependency tree of all packages found and put all of those in the frozen fiels
as well.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to