fs/common: add option to execute custom scripts under fakeroot
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 3 Jul 2016 15:08:19 +0000 (17:08 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Jul 2016 18:58:46 +0000 (20:58 +0200)
commit9cdb281fa64eb2b58ec1d25cb62c29268aa4b906
tree4fac43d182183ac5c7a1d5d8d1890097ffdb6428
parent7d56f0cc554dd5deb7220323f46a7962b4ca804f
fs/common: add option to execute custom scripts under fakeroot

Some users have the need to be able to tweak the content of the target
rootfs with root-like rights, that is, from inside the fakeroot script.

Add a new system option to allow those users to provide a list of
scripts, like the post-build and post-image scripts, that will be run
from our fakeroot script.

[Peter: pass TARGET_DIR to scripts, tweak help text]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Cam Hutchison <camh@xdna.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
fs/common.mk
system/Config.in