[Buildroot] [RFC/PATCH] linux: add external initramfs options
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Wed Jun 4 20:45:05 UTC 2014
Hello Arnout,
On 28 May 06:47 PM, Arnout Vandecappelle wrote:
[..]
> >
> > The path specified can be a cpio archive or a directory, just like
> > the kernel config. The path is specified w.r.t. BRs topdir, and made
> > absolute since the kernel builds in another directory.
>
> This patch does nothing more than update the kernel config. Since you can
> already supply a custom kernel config, I don't think there is much added value
> to moving these options to the buildroot config.
>
> The only feature you add is that the patch can be relative to the buildroot
> directory. Not enough to be relevant, IMHO, especially since the patch adds
> non-negligible complexity.
>
Our software stack includes a kernel with an appended initramfs to take care
of software upgrade and find, check and switch to the "real" rootfs. Both
the initramfs and rootfs are Buildroot-based, but each of them with their
own configuration and history (in separate git repos).
Hence we came up with this solution: the initramfs would live in a different
repo, and after it's built we use this new option to append it in the kernel.
Maybe you have a better idea, and there's a cleaner way to accomplish this
with Buildroot?
Thanks for the feedback!
--
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
More information about the buildroot
mailing list