summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2013-02-01libaio: Fix MIPS system call interfacePhil Staub2
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 Signed-off-by: Phil Staub <Phil.Staub@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01multilib: skip packages that provide virtual/kernelBruce Ashfield2
Rather than keying on recipes that inherit kernel.bbclass, we should be checking for providers of virtual/kernel when skipping kernel recipes in multlib builds. Not all providers of virtual/kernel inherit kernel.bbclass (notably linux-dummy), so checking on the provider is a more complete check. We need to be sure to check for inheritance of module-base as well, this allows for packages that provides modules to avoid the multilib renaming. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01kernel: avoid copying unnecessary files during do_installMark Asselstine1
kernel_do_install() populates $kerneldir with files needed to build external modules. To accomplish this there are several copy commands to get source from the kernel source tree and build trees after which a 'clean' is performed. Since we are copying from the build tree we get about 1G of .o and .cmd files copied over only to have them removed when we clean. This adds additional IO overhead as well as overhead caused by pseudo. By avoiding copying these files in the first place we get multiple gains: * avoid initial copy * avoid file deletes during clean * reduce pseudo overhead Additionally we are making use of cpio vs cp which tends to be significantly faster at performing copies. With these changes I observe a 15-30% decrease in the time to complete the do_install() operation on the kernel. [YOCTO #3517] Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01mesa-dri: add extra dri driversIan Reinhart Geiser1
* By default enable only swrast. This needs to be here or for some reason qemuarm tries to detect the intel dri libraries and fails. * For x86 and x86-64 explicitly set all of the supported drm drivers. builds properly with qemux86 qemuarm and qemux86-64 Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01insane.bbclass: removing outdated commentLukas Bulwahn1
This commit removes an outdated comment that recorded an issue that has been resolved in the commits 1c75a5df6845090480deff20f469f177501d2182 and d2d5456cd3b3bd3e52a5dedccca4d46e3a7986d1. Probably, the comment was missed when changing the behavior in those commits. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01oprofile: avoid processing files under .pcTing Liu1
Fix the below issue: | DEBUG: Executing shell function do_configure | sed: can't read ./.pc/opstart.patch/doc/opstop.1.in: Permission denied | sed: can't read ./.pc/opstart.patch/doc/opstart.1.in: Permission denied | sed: can't read ./.pc/opstart.patch/utils/opstart.c: Permission denied | ERROR: Function failed: do_configure Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-31harfbuzz: fix install of version.hMarko Lindqvist2
version.h is listed both in pkginclude_HEADERS (via $HBHEADERS) and nodist_pkginclude_HEADERS. This double listing is likely cause of the make install error: /usr/bin/install: cannot create regular file `.../harfbuzz/0.9.10-r0/image/usr/include/harfbuzz/hb-version.h': File exists Just remove the nodist_pkginclude_HEADERS entry. We're not creating the tarball, and listing version.h here wouldn't prevent the other listing from including it to tarball anyway. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-30rpm: Ensure native binaries are correctly wrappedRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-30package_ipk/deb/rpm: Ensure deploy staging directory is empty before ↵Richard Purdie3
rerunning task If we don't do this, stale files can build up, particularly with the PR server. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-30directfb: Explictly disable mesaRichard Purdie1
Without this, directfb might build with mesa enabled if present. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-30insane.bbclass: Fix incorrect getVar callRichard Purdie1
On a trace I was a bit puzzled why getVar was making 180 calls to len(d). This is an expensive operation that should be very rarely called and certainly not by getVar. In perl's do_package it was resulting in ~1.5 million function calls from those 180 cases. Ultimately this typo was why. Lets fix it and save the CPU cyles. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-30sstate: Move debug comment to more logical placeRichard Purdie1
The same log message gets output multiple times in the log which look confusing and is rather pointless. Move the log message to the correct level. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-30alsa-tools: upgrade to 1.0.26.1Cristian Iorga2
Removed the following tools: - all related to hdsp (required gtk+ and fltk-config) - ld10k1, qlo10k1 (required QT) - hdajackretask Fixed the automake issue for cross-compilation Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-29module.bbclass: Don't add pkg_postinst/pkg_prerm to all packages in recipeSaul Wold1
The code in module.bbclass was appending the pkg_postinst and pkg_prerm to all packages that are part of a given recipe, meaning that the -lic, -dev, -doc, ... packages all got the scriptlet This change uses only which macthes with the RDEPENDS and FILES already used in module.bbclass. The failure was that rootfs creation would fail due to the -lic package being installed before the kernel and the script would fail. [YOCTO #3803] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-29rootfs_rpm: Escape the backtick to ensure the ls runs on the targetSaul Wold1
This change ensures that the ls /etc/rpm-postinsts runs in the target at first boot time, rather than at the creation time of the script on the host. This was causing the following error in the rootfs log: + install -d /srv/ssd/sgw/machines/fri2/tmp/work/fri2-poky-linux/core-image-minimal/1.0-r0/rootfs//etc/rcS.d + i= + ls /etc/rpm-postinsts/ ls: cannot access /etc/rpm-postinsts/: No such file or directory Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28mtools : upgrade to 4.0.18Andrei Dinu1
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28openssh : upgrade to 6.1p1Andrei Dinu7
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28migrate_localcount.bbclass: use PRAUTOINX instead of PN & PVConstantin Musca1
- we need to use PRAUTOINX (it covers all cases) - it addresses bumped PE issues [YOCTO #3071] Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28libcgroup: Update to 0.38Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28resolvconf: Update to 1.69Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28util-linux: Update to 2.22.2Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28dhcp: Update to 4.2.5Saul Wold8
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28file: Update to 5.12Saul Wold2
Remove the backported automake patch, now fixed upstream Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28cracklib: Update to 2.8.22Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28libidn: Update to 1.26Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28man-pages: Update to 3.45Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28mc: Update to 4.8.7Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28sysstat: Update to 10.1.3Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28rgb: Update to 1.0.5Saul Wold3
Remove the backported automake patch, now fixed upstream Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28libnl: Update to 3.2.19Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28systemd: Upgrade to 197Khem Raj4
LGPL-2.1 licensce is updated to reflect the new FSF address Drop patches to disable argparse and dbus-python analyser has been implemented in C lets use that patch and get rid of the python version disable hostname detection for uclibc bases systems since uclibc lacks NSS Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Conflicts: meta/recipes-core/systemd/systemd_197.bb
2013-01-28icu: Fix build on uclibcKhem Raj1
_timezone is not implemented in uclibc therefore bypass it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28quota: inherit gettextKhem Raj1
Othereise it does not honor USE_NLS variable and does not have proper dependencies. Which leads to compile errors like missing liintl.h on uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28eglibc: Backport upstream 2.17 patchesKhem Raj3
These two patches has been applied to eglibc 2.17 branch since we created our snapshot. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28eglibc_2.17: Fix Tibetian locale generation errorKhem Raj2
This is fallout of BZ #13950 fix to glibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28eglibc: Upgrade recipes 2.16 -> 2.17Khem Raj38
Drop patches that are applied upstream Fix the license checksums for changes in LICENSES file the new changes add more copyright notices that were missing earlier Moving ports is no longer needed since ports is now part of libc proper Refresh tzselect-sh.patch to accomodate upstream changes C++ headers discovery relative to target sysroot is fixed differently upstream hence we drop use-sysroot-cxx-headers.patch aarch64 support is already available in 2.17 hence drop the local patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28package.bbclass: remove RRECOMMENDS on base packages for locale packagesAndreas Müller1
As long as we support only one locale package per recipe this leads to unwanted packages in images. This patch was motivated by samba (meta-oe): only wanting libsmbclient one gets full samba server into the image. For my standard image the follwing package were removed by this patch: -acl_2.2.51-r3_armv7a-vfp-neon.ipk -alsa-states_0.2.0-r3_armv7a-vfp-neon.ipk -alsa-utils_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-aconnect_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-alsaconf_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-alsactl_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-alsaloop_1.0.25-r3_armv7a-vfp-neon.ipk alsa-utils-alsamixer_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-alsaucm_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-amixer_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-aplay_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-aseqdump_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-aseqnet_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-iecset_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-midi_1.0.25-r3_armv7a-vfp-neon.ipk -alsa-utils-speakertest_1.0.25-r3_armv7a-vfp-neon.ipk -attr_2.4.46-r4_armv7a-vfp-neon.ipk -avahi_0.6.31-r7.1_armv7a-vfp-neon.ipk -gtk-engines_2.20.2-r3_armv7a-vfp-neon.ipk -pulseaudio_2.1-r15_armv7a-vfp-neon.ipk -samba_3.6.8-r6_armv7a-vfp-neon.ipk -vte_0.28.2-r5_armv7a-vfp-neon.ipk -xz_5.1.2alpha-r0_armv7a-vfp-neon.ipk Strange effect: For samba buildhistory's depends.dot says: -samba -> libc6; -samba -> libgcc1; -samba -> libreadline6; -samba -> libtalloc2; -samba -> libtdb1; -samba -> libwbclient0; -samba -> libz1; -samba -> update_rc_d; -samba_locale_de -> samba [style=dotted]; samba_locale_de -> virtual_locale_de [style=dotted]; -samba_locale_fr -> samba [style=dotted]; -samba_locale_fr -> samba [style=dotted]; This is conflicts to buildhistory's result on samba package not mentioning any changes for samba package. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28buildhistory.bbclass: track also complementary package informationAndreas Müller1
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28libcgroup: fix the QA issue for pam_cgroup.so*Xin Ouyang1
PAM modules in ${base_libdir}/security/ should be binary .so files, not symlinks, so fix this. Since pam_cgroup.so is installed into ${base_libdir}/security, move libcgroup.so.* to ${base_libdir} to avoid "unsafe-references-in-binaries" QA issue. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28sysvinit & initscripts: use update-rc.dChen Qi2
Update-rc.d provides a cleaner interface for creating links for init scripts. So we use update-rc.d to replace the redundant 'ln -sf xxx' statements. [YOCTO #3708] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28valgrind: update to 3.8.1Radu Moisan9
Changed license copyright notice 2011->2012 remove unnecessary patches built for x86, 86-64, ppc Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28libaio: add aarch64 supportRiku Voipio3
Picking up a patch from gentoo and adding aarch64 defines is enough to fix libaio and pass the harness testsuite Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28mtd-utils: split into multiple packagesFrans Meulenbroeks1
This allows one not to install rarely used or fs specific files As discussed in http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/31744/focus=31804 Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28alsa-utils: upgrade to 1.0.26Cristian Iorga5
ncursesfix.patch is no longer necessary, build system fixed upstream. ncursesfix.patch removed. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28xorg-minimal-fonts: depend on font-alias instead of shipping fonts.aliasMarcin Juszkiewicz2
| Collected errors: | * check_data_file_clashes: Package font-alias wants to install file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/core-image-lsb-dev/1.0-r0/rootfs/usr/share/fonts/X11/misc/fonts.alias | But that file is already provided by package * xorg-minimal-fonts | * opkg_install_cmd: Cannot install package packagegroup-core-lsb-dev. | ERROR: Function failed: do_rootfs (see /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/core-image-lsb-dev/1.0-r0/temp/log.do_rootfs.7564 for further information) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28gtk-immodules-cache.bbclass:fix support postrm at image creation timeHongxu Jia1
Let postrm use the same logic as the postinst to run on both build machine and target [YOCTO #3633] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28gtk-icon-cache.bbclass:fix support postrm at image creation timeHongxu Jia1
When use postrm on the build machine, it installs the hook in intercept-scripts directory and exit 0, the hook will be later invoked and it will properly call gtk-update-icon-cache. [YOCTO #3633] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28license.bbclass: package license texts to PN-lic when LICENSE_CREATE_PACKAGE ↵Martin Jansa1
is enabled [YOCTO #3743] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28license.bbclass: extract functionality to find license files to separate ↵Martin Jansa1
function * move it from do_populate_lic to find_license_files so we can reuse it to populate license in package itself [YOCTO #3743] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-27gettext: Fix build with uclibc remove upstreamed patchesKhem Raj3
uclibc specific patches are not needed now as they are available in 0.18.2 gettext now Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>