OpenWrt Forum Archive

Topic: How-to change the default filesystem struct ?

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I want to add some directory and file on the / filesystem in image file, which path should I put these file ?

I have read these document , but still can't operate..

below is my build_dir content
$ ls
host  linux-ar71xx_generic  target-mips_r2_uClibc-0.9.33.2  toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2

I have tried to put file/directory under build_dir/files or build_dir/host/files , but still can't operate..

The build directory is the highest directory in the build system.  It is usually one below your home directory. It is where you run make from.

The discussion might have continued from here.