mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
@@ -46,6 +46,7 @@ PACKAGECONFIG_class-native ??= "xattr"
|
|||||||
#
|
#
|
||||||
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
|
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
|
||||||
PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
|
PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
|
||||||
|
PACKAGECONFIG[single-binary] = "--enable-single-binary,--disable-single-binary,,"
|
||||||
|
|
||||||
# [ df mktemp base64 gets a special treatment and is not included in this
|
# [ df mktemp base64 gets a special treatment and is not included in this
|
||||||
bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \
|
bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \
|
||||||
|
|||||||
Reference in New Issue
Block a user