Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] missing /proc in romfs
@ 2008-05-06 18:39 Mike Sander
  2008-05-07  0:49 ` Hamish Moffatt
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Sander @ 2008-05-06 18:39 UTC (permalink / raw)
  To: buildroot

According to the buildroot docs the filesystem skeleton is available in 
/generic/target_skeleton.     The target_skeleton does include /proc.  
After I do a make, the project_build_arm/uclibc/root/ does NOT contain a 
/proc filesystem.  I'm not sure if other bits are missing. 

I have studied the output of the make process and have not been able to 
see where the basic filesystem is created.  I can see where specific 
bits are added to /etc /lib.   Could someone be so kind as to describe 
the initial steps in building the root filesystem  (and where 
target_skeleton fits in).   A brief list of the makefiles (and make 
targets) would be helpful.

Thanks in advance

Mike Sander

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

* [Buildroot] missing /proc in romfs
  2008-05-06 18:39 [Buildroot] missing /proc in romfs Mike Sander
@ 2008-05-07  0:49 ` Hamish Moffatt
  0 siblings, 0 replies; 2+ messages in thread
From: Hamish Moffatt @ 2008-05-07  0:49 UTC (permalink / raw)
  To: buildroot

On Tue, May 06, 2008 at 02:39:44PM -0400, Mike Sander wrote:
> According to the buildroot docs the filesystem skeleton is available in 
> /generic/target_skeleton.     The target_skeleton does include /proc.  
> After I do a make, the project_build_arm/uclibc/root/ does NOT contain a 
> /proc filesystem.  I'm not sure if other bits are missing. 

Correct, /proc will be an empty directory. The target system will mount
procfs onto /proc during boot, usually from /etc/rc or a similar script.

> I have studied the output of the make process and have not been able to 
> see where the basic filesystem is created.  I can see where specific 
> bits are added to /etc /lib.   Could someone be so kind as to describe 
> the initial steps in building the root filesystem  (and where 
> target_skeleton fits in).   A brief list of the makefiles (and make 
> targets) would be helpful.

The main Makefile has a target $(PROJECT_BUILD_DIR)/.root which copies
the target_skeleton into the project_build_$arch/$project/root
directory, and then other packages are installed into that some root.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

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

end of thread, other threads:[~2008-05-07  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 18:39 [Buildroot] missing /proc in romfs Mike Sander
2008-05-07  0:49 ` Hamish Moffatt

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