On Fri, Nov 2, 2018 at 8:47 AM CHMIELARZ Radoslaw <radoslaw.chmiel...@leica-geosystems.com> wrote: > > Hi all, > > > > The company I work for uses yocto to build an image with a custom linux > kernel. The documentation > (https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html) suggests > a setup where the kernel is under git and the kernel recipe specifies this > git repository hence the workflow is the following: > > Make changes in local kernel directory > Submit changes to git (and presumably push to shared space) > Run yocto build which fetches the changes > > > > However since I don’t want to push the changes to git server before I test > locally I have added the kernel sources using externalsrc. Unfortunately this > has the drawback that linux-libc-headers runs do_configure and do_install > phase which invalidates glibc-initial and requires a recompilation of a > couple of hundreds of packages. I would like to avoid it. > > > > Thus my question is: how can I retain this setup where I only make local > changes to the kernel without yocto rebuilding glibc and dependent packages? > > > > To add more background we are using morty release and the changes in kernel > will be in configuration and devices (probably as modules but some may be > included with the kernel binary). Glibc is also an externalsrc project at the > moment since I’m trying to upgrade to newer yocto release but this will be > taken from git in the long run. >
may be you want to take a look at devtool workflow https://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#using-devtool-in-your-workflow > > > Cheers, > > Radek > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto