summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two ↵Laszlo Papp2014-02-023-9/+16
| | | | | | | | | | | | | parts The current change contains two different logics resulting that users like me may need to partially override the behavior of it. It would be easier for end users to keep one change while dropping the other if needed, like in our case. (From OE-Core rev: 0ca984f32682151cfeff852167f0174aca20a8bc) Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: upgrade to 1.6.8Marius Avram2014-02-021-5/+5
| | | | | | | | | | | Note: license has not changed. MD5 sum of files changed because new contributors were added to LICENSE and png.h file contains the version of the new release. (From OE-Core rev: f825549d18477bc2c02e96f7a879b36bad1be18d) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade to 2.24Khem Raj2014-02-0236-2318/+1017
| | | | | | | | | This builds and runs images for all qemu machines (From OE-Core rev: 015eca84f1b0f25868b47d2480bb60cea698f70e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: Add nativesdk to BBCLASSEXTEND and bugfixDavid Nyström2014-02-021-1/+10
| | | | | | | | | | | Since shsignlibs is used from the nss postinstall hook. It should be included in nativesdk to make offline rootfs construction possible. (From OE-Core rev: 42bc72d21226e76c9b013fc052f17d847dc6a97a) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Added nativesdk to BBCLASSEXTENDDavid Nyström2014-02-021-1/+1
| | | | | | | | | | | nspr is a dependency of nss. Since shsignlibs is used from the nss postinstall hook. It should be included in nativesdk to make offline rootfs construction possible. (From OE-Core rev: f7433d024baaa074f3e5f05a28ab22543bee7001) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDKDavid Nyström2014-02-021-0/+1
| | | | | | | | | | | | | | | Adding ability to use postinstalls intercepts in the nativesdk env, and making sure the correlate between repo + SDK. This to enable rootfs generation from a package repository using only a package repository and the toolchain tarball. See https://github.com/nysan/rootfs-sandbox for examples. (From OE-Core rev: a54bab492903322e2a2495ea9576ee6b3272700a) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* postinst-intercept: New recipe to include postinstall intercepts in nativesdkDavid Nyström2014-02-021-0/+19
| | | | | | | | | | | | | | | Adding ability to use postinstalls intercepts in the nativesdk env, and making sure the correlate between repo + SDK. This to enable rootfs generation from a package repository using only a package repository and the toolchain tarball. See https://github.com/nysan/rootfs-sandbox for examples. (From OE-Core rev: 5d5ef0f5620ec525491c53e8457e7c65c226bfb4) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-setuptools: Remove its provided by python-distributeKhem Raj2014-02-024-45/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use python-distribute-native in packagegroup-toolset-native Also fixes warnings like WARNING: The recipe python-setuptools is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/setuptools.pth Matched in manifest-qemux86-64-python-distribute /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/site.pyc Matched in manifest-qemux86-64-python-distribute /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/site.py Matched in manifest-qemux86-64-python-distribute Conflicts: meta/recipes-devtools/python/python-setuptools_1.4.bb (From OE-Core rev: ddb0c70a7d4d51a1f404c194a562325137222146) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-distribute: Add recipes for python2 and python3Khem Raj2014-02-022-0/+94
| | | | | | | | | in python3-distribute rename easy_install to easy3_install (From OE-Core rev: 712d65335b9a92bba427949f8885102d0aefbeb4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python_2.7.3.bb: Inherit python-dirKhem Raj2014-02-021-1/+1
| | | | | | | | | So it can get the correct python direcotries for python2 (From OE-Core rev: cfc780ec26474a61bd52a8f6a66c7280fa12a075) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Add target and native recipesKhem Raj2014-02-0228-0/+1636
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3.3.3 is latest bugfix release in 3.3 series License text is changed to reflect year and prev releases +++ ../Python-3.3.2/LICENSE 2013-05-15 09:32:54.000000000 -0700 @@ -74,7 +74,9 @@ 3.2.1 3.2 2011 PSF yes 3.2.2 3.2.1 2011 PSF yes 3.2.3 3.2.2 2012 PSF yes + 3.2.4 3.2.3 2013 PSF yes 3.3.0 3.2 2012 PSF yes + 3.3.1 3.3.0 2013 PSF yes Footnotes: @@ -110,8 +112,8 @@ distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, -2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python -alone or in any derivative version prepared by Licensee. +2011, 2012, 2013 Python Software Foundation; All Rights Reserved" are retained +in Python alone or in any derivative version prepared by Licensee. We use native python in disutils bbclass and this needs to peek into target sysroot when building plugins in cross environment. Otherwise anything that inherits distutils3.bbclass will not build. Fix host include contamination issue Let compiler append sysroot to include path if it can Fix the compiler invocation and linker flags when cross compiling The details are in patch header. This should fix the QA errors about host contamination Add virtual/libintl to dep list There is use of libintl.h but we dont express the dependency Add lzma dependency for python3-misc Fixes and from test-dependencies.sh run there is undeterministic lzma dependency: WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on liblzma Fix staging warnings due to duplicate install WARNING: The recipe python3 is trying to install files into a shared area when those files already exist. Those files and their manifest location are: builds/world/tmp/sysroots/qemux86-64/usr/include/python3.3m/pyconfig.h builds/world/tmp/sysroots/qemux86-64/usr/lib/libpython3.3m.so.1.0 builds/world/tmp/sysroots/qemux86-64/usr/lib/libpython3.3m.so builds/world/tmp/sysroots/qemux86-64/usr/lib/python3.3/config/Makefile Let compiler search includes relative to sysroot This makes it cross compilable and assumption on hardcoded paths is fixed. Errors like below would appear if ncursesw is installed on build host cc1: warning: include location "/usr/include/ncursesw" is unsafe for cross-compilation [-Wpoison-system-directories] (From OE-Core rev: 185fcfc3286b355394ae89300f22b8cb7aaa43c1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Fix linking not happening issue in modules We need to tweak CONFIGURE_LDFLAGS for python3 instead of LDFLAGS directly Add second compile stage which uses original makefile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils: Introduce PYTHON_ABI variableKhem Raj2014-02-023-0/+5
| | | | | | | | | | | | | | | | In python3 this has to be taken care of, it defines a variable to denote ABI currently its at 'm' and it uses this to construct the directory names for installing the python headers and library names in sysroot. e.g. it will be something like ../python3.3m/... We need this information when we are using distutils to cross build python extentions and want to know the locations of python headers and libraries install locations (From OE-Core rev: 9a3e4ac4a4eeed64ec80d400130dff3d26daf336) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Add distutils for python3Khem Raj2014-02-026-2/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In line with python2 add distutils and setuptools classes for handing python3 Use python-distribute instead of python-setuptools in setuptools bbclass Remove --single-version-externally-managed since its setuptools specific and we dont use it anymore Do build_ext as separate step during compile Add DISTUTILS_BUILD_EXT_ARGS for modules to pass flags to build_ext step in setup.py Add build_ext as sepate step during compile and add the cross sysrooted library and headers since we are cross compiling Use ${PYTHON_PN} in place of hardcoding python name Remove the /etc/share if its empty Since OE-Core times we now have machine specific sysroots for targets unlike before when we used arch specific sysroots so reflect that here Use MACHINE for sysroot when not building for build host Python's machinery replaces directories in sysroot path to match OE's staging area sysroots. Earlier we use to have HOST_SYS represent sysroot always but now we use MACHINE to represent target sysroots but HOST_SYS to represent host sysroot. This patch caters to that difference (From OE-Core rev: 8bb0206ed67228c88dd5bc2d8b36ce28f48b78f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/distutils: Introduce PYTHON_PNKhem Raj2014-02-025-19/+23
| | | | | | | | | | This is needed to accomodate python3 alongside python2 (From OE-Core rev: ae931c2cf9e48e1fb74b4b727dbf668ea880023f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: Trigger the regexp on exact keyword matchKhem Raj2014-02-021-1/+1
| | | | | | | | | | This causes issues when postinstalls have ERROR keywords its interpreted as error and image build is cancelled (From OE-Core rev: f5bc3cfac9545c402b415695c4e0f98ad38fb2b0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3native.bbclass: Add python3 abstraction classKhem Raj2014-02-021-0/+7
| | | | | | | (From OE-Core rev: ead30aa5e3046f450ee688e14f6d5268d9ed0bd8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3.3-manifest: Add python3 manifest fileKhem Raj2014-02-021-0/+260
| | | | | | | | | | | | | | | | | | | | Like python2 mostly except This will package collections into python3-core instead of python3-misc fixes errors like Traceback (most recent call last): File "/usr/lib/python3.3/site.py", line 69, in import os File "/usr/lib/python3.3/os.py", line 659, in <module> from collections.abc import MutableMapping ImportError: No module named 'collections' (From OE-Core rev: e314404876e62c05c7ea5f5e79b2b05c3ed9ab84) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* generate-manifest-3.3.py: Add script to generate python 3.3 manifestsKhem Raj2014-02-021-0/+380
| | | | | | | | | | | Bases on python 2.7.x generator Package collections/ in python-core (From OE-Core rev: 468115573275d6c32924e56bff660b9f6d38de84) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate-cache-management.sh: don't remove all packagedata sstate archivesMartin Jansa2014-02-021-1/+1
| | | | | | | | | | | | | | | | * packagedata task was introduced in: commit 6107ee294afde395e39d084c33e8e94013c625a9 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Wed Jan 23 14:27:33 2013 +0000 Subject: Split do_packagedata task from do_package * rm_by_stamps wasn't using do_packagedata or do_packagedata_setscene stamp files to find which sstate archives to keep, so it was removing all of them (From OE-Core rev: 66ef2e62a7b5fe36c718f56a8ea9d7f6fd77c393) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate-cache-management.sh: Fix available architecturesMartin Jansa2014-02-021-16/+33
| | | | | | | | | | | | | | | | | | | | * grep for AVAILTUNES isn't enough in cases where AVAILTUNE doesn't match exactly with TUNE_PKGARCH, e.g. AVAILTUNE "cortexa8thf-neon" and TUNE_PKGARCH "cortexa8t2hf-vfp-neon", instead of trying to find dynamically every available TUNE_PKGARCH (we have _a lot_ of them even with oe-core only), add parameter --extra-archs where user can define extra architectures he supports in given build * Don't replace '-' with '_' for extra-archs, it does apply to MACHINE names and some AVAILTUNES, but e.g. cortexa8thf-neon shouldn't be converted to cortexa8thf_neon * Add empty architecture for populate_lic sstate archives * Add ${build_arch}_${arch} combinations for toolchain recipes (e.g. gcc-cross is using x86_64_i586 (From OE-Core rev: a27cc54fb2d0e59f3a800893c1848cb26a7c5335) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate-cache-management.sh: Show total number of files when showing how many ↵Martin Jansa2014-02-021-2/+8
| | | | | | | | | | | | will be deleted * it's good to see some the ratio of delted files until now it was showing only when all or none files were to be removed (From OE-Core rev: 54e6e25f1a369fa6c21ce0f9db3479b1a481825f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate-cache-management.sh: Fix rm_by_stamps() to work after SSTATE_SWSPEC ↵Martin Jansa2014-02-021-3/+3
| | | | | | | | | | | | | | | | | | change * format of filenames for sstate archives was changed in: commit 6f823a23c5f1d0ffa0a27db1c1bc1907de788505 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Fri Dec 20 12:06:02 2013 +0000 Subject: sstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally * this one doesn't need special care for old sstate- names they will be removed automatically as they don't match with any checksum in rigth format from stamps directory (From OE-Core rev: aa36f9c9b5abac58de899f98803d1c4375678044) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate-cache-management.sh: Fix remove_duplicated() to work after ↵Martin Jansa2014-02-021-13/+23
| | | | | | | | | | | | | | | | | | | SSTATE_SWSPEC change * format of filenames for sstate archives was changed in: commit 6f823a23c5f1d0ffa0a27db1c1bc1907de788505 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Fri Dec 20 12:06:02 2013 +0000 Subject: sstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally * remove_duplicated() wasn't able to find available architectures and duplicate files since this change * add extra step to remove old sstate archives starting with sstate- (instead of sstate:) (From OE-Core rev: ddb26341611c3dff41ea92a73d93ec01ae2865de) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/cp-noerror: Avoid a raceRichard Purdie2014-02-021-2/+3
| | | | | | | | | | Its possible something can delete $1 (since it may be empty) whilst cp-noerror is starting. Add an exception to handle this issue since if this happens, we shouldn't return an error. (From OE-Core rev: 13061ed1e1f347589d6955d5cc50a50574b00218) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto: rename busybox's bbappend file to match the current versionChen Qi2014-02-022-0/+0
| | | | | | | | | | Rename the bbappend file to match the current version of busybox. (From meta-yocto rev: de32658ea7bab306a0a0f5413f6a7ec752b2d478) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "poky-tiny: Assume pkgconfig is provided"Krzysztof Sywula2014-02-021-5/+0
| | | | | | | | | | | This reverts commit a54932dc373ec130f7a166d144f4d5744ec52097. pkgconfig does not pull in glib->dbus anymore (From meta-yocto rev: 4556c2b14f00d011e203d70bcc0ba8e70ec74d51) Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apmd.service: Fix typo (not mandatory EnvironmentFile prefix)Tobias Blom2014-02-021-1/+1
| | | | | | | | | | Prefix to EnvironmentFile should be preciding the filenamn. (From OE-Core rev: 1f694e4cb493b0737b6009382c0957e6837ebbed) Signed-off-by: Tobias Blom <tobias.blom@techne-dev.se> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* minicom: fix for multilib and x32 build crashCristian Iorga2014-02-021-2/+2
| | | | | | | | | | | | | | For source URI, the use of ${PN}-${PV} leads to build failures for multilib and x32. ${BP} is properly used instead. Partial fix for [YOCTO #5781]. (From OE-Core rev: 2e0dbfaed17fb89381e3bf155a29cd606b698c7c) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: syslog: update --help testStefan Stanacar2014-02-021-1/+1
| | | | | | | | | | | | | | | busybox 1.22 now returns exitcode 0 instead of 1 for --help options, so this test needs to be updated when busybox gets upgraded to 1.22. https://bugs.busybox.net/show_bug.cgi?id=5612 http://git.busybox.net/busybox/commit/?id=efd0698f74caab0a0c8a51228b923ee142e8e278 (From OE-Core rev: 1e560d234b6d3040a7a9f0eb023f1e4a654be1ea) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: make the 'watch' command register to /bin/watchChen Qi2014-02-021-0/+6
| | | | | | | | | | | | | | This solves the integration problem with busybox. Previously, there was a patch in busybox to move 'watch' to /usr/bin. Such patch is not accepted by upsteam and really not necessary as our ALTERNATIVE system can easily solve such intergration problem. (From OE-Core rev: 9e6e2aee21ff59687ddfd0e23fd0add9ee81d397) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: move 'stat' to base_bindir_progsChen Qi2014-02-022-4/+4
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: d98d6122bdfd84faaa37912ca66dabebc7eb9da6) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: rename busybox's bbappend fileChen Qi2014-02-021-0/+0
| | | | | | | | | | | As busybox has been upgraded, rename this bbappend file to make it match the current version of busybox. (From OE-Core rev: 12e33bd0dc02720122eb8088b08a181b13b6ef0e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: upgrade to stable 1.22.1Chen Qi2014-02-0211-773/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade busybox to the stable release 1.22.1. During this upgrade, 9 patches are removed. Reasons are detailed below. The following 6 patches are removed as they have been merged. meta/recipes-core/busybox/busybox/busybox-lineedit-initialize-delptr.patch meta/recipes-core/busybox/busybox/busybox-list-suid-and-non-suid-app-configs.patch meta/recipes-core/busybox/busybox/busybox-sed-fix-sed-clusternewline-testcase.patch meta/recipes-core/busybox/busybox/busybox-sulogin-empty-root-password.patch meta/recipes-core/busybox/busybox/find-get-rid-of-nested-functions.patch meta/recipes-core/busybox/busybox/testsuite-du-du-k-works-fix-false-positive.patch The following three patches are removed because they are mainly about moving binaries from /bin to /usr/bin to make the update-alternative work correctly at rootfs time. We can easily solve this problem by changing recipes. There's no compelling reason why such patches are needed. meta/recipes-core/busybox/busybox/run-parts.in.usr-bin.patch meta/recipes-core/busybox/busybox/stat-usr-bin.patch meta/recipes-core/busybox/busybox/watch.in.usr-bin.patch (From OE-Core rev: fa282186d82e8fe3c590d4ea79e464116e5ceea2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: check that TMPDIR is not located on nfsRobert Yang2014-02-021-1/+19
| | | | | | | | | | | | | | | | | | | | | There would be some unexpected errors when the whole TMPDIR is located on nfs, so add a test for it in sanity.bbclass. Note: The better way to get the filesystem id should be get f_fsid from struct statvfs, but there is no f_fsid in os.stat() or os.statvfs(), so we use 'stat -f -c "%t"' here. BTW., s/tmpdir/TMPDIR/ in the previous comment message to make them have a uniform. [YOCTO #5442] (From OE-Core rev: ee4061b43522c4893b41c3be63d06be1ee7e3c70) 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>
* sysvinit: add initscripts-functions to RDEPENDSChen Qi2014-02-021-1/+1
| | | | | | | | | | | As sysvinit doesn't inherit update-rc.d, we need to add this dependency manually. (From OE-Core rev: 4ea9ca2bbacb20c3ed454b80e2c020c1073f3299) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: automatically rdepend on initscripts-funtionsChen Qi2014-02-021-0/+12
| | | | | | | | | | | | | | | Automatically add 'initscripts-functions' to packages when needed. This extra dependency is added only when the package's init script would be used at system start-up. In other words, in a systemd based image, if the package has already got its service files, it will not have this extra dependency. (From OE-Core rev: de875cb8893fd8372dd77babaef54ab2d790693d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi2014-02-0217-22/+11
| | | | | | | | | | | | | | | Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. (From OE-Core rev: f9f193219bd510160b6b09bae652a9dc8ea01e7b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parted: enable ptest supportChong Lu2014-02-023-2/+311
| | | | | | | | | | Install parted test suite and run it as ptest. (From OE-Core rev: 425a3fb935f40325baeff88d2519b601a87c418d) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl:Fix multilib header conflict - curl/curlbuild.hBaogen Shang2014-02-021-1/+5
| | | | | | | | | | curl/curlbuild.h conflicts between 32-bit and 64-bit versions. (From OE-Core rev: 8b2e163338331fde05e47a4843f6bd1c9b4f9333) Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add Cortex A7 support for NEONv2 & FPv4Kristof Robot2014-02-024-4/+19
| | | | | | | | | | | | | | [YOCTO #5710] Add tuning options for Cortex-A7 with NEONv2 & FPv4: - cortexa7hf-neon-vfpv4 - cortexa7thf-neon-vfpv4 (From OE-Core rev: e97d152ca13556b41a236c1a4cfb11e77ff857d7) Signed-off-by: Kristof Robot <krirobo@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix build on qemumips64Robert Yang2014-02-021-1/+2
| | | | | | | | | | | | | | | | | The mips64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get int-ll64.h included. We had a similar fix on ppc64, use it for mips64 will fix the problem. [YOCTO #5758] (From OE-Core rev: 97bc0d1575b08830e3953933cbbc5732b1a82b31) 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>
* e2fsprogs:fix build native package errorBaogen Shang2014-02-021-1/+1
| | | | | | | | | | e2fsprogs requires pkgconfig to build native package (From OE-Core rev: c9036a6d2ba4a246ec7216be1971de7eb91aad5f) Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils: sshcontrol: rewrite the SSHControl classStefan Stanacar2014-02-021-83/+92
| | | | | | | | | | | | | | | | | | Split the class in two, one to handle the process and the timeout based on output and one for the actual ssh/scp commands. The ssh/scp methods now use the same run method. It does the same thing as before but: - it looks cleaner. - adds support for using a different user than root - optionally, raises an exception when exit code != 0 (that's useful for code outside of tests, where you wouldn't want to check the return code every time as the tests do) (From OE-Core rev: bb14a7598d3c0636dc249f719bde0d9d65b2694d) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for nativeMing Liu2014-02-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | A issue was fixed in target recipe with commit: 95893404 [ quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold <sgw@linux.intel.com> ] But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts. (From OE-Core rev: 34bd53c657f82a402723fcf2640b0511a68b6af5) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix ffsb ftbfs on cross-compiled environmentFathi Boudra2014-02-022-0/+22
| | | | | | | | | | | Add ffsb-remove-hardcoded-configure.patch: get rid of the hardcoded configure call preventing cross-compilation Add do_configure_prepend to explicitly force regeneration the configure file and pass configure options as appropriate. (From OE-Core rev: ce48f4ebfeae0bca599c6e39958ec8dec11e09dd) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix comment to refer to oe-core instead of pokyFathi Boudra2014-02-021-1/+1
| | | | | | | | (From OE-Core rev: 3312774a257ccec6adcc77534579526ef45732c3) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: update ffsb-6.0-rc2 license file pathFathi Boudra2014-02-021-1/+1
| | | | | | | | (From OE-Core rev: 9c6e76effaf94f01a577cbb6cfa08a35ca92172c) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: drop do_unpack_append/do_extract_tarballFathi Boudra2014-02-021-12/+0
| | | | | | | | | | we don't use tarball anymore and switched to ltp github mirror. (From OE-Core rev: 2af5bcd2e68388ac0844cf6bd14d96823cf3deb9) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix style using oe-stylize (no changes in the content of the recipe itself)Fathi Boudra2014-02-021-49/+51
| | | | | | | | (From OE-Core rev: 0fa8c2619e08326b4913950e278a3a2b2a55d929) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: update SRC_REV to LTP 20140115 releaseFathi Boudra2014-02-021-1/+1
| | | | | | | | (From OE-Core rev: 30b24980ea67a95daed5534632fd6605e076f65a) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>