[oe-commits] [openembedded-core] 14/41: coreutils: add PACKAGECONFIG for single-binary

git at git.openembedded.org git at git.openembedded.org
Mon Dec 18 18:04:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 94ce5d25cad7d81b979218a40cdf15be26a7aae5
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Mon Dec 4 18:25:37 2017 +0800

    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.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/coreutils/coreutils_8.28.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/coreutils/coreutils_8.28.bb b/meta/recipes-core/coreutils/coreutils_8.28.bb
index a980724..8a9e80c 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"
 #
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 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
 bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list