[Buildroot] missing /proc in romfs
Hamish Moffatt
hamish at cloud.net.au
Tue May 6 17:49:35 PDT 2008
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 at debian.org> <hamish at cloud.net.au>
More information about the buildroot
mailing list