summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils
Commit message (Collapse)AuthorAgeFilesLines
* coreutils: set acpaths to avoid "Argument list too long" errorRobert Yang2013-09-172-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: 22ac874512c2c1213aae8e1644bd59050b37a63c) 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>
* coreutils: allow for acl supportJoe Slater2013-08-201-2/+10
| | | | | | | | | | | | | CQID: 430353 Define PACKAGECONFIG info for acl assuming it might be a DISTRO_FEATURE. (From OE-Core rev: a8455a13554088613d4576a74b19294a8b49ff88) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: add PACKAGECONFIG info for acl supportJoe Slater2013-08-201-0/+11
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: 8030fdc198c1037ae458899eebd14a4fae04c49a) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: add realpath to alternativesRoss Burton2013-04-151-1/+1
| | | | | | | | | | New coreutils (8.15 onwards) build /usr/bin/realpath, which busybox also builds. Add it to the alternatives handling to avoid file conflicts. (From OE-Core rev: 826c18eb1c69f5e3689b5b0ef188f74ae930a050) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Fix out of tree buildsRichard Purdie2013-03-291-0/+5
| | | | | | (From OE-Core rev: 29a6810aad27e049577d2d66690ba74f92dd5211) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: update to upstream version 8.21Marko Lindqvist2013-03-295-28/+28
| | | | | | | | | remove-gets.patch removed as issue is fixed upstream. (From OE-Core rev: c2fd59028a57356cff8d165edb71c45c3b05cc67) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: disable ACL as we do not depend on itMarcin Juszkiewicz2013-03-221-1/+2
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: d54141130475b091358807dce17ba8d244d33ea1) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: remove dependency on coreutils-nativeJesse Zhang2013-02-081-2/+1
| | | | | | | | | | | | | | | | | [ 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. (From OE-Core rev: 194c902c28291d564cef71bdd9588afa5b72d9f5) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: fix license segment md5sum boundaryMarko Lindqvist2013-01-151-1/+1
| | | | | | | | | | | | 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. (From OE-Core rev: 98c258f5db7e6800557e4e51c064b0d82a10edd6) 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>
* coreutils_6.9: Update the older coreutils to no longer provide 'su'Mark Hatle2012-12-131-1/+5
| | | | | | | | | | | | | | '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. (From OE-Core rev: b4c5fc7c025ff864280be9678e6dd856971c71d7) 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>
* coreutils: fix license segment md5sum boundaryMarko Lindqvist2012-12-031-1/+1
| | | | | | | | | | | | 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. (From OE-Core rev: 883b7899fe5adce49e1c39cca9854e7f035e7a68) 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>
* recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-022-4/+4
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 5193485a42dfb3396d0f12aaa7732c5db29d7338) 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>
* coreutils: fix to build with acl supportJackie Huang2012-08-214-0/+58
| | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: b30ef39cc26dd0b6ed08bd2b1a6394de6b540720) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Fix build with eglibc 2.16Khem Raj2012-07-172-1/+25
| | | | | | | | | | eglibc 2.16 has removed gets so we account for that (From OE-Core rev: 84183aee7e6f81919ec44f3043c7d9feea01f202) 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>
* coreutils: Fix a typo in v6.9 (bracket not braket)Andrei Gherzan2012-06-151-1/+1
| | | | | | | (From OE-Core rev: 66cc81d2a5f5c74e4a44e79521a791f402deeb26) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: use new update-alternativesMark Hatle2012-05-302-57/+38
| | | | | | | (From OE-Core rev: 4bed7f31535f16dbe1f8bbab58921f12f1696f6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils-native-6.9: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+36
| | | | | | | (From OE-Core rev: bc92089f82cae8ac5fb0ca4cd6b531e1ce5dcf5e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: ensure --color works so DEPEND on libcapSaul Wold2011-12-241-2/+2
| | | | | | | | | [YOCTO #1860] (From OE-Core rev: 8f348ccad083d6c02c200652ff6295e701e88f0d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Add SRC_URI Checksums for GPLv2Saul Wold2011-12-131-0/+3
| | | | | | | (From OE-Core rev: 16c526219b4d2852eec534f251f1a69e8a79c4a2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: fix u-a for base64, mktemp and dfMartin Jansa2011-12-011-6/+14
| | | | | | | | | | | | | | | | | | * 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 (From OE-Core rev: 7f71e866ecdbe0491c26b4eb5b83d8d2573f8eda) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Add missing PR bumpRichard Purdie2011-11-011-1/+1
| | | | | | (From OE-Core rev: eff22e23b4c7d88254a6ac420bf0860f1fe2cd3e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Give coreutils a chance to build the df utilityJulian Pidancet2011-10-271-1/+1
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Upgrade recipe 8.12 -> 8.14Khem Raj2011-10-242-14/+15
| | | | | | | | | | | 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 (From OE-Core rev: 906c46d17146bc91e79999d861274e802e9fc745) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Fix build on uclibcKhem Raj2011-08-052-2/+35
| | | | | | | | | | | | 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 (From OE-Core rev: e9a49ebe3a1c83aa022eb07f3ca87b3d71c742f9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Upgrade from 8.9 to 8.12Mei Lei2011-07-041-2/+2
| | | | | | | (From OE-Core rev: 423951fe1ae750fad6b178bb6189e61137ded1ee) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: remove unnecessary dependency on perlDexuan Cui2011-06-092-6/+6
| | | | | | OE's coreutils doesn't depend on perl, either. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* update patch upstream statusQing He2011-05-139-0/+18
| | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils_6.9.bb: Remove gettext from DEPENDSKhem Raj2011-04-041-1/+1
| | | | | | | | | inheriting gettext should take care of this (From OE-Core rev: f8d4d3d573b12e25803cbce7f713811c81601bc5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Switch to disabling gmp supportTom Rini2011-03-241-2/+4
| | | | | | | | | | Coreutils can optionally build with libgmp support and for our uses it's fine to just not build it rather than add the dependency. (From OE-Core rev: e58ca6504ccfd4fd7efbf288eaadae6720c84c79) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to using GNU_MIRRORTom Rini2011-03-232-2/+2
| | | | | | | (From OE-Core rev: bd9e899d1b07813c78f2dc2e5c46a67937839065) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils-6.9: fix man page building for the gplv2 recipeNitin A Kamble2011-03-182-3/+90
| | | | | | | | | | | | | | Added a new patch: coreutils-6.9/fix_for_manpage_building.patch And the target recipe now depends on the native recipe for the manpage generation. Similar fix may be needed to the GPLv3 version of this recipe. (From OE-Core rev: 543577c25b5a4e89a3ab15ee28e754b71c2a43d5) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Add various bug fixesMark Hatle2011-02-076-0/+4403
| | | | | | | | | | | | | Add a number of bug fixes, mostly imported from Fedora and Wind River Linux. cp-i-u: fix unnecessary prompting fix-install: Fix installing to a dangling symlink i18n: li18nux/lsb compliance ls-x: Fix incorrect output overflow: Fix potential overflow in who command Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* coreutils: upgrade to version 8.9Qing He2011-01-211-4/+5
| | | | | | | | from 8.5 coreutils now depends on gmp Signed-off-by: Qing He <qing.he@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-112-2/+9
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-015-0/+247
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>