aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-09-12sysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items ↵Matthew McClintock
to check Right now, we delay running the serial console checks to we boot up. This causes issues for read only file systems. So, if have not configured any serial ports to check via SERIAL_CONSOLES_CHECK we can skip the check at boot. This fixes any issues with read only file systems and ipk packaging. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12linux-yocto*: append to KERNEL_FEATURES instead of assigningBruce Ashfield
It is sometimes useful for KERNEL_FEATURES to be set in a machine or other configuration file. The linux-yocto recipes currently initialize the variable, which clobbers any values set by .conf files. Appending to the variables allows these settings to propagate to the kernel configuration, while maintaining the existing set of added kernel features. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12libgnome-keyring: add missing DEPENDS on intltool-nativeJackie Huang
libgnome-keyring requires command 'intltoolize' in configure, so add DEPENDS intltool-native. [YOCTO #3081] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12libgpg-error: Use the source file for the licence checksumRichard Purdie
It makes sense to us the license checksum from the source .in file rather than that from the generated file which configure can change (or remove). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12autotools.bbclass: Add functionality to force a clean of ${B} when ↵Richard Purdie
reconfiguring (and ${S} != ${B}) Unfortunately whilst rerunning configure and make against a project will mostly work there are situations where it does not correctly do the right thing. In particular, eglibc and gcc will fail out with errors where settings do not match a previously built configuration. It could be argued they are broken but the situation is what it is. There is the possibility of more subtle errors too. This patch adds removal of the build directory (${B}) when configure is rerunning, the sstate checksum for do_configure has changed and ${S} != ${B}. We could simply use a stamp but saving out the previous configuration checksum adds some data at no real overhead. If we find there are things where we want to disable this behaviour with CONFIGURESTAMPFILE = "" in the recipe, or users could disable it globally. [YOCTO #2774] [YOCTO #2848] This is particularly helpful for eglibc and gcc which use split builds by default and are a particular source of reconfigure type problems. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12nativesdk-qemu: fix SDK relocation issueLaurentiu Palcu
User mode emulation binaries are linked using a local linker script. The nativesdk ones were not used and the resulting binaries did not have the interp section resized. Hence, those binaries could not be relocated. [YOCTO #3083] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12classes/sanity: remove obsolete codePaul Eggleton
We can now rely upon the minimum BitBake version having the SanityCheckFailed event, so remove the code to handle if this is not there. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12classes/sanity: skip tune checks if machine is invalidPaul Eggleton
If there is no valid machine configuration it's almost guaranteed that the tune checks will fail, so just suppress them in that case. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12gettext: Make gettext 0.16.1 extend native and nativesdk.Martin Ertsaas
gettext 0.16.1 is a GPLv2 version of gettext. Making that extend native and nativesdk makes sure we use the same version of gettext for compiling internally as well as in our toolchain. Signed-off-by: Martin Ertsaas <mertsas@cisco.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12linux-yocto/3.4: v3.4.10 and uprobes/kprobes configuration updatesBruce Ashfield
Updating to 3.4.10 which has been soaking for a bit now, as well as picking up the following meta commits from Tom Z: a82db2f meta: have systemtap use kprobes and uprobes feature d5d5b80 meta: add kprobes support to ktypes/standard b32d373 meta: add kprobes feature d40ed99 meta: have uprobe feature use uprobe.cfg a69d1db meta: add uprobe.cfg Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12gcc-4.7: Backport libgcc fixes to appease the new build sequenceKhem Raj
This makes the libgcc builds identical when done with gcc-cross-initial or final gcc-cross. Since eglibc only sees gcc-cross-initial it is important that the final libgcc that appears on root file system is same as the one against which eglibc was built. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12gcc-4.7: Fix build for armv4/EABI and ppc/OsKhem Raj
arm patch is a forward port from OE/classic ppc patch should help in building images with Os Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12telepathy-idle: fix parallel buildRoss Burton
Apply a patch from upstream git, and clean up our other patch so that it applies. [ YOCTO #3056 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-09-12webkit-gtk: work around Make bug by re-running makeRoss Burton
GNU make 3.82 has a bug where it drops required dependencies. https://bugs.webkit.org/show_bug.cgi?id=79498 is the WebKitGTK+ bug, and http://savannah.gnu.org/bugs/?30653 is the GNU Make bug. Work around this by running make again if it fails just in case the failure is due to the bug. Based on a patch by Andreas Müller <schnitzeltony@googlemail.com>. [ YOCTO #2816 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-09-12shadow-native: Ensure that ${sbindir} and ${base_sbindir} are respectedPhil Blundell
These values need to be passed on the command line to "make install" otherwise shadow will use its own built-in idea of where those directories are located. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12shadow: Fix various invalid assumptions about directory layoutPhil Blundell
The makefiles in the shadow package have their own hard-coded paths for ${base_bindir} and ${base_sbindir} (known as "bindir" and "sbindir" in shadow-speak). Ensure that they install into our paths rather than their own. Also check that ${base_bindir} and ${bindir} are different before trying to move files from one to the other; likewise for ${base_sbindir} and ${sbindir}. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12perl-native: PROVIDE libmodule-build-perl-native for consistency with ↵Phil Blundell
non-native perl This module is, apparently, included in the standard perl distribution since 5.10.1 or so. The regular perl recipe has had this PROVIDES for a while but it seems to have been overlooked in the native version. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12qt4: Update qt4.inc to remove staticdev deps in -dbg packagesMark Hatle
It appears that the qt4.inc had a copy/paste error relating to creating a list of staticdev packages, that caused them to show up as dependencies in the -dbg package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12base-files: provide a mechanism to skip creation of the hostname fileMark Asselstine
The existence of a /etc/hostname file causes any hostname provided on the kernel command line or via dhcp to be overwritten by the initscripts 'init.d/hostname.sh'. This change allows you to set a value of "" for 'hostname' which will skip the creation of the /etc/hostname file by the base-files package. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12package_rpm.bbclass: Avoid unnecessary installs in complementary passMark Hatle
When called with the complementary install option, the first step is to backup the install manifest so that we can avoid installing items previously installed. However, this backup process skipped the initial_install portion of the manifest, causing early install items like libc6, bash, and base-files to be installed a second time. Fix this by cating the files to original_solution. This is done as an append to allow multiple calls to package_install_internal_rpm to work. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12image.bbclass: Enable the complementary install to be called w/ globbing paramsMark Hatle
If the image.bbclass is called with arguments, and these arguments are not "populate_sdk", they will be passed in as the expected GLOBS. This enables external components and scripting to use the rootfs_install_complementary code. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12sstate: Append to EXTRASSTATEMAPS and add commentRichard Purdie
Appending to EXTRA_SSTATEMAPS is better than just hardcoding a value. Also add a comment about why this is necessary. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10classes/packageinfo: use better method to check if package existsPaul Eggleton
Instead of using a rather error-prone method of looking for output package files in order to determine if a package got created, use the .packaged file within pkgdata. This fixes two separate issues: * Some packages apparently not being found by this code e.g. all apm/apmd packages when using ipk packaging. * Buggy implementation of this checking code which triggered an exception during the event handler if PKGV was overridden on a per-package basis (as it is with external-sourcery-toolchain), which blocked Hob from completing parsing at 99% - fixes [YOCTO #2651]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10packagegroup-core-x11-xserver: remove redundant PACKAGES statementRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10eglibc-initial-2.16: add kconfig-frontends-native to dependsMartin Jansa
* fixes: | make[1]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc' | make[1]: *** No rule to make target `/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/conf', needed by `config'. Stop. | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc' * it's because, eglibc-initial.inc overwrites DEPENDS from eglibc_2.16.bb $ grep DEPENDS eglibc_2.16.bb DEPENDS += "gperf-native kconfig-frontends-native" $ grep DEPENDS eglibc-initial.inc DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial" and it's included after eglibc_2.16.bb $ head -n 3 eglibc-initial_2.16.bb require eglibc_${PV}.bb require eglibc-initial.inc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10lib/oe/sstatesig.py: add signature data query functionPaul Eggleton
Add a function that can be used from BitBake code which will find signature data (sigdata/siginfo) files based on specified criteria, and hook it into BitBake as bb.siggen.find_siginfo. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10runqemu-internal: New qemu calls it qemu-system-i386 for x86Khem Raj
New qemu calls the x86 system emulator to be qemu-system-i386 which is consistent now so change it in scripts Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10qemu-git: Move to tip of git past 1.2 releaseKhem Raj
There are a lot of armv7 and sh4 fixes that its worth moving to latest version. The patch forward porting can happen later. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10qemu: Update from 0.15 to 1.2Khem Raj
Forward port the patches which were not applied upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10Add package wget and perl modules.Saul Wold
LSB needs wget to download packages but wget provided by busybox doesn't support some options such as '-N'. LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl, ../lib/Class/ISA/t/00_about_verbose and ../lib/Class/ISA/t/01_old_junk.t fail because of lack of these modules, add them to make test pass. File CORE/config.h which is provided by perl-dev and file unicore/version which is provided by perl-doc are required by LSB perl test cases. Add perl-dev and perl-doc to packagegroups-core-lsb. [Yocto #3030 #3031 #3052 #3054 #3055] Signed-off-by: Kang Kai <kai.kang@windriver.com> Rebased for packagegroup change -sgw These perl libraries are being added directly to OE-Core for 4.1 LSB Complainace, when 5.0 comes out early next year (2013), we will remove these changes. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10libi18n-collate-perl: add itKang Kai
This module is deprecated from perl 5.003_06. But LSB perl test 4.1.6-2 still test it. So add it. [Yocto #3031] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10libfile-checktree-perl: add itKang Kai
LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with: test 88 'use File::CheckTree;' failed Add it to fix this issue. [Yocto #3031] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10libenv-perl: add itKang Kai
Just add it for LSB 4.1 perl tests. [Yocto #3031] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10libdumpvalue-perl: add itKang Kai
LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with: test 44 'use Dumpvalue;' failed So add libdumpvalue-perl to fix it. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10libpod-plainer-perl: add itKang Kai
LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with: test 190 'use Pod::Plainer;' failed Add libpod-plainer-perl to fix it. [Yocto #3031] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10perl: package modules Pod-Html and Tie-Hash-NamedCaptureKang Kai
Package modules Pod-Html and Tie-Hash-NamedCapture. Without module Tie::Hash::NameCapture.pm, call "use English;" will fail. Module Pod::Html is required by LSB perl test 4.1 case all/tst_perlModPresent.pl 1. [Yocto #3031] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10libclass-isa-perl: add itKang Kai
perl module Class::ISA is needed by LSB 4.1 perl test, so add it. When LSB 5.0 release, it will be deprecated. But we need it now. [Yocto #3030] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10u-boot: Use fw_env.config if available.Franklin S. Cooper Jr
* Add support for board specific fw_env.config file if available. Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10core-image: allow root login when debug-tweaks is enabledSaul Wold
This allows root to login over ssh with an empty password just like dropbear when the debug-tweaks are enabled, it's important to disable debug-tweaks for a production system as this will leave open a security hole! Thanks to Marc for the settings. Cc: Marc Ferland <marc.ferland@gmail.com> [Yocto #3078] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10xserver-xorg: make DRI/GLX options respect opengl distro featureRoss Burton
If the distro doesn't have the opengl feature there's no point building the DRI or GLX support, making the mesa-dri build dependency optional. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10xserver-xorg-lite: removeRoss Burton
Building xserver-xorg and not installing the DRI and GLX modules (and so not Mesa) results in an increase of 16kb compared to this package. This isn't worth the effort of maintaining two packages. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10autoconf: use --warning=cross only if supportedConstantin Musca
Adapt autoconf to pass --warning=cross to automake only if supported. [YOCTO #842] Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10machines/x86: Drop redundant glibc configure knobsKhem Raj
nptl and thereby tls are not optional anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10kconfig-frontends: Create symlinks for conf and mconfKhem Raj
eglibc calls out mconf and conf directly so lets create symlinks to point to their kconfig- counterparts Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10eglibc: Enable kconfig for option managementKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10eglibc-2.16: Add kconfig infrastructureKhem Raj
This will let eglibc use kernel like option management through kconfig Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10arch-armv4.inc: On armv4 add --fix-v4bx to linker flags for kernelKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10pixman: ignore NEON, IWMMXT, LOONGSON_MMI variables for class-nativeMartin Jansa
* pixman-native can have different do_configure sstate checksums if it's built with armv4t machine and armv7a OE @ ~ $ bitbake/bin/bitbake-diffsigs before-mgmt/stamps.1346795706/nokia900/x86_64-linux/pixman-native-*.do_configure.sigdata.* after-mgmt/stamps.1346801508/om-gta02/x86_64-linux/pixman-native-*.do_configure.sigdata.* basehash changed from 27e577de60880a788c7aaba797ef83e0 to c6799807eb3e767daf1e75738fc753f7 Variable NEON value changed from to --disable-arm-neon * so if you start building with different machine then last time (wrt NEON setting) all recipes which depends on pixman-native will be rebuilt too * this explains why sstate-cache-management.sh wanted to remove many native sstate packages when --stamps-dir option was used (see comment 28 in https://bugzilla.yoctoproject.org/show_bug.cgi?id=2897) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10pixman: merge meta-oe append into oe-coreAndreas Müller
* neon configuration settings included * patches were aligned to 0.27.2. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10package_rpm.bbclass: fix incremental rpm image generationRobert Yang
* Check ${target_rootfs}/etc/passwd rather than ${target_rootfs}${rpmlibdir} to make sure that it has been previously installed. * Remove the "--nodeps" when incremental image generation, it should take care of the dependencies. Still use "--replacefiles --replacepkgs" in case there are conflicts. [YOCTO #3047] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>