summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2012-05-24sanity.bbclass: add extra information when SSTATE_CACHE unusableJoshua Lock1
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. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: add newline to check_create_long_filename failure messageJoshua Lock1
Each failure in the sanity message should be reported on a new line. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: data.getVar(VAR, obj, exp) -> obj.getVar(VAR, exp)Joshua Lock1
Replace calls to data.getVar(VARIABLE, data_object, expand) to direct calls to the getVar method the the data_object. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: copy the data store and finalise before running checksJoshua Lock1
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. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24Revert "sanity.bbclass: check user can read and write to SSTATE_DIR"Joshua Lock1
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.
2012-05-24python: bump PR of packages after update of distutils.bbclassAndreas Oberritter6
* Bump every recipe inheriting distutils or setuptools and not overriding do_install without calling distutils_do_install. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24distutils.bbclass: don't delete .pyo filesAndreas Oberritter1
* 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. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24netbase: merge init script updates from upstreamAndreas Oberritter2
* 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. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24wpa-supplicant: fix packaging error since last commitAndreas Oberritter2
* wpa-passphrase has its own package, but commit 4a4c568e25a08e9f222d723f9819582c9f895c58 broke it. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24libnss-mdns: fix postinst scriptsAndreas Oberritter1
* On upgrade, postinst ocassionally returned 1, so use a conditional instead of &&. * Use sed patterns in order to make it work more generally. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24ppp: avoid host contaminationAndreas Oberritter2
* Import patch from OE-Classic commit f7c547ede1bfc94c24f6315a23ff48a4c5b9ffaf. * Fixes linking with libpcap (ppp filter). Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24libtool: fixed parallel build related raceEnrico Scholz1
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 Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2012-05-24ncurses: Avoid occasional builling failure when having parallel processable taskXiaofeng Yan1
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] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-05-24eglibc: package mtrace separatelyNitin A Kamble3
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] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-24rpm 5.4.0: respect to the arch when choose the alternativesRobert Yang2
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-24package_rpm.bbclass: Fix incremental rpm image generationRobert Yang1
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-24classes/base: add checksum file list at parse timePaul Eggleton1
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-05-24external-sourcery-toolchain: ignore GNU_HASH issues with its packagesChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-24Rename 'external-csl' to 'external-sourcery'Christopher Larson4
This is a rename per the purchase of CodeSourcery by Mentor Graphics Corporation, and associated naming change. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-24tcmode-external-csl: preferred external-csl-toolchain's gdbserverChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-24gcc: Grok for callconvention-hard to enable hard floatKhem Raj1
If callconvention-hard is set then we build gcc defaulting to hard-float ABI Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-24eglibc: Add ARM hf dynamic linker supportKhem Raj3
The work is done in glibc upstream we backport the relevant patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-24gcc-4.7: Add knowledge about arm hf dynamic loaderKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20tune-mips64.inc: Add new tune file for mips64 big-endianKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20xserver-xorg: Fix build for mips64Khem Raj2
mips64 N64 ABI has different size for int and pointer which means the compiler will complain about conversions which works fine for 32 bit since sizes are same. amd64 is taken care of already so we take care of mips64 with this patch by understanding the difference in sizes in compiler.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20site/sh-common: Add missing caches variables to build glib-2.32Khem Raj1
This is on the same tone as done for other architectures Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20netbase: Add interface files for qemumips64 and qemush4Khem Raj3
These files are alike other qemu machines they help in creating a working network interface when using qemumips64 or qemush4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20libc-package: Add sh4 and mips64 to arch optionsKhem Raj1
needed for new architecture support Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20eglibc-2.15: Support mips64Khem Raj2
Add mips64 to binary locale arches Enabling ports in addons causes wrong machtype to be chosen for mips64 and it always chose mips32 which is wrong for mips64 so enable all the addons we have and we were enabling them anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20kernel-arch.bbclass: Map mips64{el} to mips KARCHKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20binutils: Default to n64 when configured for mips64Khem Raj2
Default ABI for mips64 is n64 so make it default in binutils Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20gcc-4.6, gcc-4.7: Add support for building mips64 cross compilerKhem Raj5
Defaults to n64 ABI Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20site: Add mips64 eglibc and uclibc site filesKhem Raj4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20insane.bbclass: Add mips64{el} to known machinesKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-18sstate.bbclass: Make sure we don't have an empty fixmepath fileMark Hatle1
Jason Wessel noticed that a package without any fixmepath entries would generate a sed warning about no input files. This patch resolves that by ensuring that an empty fixmepath file never gets written into the sstate archive. Also we avoid a second message by only doing xargs if we got input. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18xserver-kdrive: Fix X server on PowerPC when built with GCC 4.7.xGary Thomas2
Newer versions of GCC uncovered illegal code practice which can cause runtime failures in the Xext/xace.c code. This problem has been fixed upstream: http://cgit.freedesktop.org/xorg/xserver/patch/Xext/xace.c?id=6dae7f3792611aace1df0cca63bf50c50d93de43 Subject: xace: Invalid reference to out-of-scope data. Incorporate this patch into the recipe, with a PR bump. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18linux-yocto: policy cleanupsBruce Ashfield3
Updating the meta SRCREVs to pickup configuration policy cleanups: 49f931b meta/fishriver: remove redundant features and options 51a6d3f meta/emenlow: remove redundant features and options 101dd7f meta/crownbay: remove redundant features and options 4110ecd meta/sugarbay: remove redundant features and options 0f1304a meta/jasperforest: remove redundant features and options 0a56a3b meta/common-pc-64: factor out SCSI CDROM option b71938a meta/common-pc-64: use usb-mass-storage feature 0724f40 meta: add scsi cdrom feature 438bca8 meta/common-pc: use usb-mass-storage feature c970881 meta: factor out SCSI options from the usb-mass-storage feature 4c8135e meta: add scsi disk feature 6872a81 meta: add scsi feature e706ec5 meta/sugarbay: factor out policy-related options 8b7fbc2 meta/jasperforest: factor out policy-related options fea1b0e meta/fishriver: factor out policy-related options 13bf9ab meta/emenlow: factor out policy-related options 4748d50 meta/crownbay: factor out policy-related options 44f592f meta/common-pc-64: factor out policy-related options 5a3f5c7 meta/common-pc: factor out policy-related options 1f5a10b meta/common-pc-64: use usb features 4b87723 meta/common-pc: use usb features 594ba05 meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18kern-tools: update LICENSE field to GPLv2Bruce Ashfield1
The LICENSE field for kern-tools was generic and leads to QA warnings from the license classs: "No generic license file exists for: GPL in any provider" Updating to a specific GPL version that matches the source fixes the warning. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18linux-yocto: intel BSP config changesBruce Ashfield3
Updating the meta SRCREV for the following fixes: 1dfd60f meta/fishriver: move smp options from recipe-space 012780a meta/emenlow: move smp options from recipe-space b59b1a5 meta/crownbay: move smp options from recipe-space 74dc6ac meta/sugarbay: remove boot-live options a4bedcb meta/jasperforest: remove boot-live options 4ae7b81 meta/sugarbay: use usb features 30e7e8c meta/jasperforest: use usb features 22d0c5d meta/fishriver: use usb features e262965 meta/emenlow: use usb features Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18multilib.bbclass: Added multilib specific package QA.Lianhao Lu1
Added a new PACKAGEFUNCS function to check the multilib packages' dependency. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18multilib.conf: Added multilib support for kmod.Lianhao Lu1
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-18(libc-)package.bbclass: Added MLPREFIX to locale packages.Lianhao Lu2
Added multilib prefix to the locale related package names/dependencies. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-17Revert "kmod: Use base_libdir for installing libkmod"Koen Kooi1
The commit breaks pkgconfig and after discussing it with the kmod and udev maintainers the conclusion was reached that putting the libraries in /lib instead of /usr/lib is not supported. This reverts commit 6b74f2461735272bd950a4f060dab6e778a36f92. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-17xserver-xorg-lite: disable xmlto like full xserver-xorg doesMartin Jansa2
* xmlto-native is unusable (see YOCTO #2416 xmlto/xsltproc stylesheets cannot be found even when they are installed in sysroot) * fails like this: | make[2]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc' | /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xmlto xhtml-nochunks Xserver-spec.xml | /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xmlto xhtml-nochunks Xinput.xml | xmlto: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml does not validate (status 3) | xmlto: Fix document syntax or use --skip-validation option | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:40: parser error : Entity 'ldquo' not defined | btaining a copy of this software and associated documentation files (the &ldquo; | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:40: parser error : Entity 'rdquo' not defined | of this software and associated documentation files (the &ldquo;Software&rdquo; | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:42: parser error : Entity 'ldquo' not defined | btaining a copy of this software and associated documentation files (the &ldquo; | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:42: parser error : Entity 'rdquo' not defined | of this software and associated documentation files (the &ldquo;Software&rdquo; | ^ | warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | Document /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml does not validate | xmlto: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xserver-spec.xml does not validate (status 3) | xmlto: Fix document syntax or use --skip-validation option | make[2]: *** [Xinput.html] Error 13 | make[2]: *** Waiting for unfinished jobs.... | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xserver-spec.xml:4: warning: failed to load external entity "/xserver/doc/xml/xserver.ent" | <!ENTITY % defs SYSTEM "/xserver/doc/xml/xserver.ent"> %defs; | ^ | Entity: line 1: | %defs; | ^ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-17sanity.bbclass: check user can read and write to SSTATE_DIRJoshua Lock1
The user needs read and write permissions to SSTATE_DIR, check whether they have sufficient permissions and if not recommend use of SSTATE_MIRRORS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-17xf86-video-vmware: update package to 12.0.2Alexandru DAMIAN1
This patch updates the package version for the vmware xorg driver to 12.0.2, following upstream. No other changes made beside updating the checksums.
2012-05-17gnupg: Update to upstream version 2.0.19Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-17gnutls: update to 2.12.19Bogdan Marinescu6
Tested with curl in qemux86/core-image-lsb. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
2012-05-17archiver.bbclass: Add two default set for avoiding error when missing assignmentXiaofeng Yan1
Add two default set(SOURCE_ARCHIVE_LOG_WITH_SCRIPTS, \ SOURCE_ARCHIVE_PACKAGE_TYPE) to archiver.bbclass for avoiding \ building error when forgetting to assign to them. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-05-17meta/classes/sstate.bbclass: ensure sstate files have group R/WJoshua Lock1
In order to make sharing sstate files easier chmod them with 0664 permissions so that they are readable and writable by the user and any other members of their group. Signed-off-by: Joshua Lock <josh@linux.intel.com>