From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [BUILDROOT] Add a text file on "/tmp" directory during img compilation
Date: Tue, 14 Feb 2017 15:17:46 +0000 (UTC) [thread overview]
Message-ID: <o7v72q$48j$1@blaine.gmane.org> (raw)
In-Reply-To: 288390896.7283593.1487081370913@mail.yahoo.com
On 2017-02-14, <thierry.xenomai43@yahoo.com> <thierry.xenomai43@yahoo.com> wrote:
> I would like to add a text files and bin?files on "/tmp" directory
> during the image making.
https://buildroot.org/downloads/manual/manual.html#rootfs-custom
You can configure buildroot to run a script after the root tree is
done but but before the final image is created by setting the
BR2_ROOTFS_POST_BUILD_SCRIPT option. Look under
System Configuration
Custom scripts to run before creating filesystem images
In that script you can add/delete/remove files from the tree.
If all you want to do is add files, you can use the BR2_ROOTFS_OVERLAY
option to point to a tree that is copied on top of the target tree.
--
Grant Edwards grant.b.edwards Yow! An Italian is COMBING
at his hair in suburban DES
gmail.com MOINES!
next prev parent reply other threads:[~2017-02-14 15:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <288390896.7283593.1487081370913.ref@mail.yahoo.com>
2017-02-14 14:09 ` [Buildroot] [BUILDROOT] Add a text file on "/tmp" directory during img compilation thierry.xenomai43 at yahoo.com
2017-02-14 15:17 ` Grant Edwards [this message]
2017-02-14 16:01 ` Baruch Siach
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='o7v72q$48j$1@blaine.gmane.org' \
--to=grant.b.edwards@gmail.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