summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2012-05-16uclibc.inc: uclibc rtld does support GNU_HASHKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-15openssl: Fix build for mips64(el)Khem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-15pango: Fix modules load failure in multilib environmentZhai Edwin3
Multi-libs of Pango need different modules, thus different config files and utils. This patch separate config file and utils with different MLPREFIX to avoid conflict. [YOCTO #2356] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15sed: Explicitly disable acl for deterministic buildsRichard Purdie1
2012-05-15qt4: move functions from python to shell styleDongxiao Xu5
In qt4's do_configure operation, it will refer to some variables that are derived from 'd', however these variable values may be not correct in multilib case since the extraction of these variables happens before the multilib handler. The fix is to move these python style functions back to shell style. This fixes [YOCTO #2355] [RP: Fix whitepace] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [SG: Resolve merge conflicts for 1.2.1] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-05-07initrdscripts: Update install.sh to work with mmc devicesDarren Hart2
Fixes [YOCTO #2385] The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected asynchronously, it is necessary to add the rootwait kernel parameter to avoid a race condition trying to mount the root device. As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified. Test for an mmcblk device and add the p partition prefix if necessary. Add the rootwait kernel parameter when an mmcblk device is detected. Replace the series of explicit umount commands with a single umount using a wildcard. This will find all the partitions and will not try to unmount non-existant devices. Avoid copy and paste errors by replacing /dev/${device}${pX} references with the previously assigned rootfs, bootfs, and swap variables. These changes have been tested on the FRI2 Sato image which installed to /dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both were successful. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-07buildhistory: fix multiple commit of images and packages at the same timePaul Eggleton1
The echo line here was merging multiple lines into one, and the result was that if both image and package changes had to be comitted then only the image changes were being committed and the package changes could potentially be merged into the next package change. Quoting the variable reference fixes this. Fixes [YOCTO #2411] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-07builder: Add Please Wait Dialog BoxSaul Wold3
Add dialog box while bitbake starts hob to inform user to please wait for the hob screen to become visible. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26quilt: fix perl path in target perl scriptsNitin A Kamble1
While building on distros like fedora17, which has /bin/perl, the target perl scripts get perl path also as /bin/perl. And that is not correction path of perl on the target. This commit avoids this error. | error: Failed dependencies: | /bin/perl is needed by quilt-0.51-r2.i586 NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-26boost: Ensure we use our user-config.jam fileSaul Wold1
This change ensures we use the user-config.jam Configuration that we created and will not use anything from the user's home directory. [YOCTO #2302] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26uclibc SDK not including libpthread_nonshared.aMark Norman1
Modified the uclibc PACKAGES list order to ensure the uclibc-dev package is processed before uclibc-staticdev to allow *_nonshared.a libraries to be packaged in the uclibc-dev package. The *_nonshared.a libraries are required by the SDK.
2012-04-26runqemu-ifup: enable ip masquerading for QEMU NAT addressesScott Garman1
Fix the IP masquerading settings so that networked QEMU sessions can reach external networks. This is a partial fix for [YOCTO #2329]. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26openssl: upgrade to 1.0.0iScott Garman18
Addresses CVE-2012-2110 Fixes bug [YOCTO #2368] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26libpng: upgrade to 1.2.49Scott Garman1
License hasn't changed, just updated the md5 checksums due to trivial date changes within the text (and the position of the license text within png.h). Addresses CVE-2011-3045 Fixes [YOCTO #2352] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26python: Add patch to search for db.h in inc_dirs and remove warningAndrei Gherzan2
python should search for db.h in inc_dirs and not in a hardcoded path. If db.h is found but HASHVERSION is not 2 we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26python: Add patch for 64bit platformAndrei Gherzan2
This patch was added for 64bit host machines. In the compile process python is checking if platform is a 64bit platform using sys.maxint which is the host's value. The patch fixes this issue so that python would check if TARGET machine is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules built if HOST machine is 64bit but the target machine is 32bit. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26{kernel, module}.bbclass: don't run depmod for module packages during do_rootfsAndreas Oberritter2
* depmod already gets executed by pkg_postinst_kernel-image. * If you build a module using module.bbclass, pkg_postinst returns 1 in do_rootfs, causing pkg_postinst to run again on first boot. To improve this situation, I copied pkg_postinst from kernel.bbclass to module.bbclass. This was rejected by Koen, because he doesn't like the code from kernel.bblcass, which uses ${STAGING_DIR_KERNEL}. Richard then suggested that calling depmod during do_rootfs wasn't necessary at all, because it already gets done by kernel-image. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks ↵Richard Purdie1
things For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this into the environment here causes the existing pseudo (running during do_install) to poke into paths in /opt and this breaks builds. The simplest fix is simply not to do this. Comments tweaks to match the code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26libproxy: fix compilation with gcc 4.7Nitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26dpkg-native: fix deb-based rootfs construction failure on Fedora 16Paul Eggleton2
Backport a fix from 1.16.x upstream to use fd instead of stream-based I/O in dpkg-deb, which avoids the use of fflush() on an input stream (the behaviour of which is undefined by POSIX, and appears to have changed in the version of glibc introduced in Fedora 16 and presumably other systems). Fixes [YOCTO #1858]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26quilt: move empty quiltrc to native sysconfdirSaul Wold5
patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty version to ensure that no user setting were picked up, change this to /etc/quiltrc in the Native sysroot since we now have a native sysconfdir. Make sure that the quiltrc is actually installed in the Native sysconfdir, not the target, so fix this after the recipe split. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26gcc: Add plugins package for ARM, fix /usr/incude packagingSaul Wold1
WARNING: For recipe gcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/include WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm/bpabi-lib.h Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26xserver-kdrive: Add xkb to existing docs listSaul Wold1
WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/man WARNING: /usr/share/man/man5 WARNING: /usr/share/man/man1 WARNING: /usr/share/man/man1/Xephyr.1 WARNING: /usr/share/man/man1/Xserver.1 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26libgcc: Package additional *crt*.o files for PPCSaul Wold1
WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrtn.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrtn.o Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26binutils: add embedspu for ppc buildsSaul Wold1
WARNING: For recipe binutils, the following files/directories were installed but not shipped in any package: WARNING: /usr/bin/embedspu Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26bdwgc: Set ARM_INSTRUCTION_SET to "arm"Ken Werner1
The bdwgc recipe uses a version of libatomic that fails when building in Thumb mode. This has been fixed upstream already. The pulseaudio/libatomics-ops_1.2.bb has the same issue and sets the ARM_INSTRUCTION_SET to "arm" (probably until a new version gets pulled in). This patch applies the same workaround to the bdwgc/bdwgc_20110107.bb recipe. Signed-off-by: Ken Werner <ken.werner@linaro.org>
2012-04-26gthumb: Disable parallel make for gthumb installDarren Hart1
With PARALLEL_MAKE set to 14, I frequently see the gthumb do_install task hang. Make is spinning at 100% CPU and the build makes no more progress. The following work-around proposed by Richard Purdie allows progress to be made. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Joshua Lock <josh@linux.intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26python: use PKGSUFFIX for libpython2Andreas Oberritter1
* python-nativesdk shouldn't provide libpython2, but libpython2-nativesdk. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> [PR Bump - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-26connman: backport test script fixesOtavio Salvador3
Those fixes are required to get the test scripts to work with current 0.79 DBus API. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-04-26connman: Fix linking with gold linkerKhem Raj2
Fixes errors like below /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld: error: hidden symbol '__start___debug' is not defined locally /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld: error: hidden symbol '__stop___debug' is not defined locally collect2: ld returned 1 exit status make[1]: *** [plugins/loopback.la] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-24self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-24self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-24sanity.bbclass: Add a new case to issue sanity_check()Dongxiao Xu1
Judge if "SanityCheck" event is received, it will issue the sanity_check() and send "SanityCheckPassed" back if succeeded. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-23self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-23pseudo: PR bump.Lianhao Lu2
Bump PR value due to the commit c6c701f424aeb502d20ff02d02712e56f4e259a5. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-23scripts/hob: disable sanity checks when launchingJoshua Lock1
This enables us to use the GUI to change any settings which might cause sanity checks to fail, such as the proxy configuration. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-23sanity.bbclass: add variable to disable the sanity checksJoshua Lock1
It's useful for Hob to be able to disable the sanity checks completely without marking them as passed so that the user can get into the GUI to configure their settings, etc. Add a variable, DISABLE_SANITY_CHECKS, to do so. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-23python: Fix various contamination issues leading to broken/missing c modulesRichard Purdie3
The move of libcrypto to /lib instead of /usr/lib has broken the _hashlib module compilation. There were also a number of other failing modules which should have been building correctly. This turned out partly to be the /lib issue but also due to a number of native paths creeping into compiler commandlines. These changes add in /lib as part of the searh directory and remove a number of host contamination issues within setup.py. Post release we should really further go through this file and just delete large sections of it as its hard to be sure what strange paths python is injecting as search paths. This patch also fixes issues where re-execution of the compile task would corrupt the Makefile in various ways, again leading to puzzling paths within the configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-23bitbake.conf: Add a STAGING_BASELIBDIR variable that recipes can use to find ↵Richard Purdie1
base_libdir Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22initramfs-live-boot: Disable unionfs until its issue with the system rootdir ↵Richard Purdie1
are resolved There are issues with the current unionfs when making a union mount over "/". Until these are resolved we can't use unionfs for live booting so disable this temporarily as a workaround. unionfs is usable in other circumstances. [YOCTO #2331 workaround] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22pseudo: Drop nativesdk wrapper and link against old memcpy symbolRichard Purdie2
The -nativesdk pseudo wrapper setting LD_LIBRARY_PATH turned out to be a bad idea since it can mix up different libc and lib-dl verisons which may or may not work depending on the phase of the moon. As an alternative to solving the original problem, this patch drops the symbol version requirement on memcpy which allows pseudo to work with libc's back to 2.7 which should be sufficient for our supported targets using nativesdk. [YOCTO #2299] [YOCTO #2351] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22pseudo: Fix bashismsRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22package.bbclass: Ensure kernel modules get strippedRichard Purdie1
Kernel modules are not marked as executable but we do expect to strip them. This patch adds in missing code to ensure we do this. Without this images are getting sigificantly bloated in size. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT valuesRichard Purdie1
In particular, this overwrites the value from cross-canadian.bbclass in some cases which isn't the desired behaviour and unnecessarily complicates/breaks the dependency chain. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22qemu: Backport a patch to solve SSE2 instruction emulation issuesRichard Purdie2
This fix addresses various issues seen in qemux86-64 images: * scroll bars in matchbox-terminal not working * files not appearing in pcmanfm * warnings on the console from glib/gobject about invalid gdouble values Its due to an emulation issue in qemu which the backported patch fixes. I managed to debug it to a specific function, Khem found the qemu patch to backport, thanks Khem! [YOCTO #1906] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18packageinfo.bbclass: A workaround for RPM architecture renamingDongxiao Xu1
For beagleboard platform, the PACKAGE_ARCH for certain recipes is "armv7a-vfp-neon", however, the architecture label in RPM file name is "armv7a" due to a potential bug in RPM backend. This commit is a workaround to make Hob work in this case. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18lsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package ↵Richard Purdie2
description Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18classes/sanity: import regular expression module in SuSE distro checkPaul Eggleton1
We call re.sub here, so we need to "import re" or an error occurs (tested on OpenSuSE 12.1). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>