summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* e2fsprogs : upgrade to 1.42.6Andrei Dinu2013-02-016-38/+48
| | | | | | | | | | | - removed the usage of the patches already contained in the new version - adapted patch remove.ldconfig.call.patch so that it applies on new version (From OE-Core rev: 7ceba1eb102b3f855f561764833f8a7a407b7785) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu : upgrade to 50.1.2Andrei Dinu2013-02-011-3/+3
| | | | | | | | (From OE-Core rev: 1ce0a0b56e37eb4807f5d7e44e0afaba8a05c278) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: don't list the same path twice in RTLDLISTBogdan Marinescu2013-02-011-3/+6
| | | | | | | | | | | | | Before modifying RTLDLIST in ldd, make sure that it doesn't already contain the right path, thus avoiding duplicate entries in RTLDLIST. [YOCTO #2655] (From OE-Core rev: 3cef117439aea2d724e92dcb0f862f1cc8e8bfa5) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: enable multilib for target gccConstantin Musca2013-02-017-2/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a task to setup multilib configuration for target gcc - this commit adapts Nitin Kamble's work to gcc 4.7 - use a hash for storing arch-dependent multilib options - patch gcc in order to use the multilib config files from the build directory Tests: root@qemux86-64:~# gcc -m64 t.c -o t root@qemux86-64:~# file t t: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped root@qemux86-64:~# ./t Hello World ! root@qemux86-64:~# gcc -m32 t.c -o t root@qemux86-64:~# file t t: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped root@qemux86-64:~# ./t Hello World ! [YOCTO #1369] (From OE-Core rev: b26819c85881e82ee1b5c68840011e78c321f18e) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module-base.bbclass: Call make instead of oe_runmake in do_make_scriptsKhem Raj2013-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the external module compilation a bit more robust for cases where external module recipes may be passing extra params to make via EXTRA_OEMAKE, and more than often one needs to pass M=$(PWD) when building external modules and if we use EXTRA_OEMAKE that would mean that it would appear in do_make_scripts as well and since we are only changing the reference kernel src tree here it will not run the make scripts in desired directory. It is also well explained in top makefile in kernel tree around line# 1335 in 3.4 |else # KBUILD_EXTMOD | |### |# External module support. |# When building external modules the kernel used as basis is considered |# read-only, and no consistency checks are made and the make |# system is not used on the basis kernel. If updates are required |# in the basis kernel ordinary make commands (without M=...) must |# be used. Therefore passing M=... will not do the updates in the basis kernel as expected with 'make scripts' so we have to bypass EXTRA_OEMAKE [Yocto #3787] (From OE-Core rev: 0e0a5ee405bab478f35690e95219a1e5f2ac7aa6) 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>
* libfm: add dependency on libexifMartin Jansa2013-02-011-1/+1
| | | | | | | | | | | * it's autodetected from sysroot (From OE-Core rev: 945953ed40dafb88d0b559f056fc49f63a84d6de) (From OE-Core rev: 58a6a61b076b7ad4c2c3aba0336ae91bc7869394) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module.bbclass: Allow for modules to be packaged seperate from ${PN}Saul Wold2013-02-011-4/+15
| | | | | | | | | | | | | | | | This patch will allow recipes that provide kernel modules to package the module or modules in specific packages. That list is contained in MODULE_PACKAGES, this defaults to to preserve the current behavior. The package can also define MODULE_FILES to specify files. [YOCTO #3803] (From OE-Core rev: c1ff0467bf03a3342846f0d9dde74e34b740798f) (From OE-Core rev: 977aee43868499ab87a098f3798e90d6978836b9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-bad: remove musicbrainz build-dependencyRoss Burton2013-02-011-2/+2
| | | | | | | | | | | | | | This plugin only works with an old version of the musicbrainz API, so it hasn't been built for some time now. So, remove the libmusicbrainz dependency as it isn't used. (From OE-Core rev: 993b4fd2a63939359ea1833374912c15fccf6120) (From OE-Core rev: 775621d65b5b72169913c817ed9de7973b2d5dcf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: updated to 1.8.1.2Bogdan Marinescu2013-02-011-3/+3
| | | | | | | | | (From OE-Core rev: 81942e454e4c5aadf640dd3b2431f5726330c52d) (From OE-Core rev: f07be36a5f699d08d0c018fb7ec327d6a509d76d) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcp: Fix unshipped WARNINGSSaul Wold2013-02-012-3/+3
| | | | | | | | | | | | | | This fixes: WARNING: QA Issue: dhcp: Files/directories were installed but not shipped /etc/dhcpd.conf.example /etc/dhclient.conf.example (From OE-Core rev: 209c7a31ff62291a1aa21dfa4062c7fd3d1a6155) (From OE-Core rev: d3c6125001516955faf8fa52032cb18681238916) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license: fix LICENSE_CREATE_PACKAGE to stay disabled by defaultMartin Jansa2013-02-011-1/+2
| | | | | | | | | | | | | | | * as reported by Enrico on #oe 11:06:50 < ensc|w> JaMa: might this be caused by dc78ef91a2bf01efb8028c9afbe69e506e016265 which checks for 'd.getVar('LICENSE_CREATE_PACKAGE', True)' evaluating to 'True' for every string (including the default 0) (From OE-Core rev: bc42585ad9ca3a9891459ec3234893dff420b95b) (From OE-Core rev: 0ab56ad52937823dc66b541dd4eda09fb6a34407) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: add TARGET_ARCH & TARGET_SYS to MULTILIB_SAVE_VARNAMEConstantin Musca2013-02-011-1/+1
| | | | | | | | | | (From OE-Core rev: 81f3dd49693a7ad2e98c182896c98fc71b01592f) (From OE-Core rev: 92e74eb2f501b10a513e043d3d62007d8ab5f468) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: add EXTRACONFFUNCS variableConstantin Musca2013-02-011-1/+3
| | | | | | | | | | | | | - add EXTRACONFFUNCS variable in order to make it possible to inject tasks after autotools_preconfigure (From OE-Core rev: eafaeee58ab7a8f0613f54b8411f41ccefdf94c3) (From OE-Core rev: d7950a25eda96a271aa6d541e03177d47e533f3f) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: systemd-analyze remove python runtime dependenciesAndreas Müller2013-02-011-2/+0
| | | | | | | | | | | | systemd-analyze was rewritten in C (From OE-Core rev: d0682242fb44042497764ecc821b19c3f89054a0) (From OE-Core rev: 83b0af0aa50e1b0259ae13ea723289a3edb7d9e2) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: systemd-analyse has moved to base_bindirAndreas Müller2013-02-011-2/+2
| | | | | | | | | | (From OE-Core rev: e24a5a72b73017c59fa0503b9745cb58444ea121) (From OE-Core rev: 3c14a1f79097f471d5897bea11d55ab4ac17b17e) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Drop ppc build breakage patch for test-unit-fileKhem Raj2013-02-012-33/+0
| | | | | | | | | | | | its been fixed differently upstream in 197 (From OE-Core rev: 50a8bc8cf32f0cf38f0a910b0ae6bba03a2d58d7) (From OE-Core rev: 97b8958b194add71f281651be1ab1a825029977d) 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>
* systemd: bump PE to provide upgrade path from meta-systemd recipeMartin Jansa2013-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 197 sorts lower then v196.*, 22 ERRORs are shown when buildhistory is used: ERROR: Package version for package udev-dbg went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package udev went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package udev-consolekit went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package udev-utils went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package udev-systemd went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-gui went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-vconsole-setup went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-initramfs went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-analyze went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-dbg went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-staticdev went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-dev went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-doc went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd-locale went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package systemd went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package libgudev-1.0 went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package libsystemd-daemon went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package libsystemd-id128 went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package libsystemd-journal went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package libsystemd-login went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) ERROR: Package version for package libudev went backwards which would break package feeds from (0:v196-105-gdecd634-r20.0 to 0:197-r1.0) (From OE-Core rev: a58238aec13dc7a0fe350c65502860a9045d151d) (From OE-Core rev: 71ae1992ee79672556b0fb1e066d317044a214cc) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinetd: enable tcp-wrappers supportRoy.Li2013-02-011-1/+4
| | | | | | | | | | (From OE-Core rev: 5890c691510797613b8418456ef5f7b6152c3410) (From OE-Core rev: 722caaa6783e0a5796f11b77503121d9c0c7f391) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Sudo : upgrade to 1.8.6p4Andrei Dinu2013-02-012-8/+26
| | | | | | | | | | (From OE-Core rev: 115b1a703c26e11c631d77901104605d64f51f82) (From OE-Core rev: 5f93bb7e783c23a5da344a9fc2f856f9b973d54c) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: honor ROOT_HOMEEnrico Scholz2013-02-011-2/+1
| | | | | | | | | | | | | Use ${ROOT_HOME} which was added in commit a78cd0b3a69b829327cea035321051ab11cba70f. (From OE-Core rev: b783b0fe2ac7d6733eaaa4ba9f078ed67d0de944) (From OE-Core rev: 6ad2b3e18358a075b5a93edc2e620ac0ce9a15c8) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: remove AX_KERNEL_VERSION from acinclude.m4Tom Zanussi2013-02-011-19/+0
| | | | | | | | | | | | | | | | | | | | | | The version of this macro in acinclude.m4 is preventing the correct version in the package's kernelversion.m4 from being used. Since the version in acinclude.m4 includes the obsolete config.h, any test that uses it with newer (> 2.6.19) kernels fails. In the case of oprofile it means that perf_events support is never detected and thus 'legacy oprofile' is always built. Fixing this allows the new perf_events 'operf' support to be built. Fixes [YOCTO #3447] (From OE-Core rev: 3f7f17894c097ebaa81055c8449c543b734df541) (From OE-Core rev: 6fac31c7930e228efe5fed978964885e37a4da80) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: add kernel dependencyTom Zanussi2013-02-011-0/+2
| | | | | | | | | | | | | | oprofile-0.9.8 adds 'operf' which depends on the kernel's perf_events subsystem to be present when building, which adds the kernel dependency that we specify in a new DEPENDS for oprofile-0.9.8. (From OE-Core rev: d4dd1eaf75ef3d494d16ed2561e3ff4f5928a428) (From OE-Core rev: 16bc366877a2e02d96adb91b90e30710777e6f09) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: update test case du-k-worksKang Kai2013-02-012-2/+38
| | | | | | | | | | | | | | | | busybox test case du-k-work fails on ext3/4 image whose size less than 512M. Add patch testsuite-du-du-k-works-fix-false-positive.patch to fix it and it has been merged by upstream. [Yocto 2896] (From OE-Core rev: ffe4f8a859d5e71e3e33363d61f0470a32c48d66) (From OE-Core rev: 19eb2971c6e8c4a2847897919ec7a2cd9b1697b1) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-smartpm: multilib fixesBogdan Marinescu2013-02-012-1/+24
| | | | | | | | | | | | | | | | | To fix some multilib issues, change the way the RPM backend decides if two packages can coexist: if they have a different architecture, automatically assume that they can coexist (which is fundamental for multilib). [YOCTO #3681] (From OE-Core rev: 05fd850f09c58dba8f64f3fe1de28ed9f21890a2) (From OE-Core rev: 03c892a02568fa8a5765d9fb569a55f17ea05f96) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* metacity: remove, migrated to meta-gnomeRoss Burton2013-02-012-58/+0
| | | | | | | | | (From OE-Core rev: 30b4dcdd3a4f78f3e7c7b94ffb9e0f94e56568ad) (From OE-Core rev: d5314f90747a09967fcbcccec8d86b1e2f48980d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcanberra: remove, migrated to meta-gnomeRoss Burton2013-02-011-32/+0
| | | | | | | | | (From OE-Core rev: 30b2d9d61965c02cc62bce8d295dc0da7e8ab71f) (From OE-Core rev: df2bb0fd9f5921a430eb2f7435b69c901f01ac91) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Flex: use proper m4 binary on targetMarcin Juszkiewicz2013-02-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flex tries to execute: /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/m4 As workaround you can: mkdir -p /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ ln -s /usr/bin/m4 /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ So this is a bug how OE builds flex. flex tries to execute: /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/m4 As workaround you can: mkdir -p /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ ln -s /usr/bin/m4 /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ So this is a bug how OE builds flex. https://bugs.launchpad.net/linaro-aarch64/+bug/1106865 (From OE-Core rev: 215bcc780d9bc4a7d96d1c706db80abe4ef659dd) (From OE-Core rev: 7bdb617f2f0e246feb4dc32931fdb87258fd1207) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Dont use nss with uclibcKhem Raj2013-02-013-0/+96
| | | | | | | | | | | | Add defines which otherwise are missing in uclibc nss (From OE-Core rev: 649c72a9aba96a609f699970933f4fa60e3cb5bc) (From OE-Core rev: a8514d619830c976ae66cb582b8050908a85a7b5) 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>
* libevent : upgrade to 4.0.21Andrei Dinu2013-02-012-53/+5
| | | | | | | | | | | | | | | | | | | - removed libevent-2.0.16_fix_for_x32.patch because the newer version contained the changes done by the patch. - LICENSE file new checksum caused by : old : Copyright (c) 2007-2011 Niels Provos and Nick Mathewson new : Copyright (c) 2007-2012 Niels Provos and Nick Mathewson (From OE-Core rev: eda67a8cb2b2669c12ecda2cf9b00e1001b8c598) (From OE-Core rev: 830eeee2da5bdea2420a1eac8814e4a51eacbd7a) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktool : upgrade to 4-6.1Andrei Dinu2013-02-011-3/+3
| | | | | | | | | | (From OE-Core rev: d41cb0b5a727d6fda639d39b273e3352ab069a66) (From OE-Core rev: f4baf5e123974135eea5a9f88bcaf3794895fde7) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl: Update to 3.2.21Saul Wold2013-02-011-2/+2
| | | | | | | | | (From OE-Core rev: cdcf64866448fcbeaf6ddeff88ef7261c0cf7cae) (From OE-Core rev: 62958c5af0b838007244b8b139912d5a8dc8507a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Update to 3.7.15.2Saul Wold2013-02-011-3/+3
| | | | | | | | | (From OE-Core rev: bacdb06ed7795400ea08b25946dc94b956b7578b) (From OE-Core rev: 9a419a38f6d5beb5c174204910878370d92258d8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Use expanded RDEPENDS in read_shlibdepsRichard Purdie2013-02-011-1/+1
| | | | | | | | | | | | We may as well expand the RDEPENDS when reading and writing as this function does. if we don't do this, we could accidentally duplicate data and it also turns out to be much less efficient. (From OE-Core rev: d62a3151e7b252911c172a605b3089de355663c5) (From OE-Core rev: 8f602e84e6ae4e346acef7cf5473343039fa352a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: Create global package file list and use throughout PACKAGEFUNCSRichard Purdie2013-02-014-61/+60
| | | | | | | | | | | | | Currently we do a signficant amount of tree traversal in many different places which in inefficient. We can assume that the files don't change and cache the file list which gives an efficiency improvement which this patch does using a global variable. (From OE-Core rev: 2d7608842d2dab07065e60aab729a5c8fd6b7907) (From OE-Core rev: 5c7c8347eb1bc25d194be6f4be142ba0924e2600) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Improve package_fixsymlinksRichard Purdie2013-02-011-7/+12
| | | | | | | | | | | Improve package_fixsymlinks so we don't handle RDEPENDS for every single package in PACKAGES. (From OE-Core rev: 20ff8feb95d54e4db646f8c0cb006ce187e288af) (From OE-Core rev: ca2ee871f82dd0ba4122a8373e4efd21cec5722b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Tweak PACKAGEFUNCSRichard Purdie2013-02-011-3/+3
| | | | | | | | | | | | Move package_rename_hook call into PACKAGEFUNCS and also move package_get_auto_pr to a more appropriate execution point, grouping package metadata handling functions together. (From OE-Core rev: a3f41cfbc8923e54198d10db292a11ef2edda4d7) (From OE-Core rev: 96d268166ab0d4640767bf3a0886358dcb663d0f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Split out package_fixsymlinks functionRichard Purdie2013-02-011-5/+12
| | | | | | | | | | | | The symlink handling code doesn't need to being part of populate_packages and is logically separate so split it out into a separate function, package_fixsymlinks. (From OE-Core rev: fc964ed2b558b08327e2bc8c93ada80ca9d97337) (From OE-Core rev: 08a194c13857b02a2febf9b1484b3cdd67a18160) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Move PKG handling code to emit_pkgdataRichard Purdie2013-02-011-6/+5
| | | | | | | | | | | We only use the PKG variable in emit_pkgdata so we might as well move the fallback code there, allowing restructuring of other parts of the metadata. (From OE-Core rev: 0136ae9a5f719f0e7ba6e00bfd366c0e61b3b3f2) (From OE-Core rev: df38695f0fbea10289e85fdcb7c2bdf566990577) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Avoid copying the datastore for FILES handlingRichard Purdie2013-02-011-10/+1
| | | | | | | | | | | | There is no real point in adjusting overrides and creating a copy of the datastore, just to access a single variable. We can do this just as easily with a slightly more complicated getVar call. This improves performance. (From OE-Core rev: 69f4351809359a0c7c38e8f233f3e3f7680ed2e2) (From OE-Core rev: b5d65f5d5e5b26d3a2c673e899114c90bcaf6bc8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Check FILES once, not once per loop iterationRichard Purdie2013-02-011-3/+3
| | | | | | | | | | | There is no need to check FILES in each loop iteration, we can just check it once at the start when we read the variable. (From OE-Core rev: 1bcc5cba12cbb1b846b433719d1b0820f5a97105) (From OE-Core rev: 40542f7a46bfb8431e31eca9af06adb4b343d810) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Add a shortcut exit from the mkdir functionRichard Purdie2013-02-011-0/+2
| | | | | | | | | | | | The mkdir function iterates over strings with many different operations, even if ultimately the target already exists. This adds a check to the start of the function so we don't waste time when the target already exists. (From OE-Core rev: 06e188e673313f1eb9ae7d85ae64467c8d2a94b3) (From OE-Core rev: 9509627e06ab4cf18c5bbf3f405ecf19a9f40287) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Improve kernel module handlingRichard Purdie2013-02-011-21/+16
| | | | | | | | | | | | Currently the kernel module handling consists of several special cases and has its own path walking. This refactors the code to handle them in a more standardised way which is also a bit more efficient. (From OE-Core rev: ad51b54f0afe8c56033137b7cf9ba398877b2651) (From OE-Core rev: cb24a72e97afb43de5e1e79ff807fd9e184df6a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: Rename splitfile functions to something more descriptiveRichard Purdie2013-02-011-12/+9
| | | | | | | | | | | | The splitfile and splitfile2 function names are confusing and the comments are also misleading, hard to understand or plain incorrect. This tries to improve things. (From OE-Core rev: 46f3050a1f46f814e2d031e7e71600b2932d631c) (From OE-Core rev: bc6f7085b42d8137957795e800e8b46d2f1eddac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: Use BASELIB to set baselib, not hardcode the valueRichard Purdie2013-02-011-1/+1
| | | | | | | | (From OE-Core rev: 1a97cab9d4856e8948025ce6f406c76a2732ec36) (From OE-Core rev: b157ac5590a06405fd5622c7cf7c51c0a2d3cc5e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Ensure MLPREFIX is applied to AUTO_LIBNAME_PKGSRichard Purdie2013-02-011-1/+1
| | | | | | (From OE-Core rev: c09777a99281e22f006b3e8bdc90b469ba12d9fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* QT4: use '-no-neon' if cpu does not support neonRoy.Li2013-02-012-4/+4
| | | | | | | | | | Some armv7a cpu does not support neon, like SPEAr1310, so we should check against "neon" in TUNE_FEATURES. (From OE-Core rev: 173d430ab2a06fb86f1c5bb0ca60376dd2fdbdfb) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native:fix dpkg-scanpackages error at deb image creation time on Fedora 17Hongxu Jia2013-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Invoking dpkg-scanpackages on Fedora 17 to build deb image meets such an error: Can't locate Dpkg.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/loc al/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr /lib64/perl5 /usr/share/perl5.) at tmp/sysroots/x86_64-linux/usr/bin/dpkg-sca npackages line 27. 1. The dpkg-scanpackages is invoked at deb image creation time and it is built by dpkg-native. The dpkg-scanpackages is a perl script and import module `Dpkg'. 2. The Dpkg.pm has been installed in perl's staging dir at dpkg-native compiling time. Such as `tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/Dpkg.pm' 3. The dpkg-native uses create_wrapper to relocate to perl-native if perl-native has been built. If perl-native isn't built, it will use the host Dpkg as default. 4. If dpkg-native is built on a new build envionment which means perl-native doesn't exist before, and the build system doesn't install dpkg (such as Fedora 17), the dpkg-scanpackages could not work correctly. 5. Modify dpkg-native's depends, change `perl-native-runtime' to `perl-native', Let perl-native automatically be built before building dpkg-native. [YOCTO #3817] (From OE-Core rev: 7d194e72ee12cb6690bf07a8423cb461dd210719) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mini-x-session: Fix runtime when using without session contentsOtavio Salvador2013-02-012-9/+11
| | | | | | | | | | | The script where behaving badly when the session directory does not exist and also lacking a dependency to 'sudo'. Instead of adding a dependency on 'sudo' we use 'su' as done in xserver-common. (From OE-Core rev: 84b58ed421fd14796ddcbc4cc7fc13a5a098d6cc) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: Add DEPENDS on intltool-nativeMing Liu2013-02-011-1/+1
| | | | | | | | | | | | | | | | When 'bitbake -c configure connman-gnome' is executed from scratch, it fails with syntax error parsing `IT_PROG_INTLTOOL(0.35.0)' in configure.in. This is caused by its definition is not included into aclocal.m4 Adding intltool-native to DEPENDS is gonna fix it. [YOCTO #3815] [ CQID: WIND00401118 ] (From OE-Core rev: 283dd547b5ed657f871b9330ff4d8d5b3afd1e32) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libaio: Fix MIPS system call interfacePhil Staub2013-02-012-1/+64
| | | | | | | | | | | | | | | | | | The io_syscallX wrappers in syscall-mips.h discard error return status by overwriting the value returned in v0 from the system call with -1. Modify this behavior by returning the negative of the return value on error (as identified by a3 != 0). This convention is consistent with the behavior observed in syscall-ppc.h. For a description of the MIPS system call interface, see: http://www.linux-mips.org/wiki/Syscall (From OE-Core rev: 0d8f50c33e5ff71dc17121b5c293718a8ad602bd) Signed-off-by: Phil Staub <Phil.Staub@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>