diff options
author | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2013-02-05 07:16:00 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-05 21:35:33 +0100 |
commit | 7f86089292e4fa7e6a7b1907611bd007153f452a (patch) | |
tree | 822aad879d4707ff0e5f83293a10fc8df92baebe /docs/manual/customize-store.txt | |
parent | a0ad75a1255a742b4e4c95e7becf56b20dfecda3 (diff) | |
download | buildroot-novena-7f86089292e4fa7e6a7b1907611bd007153f452a.tar.gz buildroot-novena-7f86089292e4fa7e6a7b1907611bd007153f452a.zip |
target/generic: add filesystem overlay option
The filesystem overlay is a tree that is copied over the target fs
after building everything - which is currently usually done in the
post-build script.
[Peter: don't ignore missing directories]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs/manual/customize-store.txt')
-rw-r--r-- | docs/manual/customize-store.txt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt index b6e3d0813..298b5e96a 100644 --- a/docs/manual/customize-store.txt +++ b/docs/manual/customize-store.txt @@ -136,15 +136,12 @@ you can skip the steps that are not relevant for your use case. 1. Create +board/<manufacturer>/<boardname>/fs-overlay/+ and fill it with additional files you need on your rootfs, e.g. +board/<manufacturer>/<boardname>/fs-overlay/etc/inittab+. + Set +BR2_ROOTFS_OVERLAY+ + to +board/<manufacturer>/<boardname>/fs-overlay+. 1. Create a post-build script - +board/<manufacturer>/<boardname>/post-build.sh+. It should contain - the following command: -+ ------------- -rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1 ------------- -+ -1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +board/<manufacturer>/<boardname>/post-build.sh+ + +board/<manufacturer>/<boardname>/post-build.sh+. Set + +BR2_ROOTFS_POST_BUILD_SCRIPT+ to + +board/<manufacturer>/<boardname>/post-build.sh+ 1. If additional setuid permissions have to be set or device nodes have to be created, create +board/<manufacturer>/<boardname>/device_table.txt+ and add that path to +BR2_ROOTFS_DEVICE_TABLE+. |