* [Buildroot] add user script to /etc/rc before rootfs is created
[not found] <1161230987.710604.1450475930986.JavaMail.yahoo.ref@mail.yahoo.com>
@ 2015-12-18 21:58 ` hong zhang
2015-12-18 22:32 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: hong zhang @ 2015-12-18 21:58 UTC (permalink / raw)
To: buildroot
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?
---henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151218/bf3ef9a2/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] add user script to /etc/rc before rootfs is created
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
2015-12-19 17:17 ` hong zhang
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2015-12-18 22:32 UTC (permalink / raw)
To: buildroot
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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] add user script to /etc/rc before rootfs is created
2015-12-18 22:32 ` Yann E. MORIN
@ 2015-12-19 17:17 ` hong zhang
0 siblings, 0 replies; 3+ messages in thread
From: hong zhang @ 2015-12-19 17:17 UTC (permalink / raw)
To: buildroot
Yann,
I want to create subdirectory where all USER APIs will sit.Is this guide to follow ashttps://buildroot.org/downloads/manual/manual.html#_quick_guide_to_storing_your_project_specific_customizations
Any link to specific sample I can reference?
---henry
On Friday, December 18, 2015 2:32 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
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 part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151219/8c2edc11/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-19 17:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2015-12-19 17:17 ` hong zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox