Skip to contentSkip to conversation

missing /proc in romfs

Buildroot Mike Sander 2 participants 2 messages May 6, 2008 – May 7, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Mike Sander

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.

Quoted 6 lines

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

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>