diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-12-04 18:25:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-18 18:03:57 +0000 |
commit | 2e7840ca6f00fadc7e97ea1731bc03b50a5361ca (patch) | |
tree | b95b101f8bae9d89107e7c493d388a05febe943f /meta | |
parent | f9b53a80a55eba40dea81540853af4e2a2ada793 (diff) | |
download | poky-2e7840ca6f00fadc7e97ea1731bc03b50a5361ca.tar.gz |
coreutils: add PACKAGECONFIG for single-binary
Add PACKAGECONFIG for single-binray. Disable it by default.
When enabled, there would only be one binary file /usr/bin/coreutils, other
files like 'ls' are text files containing contents like:
#!/usr/bin/coreutils --coreutils-prog-shebang=ls
And the size of the rpm package reduces from 849K to 519K.
Default to disable this option to keep the traditional behaviour.
(From OE-Core rev: 94ce5d25cad7d81b979218a40cdf15be26a7aae5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils_8.28.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.28.bb b/meta/recipes-core/coreutils/coreutils_8.28.bb index a98072425c..8a9e80c49b 100644 --- a/meta/recipes-core/coreutils/coreutils_8.28.bb +++ b/meta/recipes-core/coreutils/coreutils_8.28.bb | |||
@@ -46,6 +46,7 @@ PACKAGECONFIG_class-native ??= "xattr" | |||
46 | # | 46 | # |
47 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," | 47 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," |
48 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," | 48 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," |
49 | PACKAGECONFIG[single-binary] = "--enable-single-binary,--disable-single-binary,," | ||
49 | 50 | ||
50 | # [ df mktemp base64 gets a special treatment and is not included in this | 51 | # [ df mktemp base64 gets a special treatment and is not included in this |
51 | bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \ | 52 | bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \ |