Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to add share/zoneinfo to my Linux target
@ 2011-11-15 18:10 Thireos, Mike
  0 siblings, 0 replies; 3+ messages in thread
From: Thireos, Mike @ 2011-11-15 18:10 UTC (permalink / raw)
  To: buildroot

Dear fellow Linux engineers:

 

We are using buildroot with linux  2.6.31 and glibc to build for our
target platform. I see the zoneinfo directory in the staging folder, but
I can't seem to find any configuration option to get it into my target
file system. I also tried adding it to the skeleton folder with no luck.

 

Any help with this would be appreciated.

 

Thanks

 

Mike

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111115/cd4e974e/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] How to add share/zoneinfo to my Linux target
@ 2011-11-15 20:29 Thireos, Mike
  2011-11-15 21:25 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Thireos, Mike @ 2011-11-15 20:29 UTC (permalink / raw)
  To: buildroot

Dear fellow Linux engineers:

 

We are using buildroot with linux  2.6.31 and glibc to build for our
target platform. I see the zoneinfo directory in the staging folder, but
I can't seem to find any configuration option to get it into my target
file system. I also tried adding it to the skeleton folder with no luck.

 

Any help with this would be appreciated.

 

Thanks

 

Mike

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111115/8a88d55e/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] How to add share/zoneinfo to my Linux target
  2011-11-15 20:29 [Buildroot] How to add share/zoneinfo to my Linux target Thireos, Mike
@ 2011-11-15 21:25 ` Thomas Petazzoni
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2011-11-15 21:25 UTC (permalink / raw)
  To: buildroot

Le Tue, 15 Nov 2011 15:29:14 -0500,
"Thireos, Mike" <mthireos@vanteon.com> a ?crit :

> We are using buildroot with linux  2.6.31 and glibc to build for our
> target platform. I see the zoneinfo directory in the staging folder,
> but I can't seem to find any configuration option to get it into my
> target file system. I also tried adding it to the skeleton folder
> with no luck.

There is no dedicated option to do that. However, Buildroot provides
you with the BR2_POST_BUILD_SCRIPT option, which can be set to the path
to a script that gets executed after all packages have been installed
but *before* the root filesystem images are generated.

Therefore, you can write a custom script that makes various
modifications on the target root filesystem, including copying the
zoneinfo informations.

See http://elinux.org/images/2/2a/Using-buildroot-real-project.pdf for
more details on using the post build script, and example of usage.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-15 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 20:29 [Buildroot] How to add share/zoneinfo to my Linux target Thireos, Mike
2011-11-15 21:25 ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2011-11-15 18:10 Thireos, Mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox