From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] add user script to /etc/rc before rootfs is created
Date: Fri, 18 Dec 2015 23:32:34 +0100 [thread overview]
Message-ID: <20151218223234.GB10982@free.fr> (raw)
In-Reply-To: <1161230987.710604.1450475930986.JavaMail.yahoo@mail.yahoo.com>
Henry, all,
On 2015-12-18 21:58 +0000, hong zhang spake thusly:
> List,
> I add user script to /etc/rc/... so that the script can be executed right after kernel is up.
> What I am doing now is:
> After building first rootfs, expand rootfs and add my script to /etc/rc... area.
> Is it possible to add my script to buildroot before rootfs is created?
Yes, this is covered in the manual, see;
https://buildroot.org/downloads/manual/manual.html#rootfs-custom
Regards,
Yann E. MORIN.
> ---henry
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-12-18 22:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1161230987.710604.1450475930986.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-18 21:58 ` [Buildroot] add user script to /etc/rc before rootfs is created hong zhang
2015-12-18 22:32 ` Yann E. MORIN [this message]
2015-12-19 17:17 ` hong zhang
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=20151218223234.GB10982@free.fr \
--to=yann.morin.1998@free.fr \
--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