[linux-yocto] How to maintain a yocto linux style kernel repo
Bruce Ashfield
bruce.ashfield at windriver.com
Wed Jul 31 08:00:19 PDT 2013
On 13-07-31 10:46 AM, Andreas Schultz wrote:
> Hi,
>
> I've managed to rebuild a complete yocto linux kernel git tree from
> the kernel-cache.
Good to hear.
>
> But how do move forward from here with upgrades?
>
> Lets assume my kernel tree was based on 3.8.1 and want to import 3.8.2.
> It looks like on the yocto-linux tree a pull from upstream was made and
> then a pull from every single branch was made. This is a lot of work,
> is there a tool that helps or a different way to update all branches?
The maintenance path issue was caused by your first statement. Building
the complete tree from the kernel-cache. That's something that I typically
only do when cleaning history, dropping features and jumping major
kernel revisions.
If you are working with an existing version, starting with a clone of
the linux-yocto-3.8 tree is the right thing to do. That way, when I
track and update the -stable updates, or merge other features, you can
simply fetch and merge the changes into your tracking tree.
>
> Also, when I add new fragments to kernel-cache, how are they included
> into the yocto-tree? Is there a tool or just a lot of manual merging?
Do you mean the upstream tree ? If so, send them to the linux-yocto
mailing list, where we can review and merge them, which means they'll
be carried forward to any new tree that I generate and available to
all users of the tree.
If you are talking about your own tree, simply add them to the meta
branch, in the "meta/cfg/kernel-cache/" directory structure, commit
them, and update your SRCREV_meta and they are available.
Cheers,
Bruce
>
> Regards
> Andreas
>
>
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
>
More information about the linux-yocto
mailing list