Patchwork [1/1] coreutils: support command arch

login
register
mail settings
Submitter Hongxu Jia
Date Oct. 29, 2013, 7:12 a.m.
Message ID <548b09ddfcece72635432730e110ad8aac1b802b.1383030558.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/60687/
State New
Headers show

Comments

Hongxu Jia - Oct. 29, 2013, 7:12 a.m.
The "arch" is removed in util-linux 2.23, but some old
software and devs look for arch:
http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00010.html

Use coreutils version.
[YOCTO #5404]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-core/coreutils/coreutils_8.21.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-core/coreutils/coreutils_8.21.bb b/meta/recipes-core/coreutils/coreutils_8.21.bb
index da14303..e672ab1 100644
--- a/meta/recipes-core/coreutils/coreutils_8.21.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.21.bb
@@ -23,6 +23,7 @@  SRC_URI[md5sum] = "065ba41828644eca5dd8163446de5d64"
 SRC_URI[sha256sum] = "adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18"
 
 EXTRA_OECONF_class-native = "--without-gmp"
+EXTRA_OECONF_class-target = "--enable-install-program=arch"
 
 # acl is not a default feature
 #
@@ -39,7 +40,7 @@  bindir_progs = "basename chcon cksum comm csplit cut dir dircolors dirname du \
                 join link logname md5sum mkfifo nice nl nohup nproc od paste pathchk \
                 pinky pr printenv printf ptx readlink realpath runcon seq sha1sum sha224sum sha256sum \
                 sha384sum sha512sum shred shuf sort split stat stdbuf sum tac tail tee test timeout\
-                tr truncate tsort tty unexpand uniq unlink uptime users vdir wc who whoami yes"
+                tr truncate tsort tty unexpand uniq unlink uptime users vdir wc who whoami yes arch"
 
 # hostname gets a special treatment and is not included in this
 base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdir \