Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [bug] bootwrapper runs before linking initrd
Date: Fri, 4 Sep 2015 12:39:29 +0200	[thread overview]
Message-ID: <20150904123929.085e85bd@free-electrons.com> (raw)
In-Reply-To: <87pp1yo6l6.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Fri, 04 Sep 2015 11:51:33 +0200, Peter Korsgaard wrote:

>  > I must say I'm not thrilled by making such major changes to Buildroot
>  > just for the sake of this very specific use-case. But we probably don't
>  > have much choice.
> 
> I don't know any details of this boot wrapper, but perhaps we could
> change the package to only build the host tool and simply ask people to
> write a post-image script to invoke it with the correct arguments once
> the build is completely done, similar to what we do for other custom
> "post processing" tasks?

Doesn't work: the kernel image is *linked* into the boot wrapper. So
really, it's not just a post-processing tool, you need the kernel image
to build the wrapper.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-09-04 10:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 22:00 [Buildroot] [bug] bootwrapper runs before linking initrd Hollis Blanchard
2015-09-04  8:54 ` Thomas Petazzoni
2015-09-04  9:51   ` Peter Korsgaard
2015-09-04 10:39     ` Thomas Petazzoni [this message]
2015-09-04 19:52   ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150904123929.085e85bd@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox