diff options
author | Thomas De Schampheleire <patrickdepinguin@gmail.com> | 2014-09-18 21:39:34 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-09-21 19:41:12 +0200 |
commit | 6527f8a31dbf830a0aa2eb0576b4870cf0b88c85 (patch) | |
tree | 0363ce6320e886d7fabec925b6f2b49ca46b53dd /docs/manual | |
parent | 0c3e82f06850ffd4cda7e2c1a703eccd76f89c4a (diff) | |
download | buildroot-6527f8a31dbf830a0aa2eb0576b4870cf0b88c85.tar.gz buildroot-6527f8a31dbf830a0aa2eb0576b4870cf0b88c85.zip |
manual/user guide/customization: refer to dir structure from rootfs section
This small patch adds references to the section on 'recommended directory
structure' from sections explaining the post-build script and rootfs
overlay.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/customize-rootfs.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manual/customize-rootfs.txt b/docs/manual/customize-rootfs.txt index 23a38b0da0..558bd724dd 100644 --- a/docs/manual/customize-rootfs.txt +++ b/docs/manual/customize-rootfs.txt @@ -21,6 +21,9 @@ A filesystem overlay is a tree of files that is copied directly directories of version control systems, like +.git+, +.svn+, +.hg+, etc., files called +.empty+ and files ending in +~+ are excluded from the copy. ++ +As shown in xref:customize-dir-structure[], the recommended path for + this overlay is +board/<company>/<boardname>/rootfs-overlay+. Post-build scripts (+BR2_ROOTFS_POST_BUILD_SCRIPT+):: + @@ -37,6 +40,9 @@ Using post-build scripts, you can remove or modify any file in your files, you should fix that package rather than work around it with some post-build cleanup scripts. + +As shown in xref:customize-dir-structure[], the recommended path for + this script is +board/<company>/<boardname>/post_build.sh+. ++ The post-build scripts are run with the main Buildroot tree as current working directory. The path to the target filesystem is passed as the first argument to each script. If the config option |