summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-23 14:43:56 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-23 14:46:14 +0200
commitcc2f3ef0e48483f8909f6f29f58bcb984ea27682 (patch)
tree38fee6682a9745cbbae0ae913bd9676028778aa0 /target/config
parent58eeb548906799709ffe076a90923a62efbcd83d (diff)
add support for permission fixups when using genimage
Add suid-bit to Xorg as an example. Create simple *.perm files with relative path to the files. You can use any command available on the host. (f.e. chmod/chown)
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.runtime7
-rw-r--r--target/config/Config.in.tools4
2 files changed, 11 insertions, 0 deletions
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index c9b488360..901718de7 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -51,6 +51,13 @@ config ADK_RUNTIME_DEV_STATIC
endchoice
+config ADK_RUNTIME_FIX_PERMISSION
+ bool "Fix permissions for target files (suid bit, ..)"
+ select ADK_HOST_BUILD_FAKEROOT
+ help
+ Use fakeroot to fix permissions for target dir before image
+ creation.
+
config ADK_RUNTIME_SSH_PUBKEY
string "SSH public key (root user only)"
depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 81913f0f1..b01becf42 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -23,6 +23,10 @@ config ADK_HOST_BUILD_BISON
bool
default y
+config ADK_HOST_BUILD_FAKEROOT
+ bool
+ default n
+
config ADK_HOST_BUILD_FLEX
bool
default y