aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils
AgeCommit message (Collapse)Author
2015-07-07coreutils: upgrade to 8.24ChenQi/coreutils-8.24ChenQi/coreutilsChen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-05-14coreutils_6.9.bb: Fix LSB NG Cases.Li xin
-/tset/LI18NUX2K.L1/utils/sort/T.sort #1/3/17/19/33/35 -/tset/LI18NUX2K.L1/utils/comm/T.comm #1/2 The LSB test require comm can handle multibyte characters and sort can interpret blank and alphanumeric character according to the current locale and so on. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-04-21coreutils: Add code to consider musl when selecting charsetsKhem Raj
The real issue is in gnulib where it should be fixed but gnulib gets imported in source into various components and that may take a while. So lets fix the componnets versions and as/if they land in new gnulib with a fix we can take it off. Change-Id: I63bbcb7bc4d92cb1ec74bb4f4f5109a377060253 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-17coreutils: import prebuilt manpages from GentooPaul Gortmaker
As can be seen here: http://lists.gnu.org/archive/html/coreutils/2014-11/msg00001.html other people have run into the headache of trying to cross compile coreutils, with the "help2man" problem (assumes host can run the target binaries with "--help" arg to collect data for manpage.) And since "current wisdom is this is working as intended" we are largely left with no choice but to use the same solution and abandon trying to generate the man pages at build time. So here we import prebuilt manpages. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-17coreutils: don't generate useless dummy stub manpagesPaul Gortmaker
We had a couple patches to 1) deal with missing perl and 2) deal with the perl-less "dummy" help2man fallout, but in the end, they achieve no purpose whatsoever, since they just populate the doc RPM with manpages like this one: NAME chmod - a GNU coreutils 8.22 program DESCRIPTION OOOPS! Due to the lack of perl on the build system, we were unable to create a proper manual page for chmod. As the above serves no purpose whatsoever, and since the concept of running the binaries to capture the "--help" text output is completely broken for cross compiles, lets just decouple man page generation from the building of coreutils entirely so it paves the way for importing pre-generated manpages. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14coreutils 6.9: fix unknown-configure-optionRobert Yang
Fixed: WARNING: QA Issue: coreutils: configure was passed unrecognised options: --disable-acl [unknown-configure-option] It doesn't support --enable-acl or --disable-acl, use ac_cv_header_acl_libacl_h to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-07coreutils 6.9: disable nativeRobert Yang
ERROR: The recipe coreutils-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are: tmp/sysroots/x86_64-linux/bin/kill Matched in manifest-x86_64-util-linux-native.populate_sysroot We have 8.23, so disable it rather than fix. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-01-16coreutils: upgrade to 8.23Chen Qi
fix-for-dummy-man-usage.patch is rebased. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2014-12-05coreutils-native: don't install groupsWenzong Fan
This binary is provided by shadow-native nowadays. Fixes: ERROR: The recipe coreutils-native is trying to install files \ into a shared area when those files already exist. \ Those files and their manifest location are: \ .../tmp/sysroots/x86_64-linux/usr/bin/groups \ Matched in manifest-x86_64-shadow-native.populate_sysroot To reproduce the errors: $ bitbake shadow-native && bitbake coreutils-native Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29coreutils: selinux/flask.h should respect to with_selinuxRobert Yang
Fixed when build with meta-selinux even with --without-selinux: runcon.c:49:28: fatal error: selinux/flask.h: No such file or directory # include <selinux/flask.h> ^ compilation terminated. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-08-15coreutils/libpam: Add BBCLASSEXTEND nativesdkRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser
The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04coreutils: fix search paths for libstdbuf.soChunrong Guo
*fix the following error: |stdbuf: failed to find 'libstdbuf.so' *PKGLIBEXECDIR is the search paths for libstdbuf.so |PKGLIBEXECDIR='$(pkglibexecdir)' |pkglibexecdir='${libexecdir}/${PACKAGE}' Signed-off-by: Chunrong Guo <B40290-KZfg59tc24xl57MIdRCFDg@public.gmane.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet
Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-02coreutils: move 'stat' to base_bindir_progsChen Qi
To correctly integrate with busybox in our system, we should add 'stat' to base_bindir_progs so that the 'stat' commands from busybox and coreutils both register to /bin/stat. Previously there was a patch in busybox to move 'stat' to /usr/bin. But as we can easily solve this integration problem by modifying the coreutils recipe, this patch has been removed. After all, maintaining a patch that's not accepted by upsteam should not be our No.1 choice. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-06coreutils: upgrade to 8.22Chen Qi
Upgrade coreutils to 8.22. Changes since 8.21: 1) Remove the acl patch as it's not needed now. 2) Add a new patch to fix the following compile error. "dummy-man: too many non-option arguments" Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-26coreutils 6.9: fix coreutils.texiRobert Yang
This is used for fixing coreutils 6.9 (GPLv2+) do_installed failed: [snip] | coreutils.texi:2499: @itemx must follow @item | coreutils.texi:2636: @itemx must follow @item | coreutils.texi:2644: @itemx must follow @item | coreutils.texi:2654: @itemx must follow @item | coreutils.texi:2677: @itemx must follow @item | coreutils.texi:2689: @itemx must follow @item | coreutils.texi:2820: @itemx must follow @item | coreutils.texi:3058: @itemx must follow @item | coreutils.texi:3253: @itemx must follow @item [snip] Use '@item' instead of '@itemx' in several places, as Texinfo 5 refuses to process an '@itemx' that is not preceded by an '@item'. Ensure that node extended names in menus and sectioning are consistent, and that ordering and presence of nodes in menus and in the actual text are consistent as well. [YOCTO #5593] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30coreutils: support command archHongxu Jia
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> [sgw: fixed ordering to be alphabetized] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-30recipes: Remove PR = r0 from all recipesRichard Purdie
Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-17coreutils: set acpaths to avoid "Argument list too long" errorRobert Yang
There would be an error when the TMPDIR is long/deep, for example when len(TMPDIR) = 350 while our supported longest value is 410: [snip] aclocal: error: cannot open xxx autoreconf: aclocal failed with exit status: 1 ERROR: autoreconf execution failed. [snip] Let aclocal use the relative path for the m4 file rather than the absolute would fix the problem. Another fix is that we can modify autotools.bbclass to let it use the relative path rather than the absolute, but I don't think that we have to do that based on the following 2 thoughts: * The coreutils is the only recipe which has this issue as far as we know when len(TMPDIR) <= 410, because it has the most amount of m4 files (more than 400 ones). * That would impact all the recipes which use autotools.bbclass, and we are not sure about the side effect, for example, it would break the build there is a sub-configure. [YOCTO #2766] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-20coreutils: allow for acl supportJoe Slater
CQID: 430353 Define PACKAGECONFIG info for acl assuming it might be a DISTRO_FEATURE. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-20coreutils: add PACKAGECONFIG info for acl supportJoe Slater
Updates GPLv2 version of coreutils. They also want patches for other packages that might use acl. CQID: 430353 Add configuration data to enable acl support if it is a distro feature. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-15coreutils: add realpath to alternativesRoss Burton
New coreutils (8.15 onwards) build /usr/bin/realpath, which busybox also builds. Add it to the alternatives handling to avoid file conflicts. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29coreutils: Fix out of tree buildsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29coreutils: update to upstream version 8.21Marko Lindqvist
remove-gets.patch removed as issue is fixed upstream. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22coreutils: disable ACL as we do not depend on itMarcin Juszkiewicz
Coreutils does not depend on ACL but also does not disable it. Effect is that from time to time I have a copy in sstate-cache which got built with ACL and then I have problem while building images or sdk: | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-standalone-hhvm-sdk-target: | * libacl1 (>= 2.2.51) * | * opkg_install_cmd: Cannot install package packagegroup-core-standalone-hhvm-sdk-target. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-08coreutils: remove dependency on coreutils-nativeJesse Zhang
[ CQID: WIND00397793 ] It's not reasonable to build such a low-level package. Remove the dependency so that we always use the host version. The 8.14 recipe doesn't have such dependency so needs no change. Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-15coreutils: fix license segment md5sum boundaryMarko Lindqvist
Replace incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not beginning of the license segment. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-13coreutils_6.9: Update the older coreutils to no longer provide 'su'Mark Hatle
'su' was removed from newer versions of coreutils, and in OE-Core we pick up 'su' from shadow instead. So simply remove the binary from the install image to match expected behavior and avoid failures due to conflicting 'su' binaries during do_rootfs when building non-GPLv3 images. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-03coreutils: fix license segment md5sum boundaryMarko Lindqvist
Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-21coreutils: fix to build with acl supportJackie Huang
Fix the issue that coreutils was built without acl support: configure: WARNING: libacl development library was not found or not usable. configure: WARNING: GNU coreutils will be built without ACL support. which will cause ls and cp commands don't have the ACL related behaviors: ls -l: no plus sign(+) after the permission string for files that have ACL cp -p: can not preserves the ACLs. [YOCTO #2959] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17coreutils: Fix build with eglibc 2.16Khem Raj
eglibc 2.16 has removed gets so we account for that Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15coreutils: Fix a typo in v6.9 (bracket not braket)Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-05-30coreutils: use new update-alternativesMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-25coreutils-native-6.9: fix build with automake 1.12Nitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-12-24coreutils: ensure --color works so DEPEND on libcapSaul Wold
[YOCTO #1860] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-13coreutils: Add SRC_URI Checksums for GPLv2Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-12-01coreutils: fix u-a for base64, mktemp and dfMartin Jansa
* busybox installs mktemp and df to base_bindir not bindir SHR root@gjama ~ $ ll /bin/df /bin/mktemp /bin/base64 lrwxrwxrwx 1 root root 7 Nov 10 15:44 /bin/df -> busybox lrwxrwxrwx 1 root root 7 Nov 10 15:44 /bin/mktemp -> busybox lrwxrwxrwx 1 root root 7 Nov 28 15:48 /bin/base64 -> busybox * so u-a for coreutils fails: update-alternatives: Error: cannot register alternative base64 to /usr/bin/base64 since it is already registered to /bin/base64 update-alternatives: Error: cannot register alternative mktemp to /usr/bin/mktemp since it is already registered to /bin/mktemp update-alternatives: Error: cannot register alternative df to /usr/bin/df since it is already registered to /bin/df Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-01coreutils: Add missing PR bumpRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-27Give coreutils a chance to build the df utilityJulian Pidancet
The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-24coreutils: Upgrade recipe 8.12 -> 8.14Khem Raj
Change in site files is needed since in cross build envrionment the test to check for gl_cv_func_fstatat_zero_flag is a runtime test Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-05coreutils: Fix build on uclibcKhem Raj
coreutils has getloadavg.m4 of its own. So we need to make sure that we remove the portions which look into hardcoded /usr/local/lib paths. These tests are only for AIX so we dont lose much Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-04coreutils: Upgrade from 8.9 to 8.12Mei Lei
Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-06-14coreutils: remove unnecessary dependency on perlDexuan Cui
OE's coreutils doesn't depend on perl, either. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-13update patch upstream statusQing He
This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat Signed-off-by: Qing He <qing.he@intel.com>
2011-04-04coreutils_6.9.bb: Remove gettext from DEPENDSKhem Raj
inheriting gettext should take care of this Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-23coreutils: Switch to disabling gmp supportTom Rini
Coreutils can optionally build with libgmp support and for our uses it's fine to just not build it rather than add the dependency. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-03-23Various: Switch to using GNU_MIRRORTom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>