Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add support for custom post-build script
Date: Sat, 25 Jul 2009 23:14:57 +0200	[thread overview]
Message-ID: <87vdlgsbvy.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1247086018-18816-1-git-send-email-daniel@caiaq.de> (Daniel Mack's message of "Wed\, 8 Jul 2009 22\:46\:58 +0200")

>>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> writes:

Hi,

 Daniel> The config help text says it all: Specify a script to be run
 Daniel> after the build has finished and before the BR2 starts
 Daniel> packing the files into selected packages.

 Daniel> This gives users the oportunity to do board-specific
 Daniel> cleanups, add-ons and the like, so the generated files can be
 Daniel> used directly without further processing.

 Daniel> The script is called with the target directory name as first
 Daniel> and only argument. Make sure the exit code of that script is
 Daniel> 0, otherwise make will stop after calling it.

I have normally done this by simply running make twice - E.G. build
the rootfs, fixup anything you need under project_build_*/*/root and
run make again to regenerate the rootfs.

But ok, I can see the desire for such a script. I'll apply it now,
thanks.

It would be good to have a note about it in the documentation - Could
I get you to add a short note about it in docs/buildroot.html?

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2009-07-25 21:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 20:46 [Buildroot] [PATCH] Add support for custom post-build script Daniel Mack
2009-07-15  9:21 ` Daniel Mack
2009-07-16  4:14   ` Paul Archer
2009-07-25 21:14 ` Peter Korsgaard [this message]
2009-07-27 11:58   ` Daniel Mack
2009-07-27 12:17     ` Peter Korsgaard
2009-07-27 12:38       ` Daniel Mack
2009-07-27 12:48     ` Peter Korsgaard
2009-07-27 12:26   ` Marcelo Martins Maia do Couto
  -- strict thread matches above, loose matches on Subject: below --
2009-07-10 16:26 nfrench at xtale.biz
2009-07-10 18:43 ` Daniel Mack
2009-07-11 19:34 nfrench at xtale.biz
2009-07-13  3:14 ` Paul Archer

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=87vdlgsbvy.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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