aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-10-06classes: Rename chrpath.bbclass -> patchelf.bbclasskraj/patchelfKhem Raj
Fix references to chrpath bbclass Rename CHRPATH_BIN to PATCHELF_BIN Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-06chrpath: Delete recipeKhem Raj
We use patchelf now therefore chrpath is redundant Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-06task-self-hosted,external-python-tarball: Use patchelf instead of chrpathKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-06patchelf: New recipeKhem Raj
Add recipe for patchelf so we can build it for target and nativesdk as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-06chrpath,sanity: Use patchelf instead of chrpathKhem Raj
patchelf can dynamically increase the size of RPATH if need be unlike chrpath where we have limit on editing RPATH. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-05sstate: Add extra entries to the sstate duplicate files whitelistRichard Purdie
This avoids errors where gcc/binutils get installed to the native sysroot in the same location for multiple package architectures. Ultimately making these native recipes with ${PACKAGE_ARCH} appended to PN will resolve this but hide the warnings until this gets sorted out. Also hide the python and docbook catalog warnings since they're known about, nothing to worry about and we'll aim to clean them up properly in the 1.4 cycle. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-05sstate: Normalise paths before comparing with the whitelistRichard Purdie
Without this, path components like // could break comparisions with the whitelist leading to warnings being displayed to the user unintentionally. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-05libdrm: Explicitly disable the cairo dependencyRichard Purdie
We don't want the cairo dependency. Unfortunately simply checking whether its present isn't good enough. If its not in DEPENDS, it can disappear half way through building. We therefore need to explictly disable it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-05toolchain-scripts.bbclass: Export M4Khem Raj
some packages use M4 variable from environment and sometimes its hardcoded to /usr/bin/m4 if not found in environment. Lets define it such that it is picked from path Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-05cross-canadian.bbclass: add native chrpath dependencyLaurentiu Palcu
In order for the RPATHs in 32bit toolchain binaries to be relocated properly, chrpath >=0.14 is needed. [YOCTO #3161] [YOCTO #3201] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04runqemu: allow multiple unfs instances to run simultaneouslyScott Garman
A miscalculation in the way the port numbers of mountd and nfsd are created was causing conflicts when starting multiple instances of qemu using userspace nfs. Thanks to Rudolf Streif for proposing this fix! Fixes [YOCTO #1969] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04runqemu-export-rootfs: improve rpcbind error detectionScott Garman
mountd requires rpcbind or portmap. Check that one of these services is running before doing anything else, and report a user-friendly error when they are not found. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04runqemu-export-rootfs: use consistent whitespaceScott Garman
Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04common-licenses: Adding bzipFlanagan, Elizabeth
bzip requires it's own specific license. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04build-appliance-image: Fix spacing in DESCRIPTIONPaul Eggleton
Fixes [YOCTO #2636] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04shutdown-desktop: ensure the postinst script succeedsRoss Burton
When the hostname isn't qemuarm the grep fails so the postinst fails. Stop this happening by explicitly evaluating true. [YOCTO #3224] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-04sato-icon-theme: use gtk-icon-cache helper classRoss Burton
Instead of explicitly updating the icon cache use the helper class that also forces a loader update at the same time. This eliminates the possibility of updating the icon cache without any gdk-pixbuf loaders. Also check that the Sato icon theme isn't already set to avoid appending to the file every time the postinst runs. [YOCTO #2399] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03distrodata: Update distrocheck functionsSaul Wold
Fix the distro check functions for the change of nativesdk being a suffix to a prefix. Also added crosssdk as another case for converting to PN for matching in the distro_tracking Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03rpmresolve: fix reporting of multiple matches errorPaul Eggleton
We were mistakenly writing what was meant to go to stderr into the output file, so when the "Multiple matches" error showed we weren't actually seeing the matches printed. Also change the wording of the "Unable to find package..." to "Unable to resolve package..." instead so that it makes more sense if it is printed after the "Multiple matches" error. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03buildhistory_analysis: update to use explode_dep_versions2()Paul Eggleton
Handle where multiple version specifications are present for the same dependency. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03qemu: Fixed running QEMU with virtio error reportingCristian Iorga
If vhost_net module is not properly installed, runqemu script will report the error and provide the user with a link to the guide. Also corrected small cosmetic issues in runqemu script messages. Also removed <> (read/write) check. Fixes [YOCTO #3184] Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03wpa-supplicant: don't break the DBus service fileRoss Burton
The recipe exports $BINDIR as ${sbindir} and the build system uses this when writing the DBus service file, so sedding it and replacing $base_sbindir with $sbindir (/sbin and /usr/sbin) isn't useful when it ends up as /usr/usr/sbin/wpa_supplicant. [YOCTO: #3202] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03xf86-video-intel: drop libxvmc dependencyRoss Burton
xvmc is explicitly disabled, so remove the dependency. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03qemu: add wrapper for qemu-mips binaryLaurentiu Palcu
qemu-mips user emulation binary segfaults when running any kind of binary. This is due to a MMU access fault in the virtual CPU. This problem has been introduced in qemu when 4GB of vmem were reserved for 32-on-64 bit. This workaround will need to be reverted once the proper fix is found. [YOCTO #3143] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03e2fsprogs: Don't install findfsPhil Blundell
This binary is provided by util-linux nowadays. Fixes: WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are: /fast/jenkins/workspace/.../tmp-eglibc/sysroots/x86_64-linux/sbin/findfs Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03bzip2 and busybox: Incorrect LICENSEElizabeth Flanagan
The license for bzip2 is not quite BSD. I have an email out to the maintainer to see if we can utilize a common BSD license (or something else) however, for now, we should revert bzip2 back to a special license. As busybox also utilizes a lightly modified bzip2, this also effects busybox. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03linux-yocto-custom: Clarify defconfig usageDarren Hart
It is necessary to supply file://defconfig to the SRC_URI when using a defconfig (it is not implicitly understood as the commentary might currently suggest). Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03package.bbclass: Fix regression in -dbg packages introduced by ↵Richard Purdie
explode_dep_versions change We need to iterate over the dictionary pulling out the values, not take the top level keys. If we don't do this, we end up with dependencies on the values of PACKAGES, not library dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03qt4: Avoid circular dependencies with multilibRichard Purdie
Without this, circular dependencies are found when attempting to build multilib versions of qt4 (or bitbake world in a multilib enabled build). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02bitbake.conf: Add CCACHE_DISABLE to BS_HASHBASE_WHITELISTMike Crowe
If CCACHE is in the whitelist then CCACHE_DISABLE probably should be too. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02busybox: Add missing INITSCRIPT_NAME_${PN}-hwclockRichard Purdie
Fix failures like: Configuring busybox-hwclock. usage: update-rc.d [-n] [-f] [-r <root>] <basename> remove update-rc.d [-n] [-r <root>] [-s] <basename> defaults [NN | sNN kNN] update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: force -v: verbose -r: alternate root path (default is /) -s: invoke start methods if appropriate to current runlevel Collected errors: * pkg_run_script: package "busybox-hwclock" postinst script returned status 1. * opkg_configure: busybox-hwclock.postinst returned 1. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02qt4: add 4.8.3 version with negative D_PMartin Jansa
* rebased patches, 3 patches are resolved upstream: 0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch resolved in upstream commit 7ac8d8597db1f58b11338f91fb27f6ad8696b34b 0022-webkit-fix-conflicting-types.patch resolved in upstream commit929b4443d53fcf3a7ad1cb9f3af5569e41ef56f1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: PR bumpsMartin Jansa
* sofar only formal changes, but to test that everything still builds the same Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: replace all local patches with git patches with headersMartin Jansa
* in preparation for upgrade to 4.8.3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: drop patches not used in any recipeMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: move patches from files to qt4-4.8.1Martin Jansa
* faster lookup in FILESPATH as small bonus Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt-mobility: move qt-mobility patches to separate dirMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4.inc: move more options to separate variablesMartin Jansa
* make it easier to override them in bbappend * convert pulseaudio to more common -pulseaudio/-no-pulseaudio form Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bbMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: use releases.qt-project.org instead of get.qt.nokia.comMartin Jansa
* releases.qt-project.org has 4.8.1 as well as 4.8.3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4-tools-nativesdk.inc: rename to nativesdk-qt4-tools.incMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02libdrm: Remove Cairo dependencyDaniel Stone
This causes a build loop, when DRM depends on Cairo depends on Mesa depends on DRM. We can safely remove it as it's only one libdrm example program which uses Cairo, which we won't be needing. At least it's not worth the build loop. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02binutils.inc: add vardep on multiarch DISTRO_FEATUREMatthew McClintock
binutils will build differently if this feature is enabled, so make the do_configure step depend on it Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02libx11.inc: fix build issues for older CentOS distrosMatthew McClintock
Fixes these sorts of issues present on older gcc (CentOS 5.x in this case) | cc1: error: unrecognized command line option "-Werror=implicit" | cc1: error: unrecognized command line option "-Werror=nonnull" | cc1: error: unrecognized command line option "-Werror=init-self" | cc1: error: unrecognized command line option "-Werror=main" | cc1: error: unrecognized command line option "-Werror=missing-braces" | cc1: error: unrecognized command line option "-Werror=sequence-point" | cc1: error: unrecognized command line option "-Werror=return-type" | cc1: error: unrecognized command line option "-Werror=trigraphs" | cc1: error: unrecognized command line option "-Werror=array-bounds" | cc1: error: unrecognized command line option "-Werror=write-strings" | cc1: error: unrecognized command line option "-Werror=address" | cc1: error: unrecognized command line option "-Werror=int-to-pointer-cast" | cc1: error: unrecognized command line option "-Werror=pointer-to-int-cast" Also fixes: makekeys-makekeys.o: In function `main': makekeys.c:(.text+0x85): undefined reference to `__isoc99_sscanf' makekeys.c:(.text+0xa7): undefined reference to `__isoc99_sscanf' collect2: ld returned 1 exit status make: *** [makekeys] Error 1 Older libc do not have this defined, we can use the -D_GNU_SOURCE to the compiler to prevent generating calls to this function and make linking work Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02Revert "initrd: Spawn an emergency shell when something goes wrong"Ross Burton
This had nowhere near enough testing... This reverts commit ffb6928f5783e5202d9849c3a185e29be1d41c63. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02nativesdk.bbclass: Ensure we have chrpath >=0.14Richard Purdie
Versions earlier than 0.14 can't cope with 32 bit binaries on a 64 bit system and vice versa. This results in problems for certain SDKMACHINE combinations on certain hosts. By ensuring we build chrpath-replacement-native we avoid this problems and the binaries work correctly. [YOCTO #3161] [YOCTO #3201] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02chrpath: We should provide chrpath-replacement-native and install into a ↵Richard Purdie
native specific directory chrpath is assumed to be provided by the build host system. This means we need to provide a replacement version and install into a specific directory to avoid races. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02gzip: The native version should provide gzip-replacement-nativeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02bitbake.conf: Add chrpath-native to ASSUME_PROVIDEDRichard Purdie
We assume chrpath is provided natively so it should be listed in ASSUME_PROVIDED. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02scripts/oe-buildenv-internal: Ensure we detect the SDK/ADT and error outRichard Purdie
The SDK/ADT may ship with a python installed which may not have all the modules need for a bitbake build. We should therefore detect if its already present in the environment and error out in this case, asking the user to use a clean environment. This also removes the potential for any other conflict between the two. [YOCTO #2979] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>