summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake.conf: Improve wget timeoutsRichard Purdie2012-05-251-4/+4
| | | | | | | | | | | The wget default is a 900 second timeout and 20 retries. This is way too long for most of our usecases so this patch changes it to a 30 second timeout and reduces retries from 5 to 2. We have good mirror infrastructure, this will let us fall back to it easier. (From OE-Core rev: 48429569b9f83fde8f9802cfd8674fa24178876c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/fetch2: fix comments for verify_checksumPaul Eggleton2012-05-251-6/+3
| | | | | | | | | | This function no longer returns a value, it raises errors instead, so update the comments to reflect this. (Bitbake rev: 8b61b9584a8b00378f9fd8f165dbd65dcfd3c14e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/exceptions: Handle reports from the field of exception code failuresRichard Purdie2012-05-251-1/+8
| | | | | | | | | | | | | | | | Despite using python 2.6, there have been reports of issues where bitbake is printing tracebacks with errors in the exception handling code. This was masking the real error. Since we need to do whatever we can to give the user good feedback about errors, detect the tuple instead of namedtuple case and don't fault in the exception handler but just give up trying to traceback any further. In the reported cases, this gives a message the user can then understand. (Bitbake rev: 9ec0429271e68527a55fc123dea5a1b959c6ec3b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/utils.py: Ensure utils.which() returns full pathsRichard Purdie2012-05-251-0/+2
| | | | | | | | | | | | If the path passed to which contains empty elements, it will search the current working directory for the file which is correct baheviour. Various pieces of code assume the path returned is a full path though. This commit ensures we don't return relative paths. (Bitbake rev: 4de24ccc10e40cc088b8515095df59f69b12715d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/cooker: Ensure matchFile returns full pathnamesRichard Purdie2012-05-251-1/+1
| | | | | | | | | | | | | We should always be passing full pathnames around within bitbake. If a file was referenced as a relative path to the current working directory, it might not get passed through the abspath call and hence the cwd would not get added as a prefix. This change adds a second pass at ensuring we only return absolute paths. (Bitbake rev: 72fc62ca124a24e2dbe404a3c83a49608a7c7931) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob:fixed the issue of primary button is not an 'orange hob button'Liming An2012-05-251-11/+16
| | | | | | | | | | | | In image detail page, the primary button should be an 'orange hob button', there has a primary button is not, so change it. [YOCTO #2326] (Bitbake rev: 884a0b2d927404991b7e23d5bbfab096a5b7e849) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* BBHandler: Tweak some data store access methods to the preferred syntaxRichard Purdie2012-05-251-4/+4
| | | | | | (Bitbake rev: d7ec0f90354e60c415a01429bf26746c1d63b7ad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable vnc-jpeg compressionSaul Wold2012-05-242-2/+2
| | | | | | | | | | | This is disabled by default to ensure a deterministic build, qemu configure would sometimes detect the libjpeg and then enable this. Since mostly qemu is used locally disable by default. (From OE-Core rev: 0f795f81fe5ad3ef78c21a177eca90fbc8810f81) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Remove mesa-xlib as PREFERRED_PROVIDERSaul Wold2012-05-241-1/+0
| | | | | | | | | | | | | | The xserver-xorg uses and depends on mesa-dri, so we should use the default PREFERRED_PROVIDER of libgl as mesa-dri. This resolves the following: ERROR: Multiple .bb files are due to be built which each provide virtual/libgl (/intel/poky/distro/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /intel/poky/distro/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb). This usually means one provides something the other doesn't and should. (From OE-Core rev: cf8b4b95c6d84c097f4fc63662f181a59e0f9cb9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machinesKhem Raj2012-05-246-1/+346
| | | | | | | (From OE-Core rev: db0defb1d019a0e7c06d37dacc09842174e2f548) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemumachines: Enable xserver-xorg as default xserverKhem Raj2012-05-243-3/+12
| | | | | | | | | | | | | | | | | | | | | For qemux86 and qemux86-64 include qemu.inc after defining XSERVER XSERVER variable is also weakly defined in task-core-x11.bb which means we can not use ??= otherwise when building any qemu image that uses task-core-x11.bb will get the wrong definition So we define the XSERVER common set for qemu in qemu.inc and as we know x86 and x86-64 qemu overrides the default we include qemu.inc after that definition which means that qemux86 and qemux86-64 get their own definitions and other qemus get the definitions from qemu.inc. other non-qemu machine will get their defintion from task which points to kdrive as of now. (From OE-Core rev: 62dba36166bc5faa32ba3e0664ae98b168cde6b1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update to distro_tracking_fields.incLaurentiu Palcu2012-05-241-91/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fields for the following packages were updated: libdrm xf86-video-vmware xf86-input-mouse xf86-video-vesa xf86-video-intel xf86-input-synaptics mdadm xextproto xcmiscproto scrnsaverproto recordproto xproto kbproto fontsproto libxt xtrans libpciaccess fontconfig xcb-proto (From OE-Core rev: 801bfa7edfbff1522964efab0c0ba40bbc52c601) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-synaptics: upgrade to 1.6.1Laurentiu Palcu2012-05-241-3/+3
| | | | | | | (From OE-Core rev: 0a1e60410234f0315b617593859b9deab89c2cd4) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-intel: upgrade to 2.19.0Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: e4db6a5f86b0e725c0ddbd114316d488a024b951) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-vesa: upgrade to 2.3.1Laurentiu Palcu2012-05-241-3/+3
| | | | | | | | | | Also, licence checksum has changed because a new copyright line from Red Hat has been added. The rest of licence file, however, is unchanged. (From OE-Core rev: 21dd5de819251a611a8fe206b2d4bc390008c4f5) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-mouse: upgrade to 1.7.2Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 44cb88f9acde3ef264a04311ff6c8c195ac9cd57) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xtrans: upgrade to 1.2.7Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: c2943924d94c2418736b9e935b4b058e882b4752) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxt: upgrade to 1.1.3Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 438705407d9af2b54c03648b23bb16411424d870) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcb-proto: upgrade to 1.7.1Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 03b42a5981c98cc7c47b376ce91e46098c4b8eed) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recordproto: upgrade to 1.14.2Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: b3d94113bb277b58dad9de021313bafa57c9780b) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scrnsaverproto: upgrade to 1.2.2Laurentiu Palcu2012-05-241-3/+2
| | | | | | | (From OE-Core rev: 1b134f5240588c53e82effb1cc77ba91edabbcba) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcmiscproto: upgrade to 1.2.2Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 481bc016c4b029200c75feb5a91bd82a425810e3) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xextproto: upgrade to 7.2.1Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 02f6d0eede83208b48759319be2b5af99e15af59) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbproto: upgrade to 1.0.6Laurentiu Palcu2012-05-241-3/+3
| | | | | | | | | | Also, shifted up one line the start and end lines for licence checksum computation. (From OE-Core rev: b34855ef05fc5373f55ea75efa617316016f9d83) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xproto: upgrade to 7.0.23Laurentiu Palcu2012-05-241-3/+3
| | | | | | | (From OE-Core rev: b7cd93644aaa50aac39ab23c0a2ca19415ba3989) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: upgrade to 2.4.34Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: af3c8de7b6cbedddaf6bf89108879c89a52ff02e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade to 3.2.5Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 511b25110a5c0948f2be289daf0bf25f32466487) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Enable valgrind for armv7Samuel Stirtzel2012-05-241-0/+3
| | | | | | | | | | | | | Valgrind supports the armv7 architecture, this patch allows armv7 users to build and use Valgrind This patch was run-tested on a Gumstix Overo (armv7a cortex-a8) * The test consisted of running valgrinds memcheck (memory leakage detection), * and callgrind (profiling) on a Qt 4 application (From OE-Core rev: 211ac8b39023d4998fb7d5a577b63a4960b08172) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gawk: update to 4.0.1Radu Moisan2012-05-241-3/+3
| | | | | | | (From OE-Core rev: 345566c448f5cd628866cb0736d567f5a610b3db) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* jpeg: update to upstream version 8dMarko Lindqvist2012-05-243-36/+5
| | | | | | | | | | | * fix_for_automake_1.11.2.patch removed as issue resolved upstream * Have README as license file instead of several source files that just refer to it (From OE-Core rev: 330173c75426aa38919091da9ae8a9e90de9e0e2) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade to 2.32.3Martin Jansa2012-05-242-31/+32
| | | | | | | (From OE-Core rev: 1f73485a143f0aa6cd87636f3d36a7d1dfc40a3b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: check sanity at BuildStarted rather than ConfigParsedJoshua Lock2012-05-241-1/+1
| | | | | | | | | | This enables a user to use bitbake -e even when the sanity checks are failing. (From OE-Core rev: be317df78535120137ecaadf797e3f4dfe04119e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: catch an extra exception in check_create_long_filenameJoshua Lock2012-05-241-0/+2
| | | | | | | | | | The call to bb.mkdirhier() in check_create_long_filename() can fail with an OSError, explicitly catch this and report something useful to the user. (From OE-Core rev: b066906477eb0496a2babb3d8e87682a1b7df0de) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: add extra information when SSTATE_CACHE unusableJoshua Lock2012-05-241-0/+7
| | | | | | | | | | | | If the user does not have write permissions to SSTATE_CACHE, detected by the check_create_long_filename() test failing with a "Permission denied" value in strerror, then suggest they might want to use the location as an entry in SSTATE_MIRRORS. (From OE-Core rev: 719d44305508c75a9f2decacdff6558ca14277bb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: add newline to check_create_long_filename failure messageJoshua Lock2012-05-241-1/+1
| | | | | | | | | Each failure in the sanity message should be reported on a new line. (From OE-Core rev: 9362702aa9dd82fed7e6d6e3cb1289521b802075) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: data.getVar(VAR, obj, exp) -> obj.getVar(VAR, exp)Joshua Lock2012-05-241-30/+30
| | | | | | | | | | Replace calls to data.getVar(VARIABLE, data_object, expand) to direct calls to the getVar method the the data_object. (From OE-Core rev: 41ee978b62a9c40f36f8ad0acef147e36edffa17) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: copy the data store and finalise before running checksJoshua Lock2012-05-241-60/+69
| | | | | | | | | | | | | At the ConfigParsed event the datastore has yet to be finalised and thus appends and overrides have not been set. To ensure the sanity check is being run against the configuration values the user has set call finalize() on a copy of the datastore and pass that for all sanity checks. (From OE-Core rev: 71142172efc0f44a50216550c2b6cc3094fdc21d) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "sanity.bbclass: check user can read and write to SSTATE_DIR"Joshua Lock2012-05-241-14/+3
| | | | | | | | | | This has caused problems for several users, including the Yocto Project autobuilder. Since the message was added in order to be more user friendly revert the change. This reverts commit 0c0c4efbf92bcf0f8942f17c18525a4b4ed1798c. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: bump PR of packages after update of distutils.bbclassAndreas Oberritter2012-05-246-6/+6
| | | | | | | | | | * Bump every recipe inheriting distutils or setuptools and not overriding do_install without calling distutils_do_install. (From OE-Core rev: 61487342764684cacef765e221609fe16ffc2740) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils.bbclass: don't delete .pyo filesAndreas Oberritter2012-05-241-4/+0
| | | | | | | | | | | | | | | | | | | | | * Deleting .pyo files causes them to get compiled on the target. * First boot gets *really* slow for python based projects. * No space gets saved on the target. * The package manager doesn't know about the files and therefore fails to uninstall them, occupying space and causing uninstalled python scripts to remain executable. * It's inconsistent, because python itself and autotools based projects already ship .pyo files. * Probably .pyo files were deleted because .pyc files were available earlier, but this has changed and OE-Core's python now only generates optimized .pyo files. Deletion of .pyo was introduced in 2008, python/04-default-is-optimized.patch was introduced in 2009. (From OE-Core rev: 25e186ad5b75bd2f93435857580bd16698e18e21) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: merge init script updates from upstreamAndreas Oberritter2012-05-242-33/+70
| | | | | | | | | | | | | | | | * Read /proc/mounts only once. * Support many more network filesystem types. * Remaining differences to netbase 4.47: - Uses the mountvirtfs keyword instead of mountkernfs - Doesn't use lsb functions - Doesn't print a warning if /etc/network/options exists - Doesn't use --exclude parameter for ifup, because busybox doesn't support it. (From OE-Core rev: faca42ee5249cf6aae9e53e44bb404de21dd4471) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: fix packaging error since last commitAndreas Oberritter2012-05-242-2/+2
| | | | | | | | | | * wpa-passphrase has its own package, but commit 4a4c568e25a08e9f222d723f9819582c9f895c58 broke it. (From OE-Core rev: 7e4fcbb1ceac736c44bffc834f7e8f2b34ac4402) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: fix postinst scriptsAndreas Oberritter2012-05-241-8/+7
| | | | | | | | | | | * On upgrade, postinst ocassionally returned 1, so use a conditional instead of &&. * Use sed patterns in order to make it work more generally. (From OE-Core rev: c678d4c42ed0075572c5fad17ca33773ad3f6447) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: avoid host contaminationAndreas Oberritter2012-05-242-1/+17
| | | | | | | | | | * Import patch from OE-Classic commit f7c547ede1bfc94c24f6315a23ff48a4c5b9ffaf. * Fixes linking with libpcap (ppp filter). (From OE-Core rev: ba1539f165470d6ee9b7b95b5067792e384e6aea) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: fixed parallel build related raceEnrico Scholz2012-05-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | While building libtool, the libtool script itself will be regenerated because OE modifies a dependency[1]. With -jX, this operation (--> removal, creation of non-x file, 'chmod a+x') can happen at a time when the script is going to be executed. This can cause errors like: | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | ... | /bin/sh ./config.status libtool | ... | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | /bin/sh: ./arm-linux-gnueabi-libtool: Permission denied | make[2]: *** [libltdl/libltdl_libltdl_la-lt__alloc.lo] Error 126 I am not sure whether the custom do_compile_prepend() is still needed. For now only the issue above will be fixed by executing ./config.status yet again. [1] see 648290d5bf4d6ff50d3643bb7ad902dfc23aa702 (From OE-Core rev: e065c11b6066f8c1d37496b58dd853a684cd9136) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Avoid occasional builling failure when having parallel processable taskXiaofeng Yan2012-05-241-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ncurses failure non-gplv3 build (race issue) like the following \ error information: | tic: error while loading shared libraries: /srv/home/pokybuild \ /yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/\ work/x86_64-linux/ncurses-native-5.9-r8.1/ncurses-5.9/narrowc/lib\ /libtinfo.so.5: file too short | ? tic could not build /srv/home/pokybuild/yocto-autobuilder/\ yocto-slave/nightly-non-gpl3/build/build/tmp/work/x86_64-linux/\ ncurses-native-5.9-r8.1/image/srv/home/pokybuild/yocto-autobuilder\ /yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/x86_64-linux\ /usr/share/terminfo | make[1]: *** [install.data] Error 1 This is a race issue which is caused by install.libs and install.data: 1) install.data needs run tic 2) tic needs libtinfo.so 3) install.libs would regenerate libtinfo.so 4) but install.data doesn't depend on install.libs, and they can run parallelly So there would be errors in a very critical condition: tic is begining to run at the same time when install.libs is generating libtinfo.so, and this libtinfo.so is not integrity, then there would be the above error. Let task install.libs run before install.data for fixing this bug. [YOCTO #2298] (From OE-Core rev: 80e4833782edc5fbda2a7f5d003a854f127137ec) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: package mtrace separatelyNitin A Kamble2012-05-243-2/+11
| | | | | | | | | | | | | | | add libc-mtrace as dependency for task-core-tools-debug now eglibc-mtrace gets included in an sdk image and not in a non-sdk image. This does not affect builds with uclibc. This fixes bug: [YOCTO# 2374] (From OE-Core rev: a2ad2870a54108027ed33e977470f5f72e0bce1b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm 5.4.0: respect to the arch when choose the alternativesRobert Yang2012-05-242-1/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug if we: 1) bitbake diffutils with MACHINE=crownbay 2) bitbake diffutils with MACHINE=qemux86 3) bitbake core-image-sato with MACHINE=crownbay Then the diffutils.i586 would be installed to the crownbay's image, this is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't respect to the arch priorities: We have put the archs in order in _solve_dbpath: crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb Fix rpm to respect to the order, for example, if it finds a pkg in both core2/ and i586/, and the core2/ comes first, it should not use the one in i586/ even if it's build time is newer. Note: Don't worry about the _free(*ptr), it can check whether ptr is NULL or not. This is for the denzil branch, and the master branch also needs it. [YOCTO #2360] (From OE-Core rev: d76067ae100623dd6dd4858568b98522d1daf474) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: Fix incremental rpm image generationRobert Yang2012-05-241-12/+8
| | | | | | | | | | | | | | | | | | Fix the incremental rpm image generation, it didn't work since the code has been changed. The btmanifest should have a ".manifest" suffix, so that it can be moved to ${T} by rootfs_rpm.bbclass: mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/ Note: The locale pkgs would always be re-installed. [YOCTO #2440] (From OE-Core rev: 5149630746626c6d416f26ab9dd1c7213fcd8c50) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/base: add checksum file list at parse timePaul Eggleton2012-05-241-0/+1
| | | | | | | | | | | | | | | | | Connect the new fetcher file checksum code so that we get a list of the files to be checksummed at parse time. The file-checksums flag will not be read unless we are using a version of BitBake that supports the function we call within it, so it is safe to include this change even when the metadata will still be used with older versions of BitBake. Implements [YOCTO #2044]. (From OE-Core rev: f26065629b6397d129db930268b72164f8e5d3e4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>