summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2013-04-02pcmciautils: fix segmentation fault of pccardctl commandTakeshi Hamasaki1
This changes definition of PCMCIAUTILS_VERSION to string from a multichacter constant to avoid segmentation fault of pccardctl command. Signed-off-by: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02connman: added wired setup for systemdCristian Iorga1
Added support for correctly configuring wired interface if systemd is the init system. Fixes [YOCTO #4041]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02sstate: add -f to mv when moving sstate files into placeJeff Polk1
Under some conditions (ACLs enabled, NFS) mv can interactively prompt before overwriting files. Avoid hanging builds in that case by using -f which should be harmless in other cases. Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02linux-yocto-rt: integrate 3.8.4-rt2Bruce Ashfield1
Updating to 3.8.4-rt2 to fix the minor issues found with -rt1. >From the upstream commit log: changes since v3.8.4-rt1: - build fix for i915 (reported by "Luis Claudio R. Goncalves") - build fix for fscache (reported by tglx) - build fix for !RT (kernel/softirq.c did not compile) - per-cpu rwsem fixed for RT (required only by uprobes so far) - slub: delay the execution of the ->ctor() hook for newly created objects. This lowers the worst case latencies. Known issues: - SLxB is broken on PowerPC. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02kernel-yocto: use KBRANCH as default build branchBruce Ashfield1
commit 61001aa [kernel-yocto: respect SRC_URI modified branch selection] changed branch processing such that a branch specified in the SRC_URI would set the branch forced as the build branch. This change broke compatibility with the yocto-bsp, linux-yocto-custom based recipes. These recipes specify the branch to be built via KBRANCH, but allow the fetcher to use master for keeping the repository up to date. This means that no explicit branch is set in the SRC_URI and the routines return the default branch of 'master', which is not what is set in KBRANCH. To support this case, we simply pass a default branch into the routine returning the branch to build, and ensure that the default is KBRANCH so if no branch is passed in the SRC_URI, KBRANCH is always built. [YOCTO #4145] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02linux-yocto/3.8: update mips SA_RESTORER fixBruce Ashfield2
During the 3.8.4 integration there was a build issue on MIPS due to SA_RESTORER changes. A solution was put in place for mips, but it didn't cover other impacted architectures. This is a backport of the proposed fix for the next 3.8-stable, since the full -stable might not be available in the right timeframe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02remake: Fix out of tree buildsRichard Purdie1
remake fails with errors during configure due to the out of tree build changes. This ensures the configure commands run correctly on files in ${S}. [YOCTO #4139] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02rpm: Ensure rpm depends on rpm-postinstsRichard Purdie1
If package-management isn't in IMAGE_FEATURES, the postinstall handler wasn't being installed. rpm needs to depend on this to ensure it does get installed. [YOCTO #4160] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02build-appliance-image: fix git proxy accessCristian Iorga1
Updated the name of git proxy access script. Fixes [YOCTO #4161] Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-30qemuimage-testlib: Fix quoting issueRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-30qemuimage-testlib: Use ww option to ps to ensure command output isn't truncatedRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-30qemuimage-testlib: Increase qemu startup timeoutsRichard Purdie1
We are seeing timeouts on the autobuilder where qemu does start but the script doesn't appear to be able to detect it in time. This patch increases the timeouts since there seems little harm in doing so. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29meta/lib/oe/lsb.py: extract only the needed info from lsb-releaseCristian Iorga1
Instead of running lsb_release -a, a lsb_release -ir will be run. This will prevent issue with distros that don't have all the needed info in /etc/lsb-release file, in which case lsb_release won't generate an error code. Partial fix for [YOCTO #4071] Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29scripts/contrib/build-perf-test.sh: add timings for bitbake -pStefan Stanacar1
Add another test to time bitbake -p with and without cache/ or tmp/cache. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29scripts/contrib/build-perf-test.sh: add option to allow cherry-picking of ↵Richard Purdie1
fix revisions Adds a -p option to allow cherry-picking of fix revisions. Removes the final build/sstate directories to stop running out of space. Runs subsequent tasks even if one test fails. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29scripts/contrib/build-perf-test.sh: add a global results fileStefan Stanacar1
Append results from each run to a single file in order to keep a history. Also do some cosmetic changes and fix some whitespace. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29scripts/contrib/build-perf-test.sh: add a script for build performance trackingStefan Stanacar1
This script runs a series of builds (core-image-sato by default) with and without sstate cache and collects some metrics (time and size currently). It takes a commit as argument (-c <rev>) and measures wall clock for bitbake core-image-sato and virtual/kernel. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29systemd: Add new package systemd-kernel-installKhem Raj1
Package additional directories e.g. /etc/kernel and /usr/lib/kernel Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29coreutils: Fix out of tree buildsRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29elfutils: remove i386_dis.h/x86_64_dis.h compilation targetsLaurentiu Palcu1
Since we provide those files manually (i386_gendis, which is needed for generating those files, has to be run on host and would fail when compiling for other architectures), the mentioned compilation targets in libcpu/ are not needed anymore. This change will avoid a nasty race condition when running "make -jX install" resulting in a zero size libebl_i386.so file. The issue happens because, at "make install" time, the *_dis.h prerequisites will be newer than the target itself, triggering a chain of recompilations while, in the same time, the binary files are copied to the destination directory. Hence, the zero sized file... [YOCTO #4131] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29packageinfo.bbclass : extended functionalityAndrei Dinu1
Extended the functionality of packageinfo.bbclass so that the sistem retrieves information about the files brought in by each package. This is done (without activating buildhistory) by parsing the packages-split directory for each package. Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29coreutils: update to upstream version 8.21Marko Lindqvist5
remove-gets.patch removed as issue is fixed upstream. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29dbus: Depend on dbus-ptest-ptestBjörn Stenberg1
The dbus-ptest recipe doesn't produce an output package called dbus-ptest. What we are interested in is actually the dbus-ptest-ptest package. Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29image_types.bbclass: Replace squashfs-lzma with squashfs-xzMarc Ferland1
Booting an image generated with squashfs-lzma results in a kernel error: "Filesystem uses "lzma" compression. This is not supported". Currently (well at least in Linux 3.8) the officially supported decompressors are: * LZO * XZ * ZLIB This change makes sure we use a supported compression algorithm for squashed root filesystems. Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29libpng: add version 1.2 backKang Kai2
Current LSB 4.1 test suite still check libpng12.so, so add libpng 1.2.x back, and set it as default verison for linuxstdbase image. [YOCTO #4015] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29init-install.sh: remove unnecessary udev rules file to avoid error messagesChen Qi1
/etc/udev/scripts/mount.sh is removed by init-install.sh, but the udev rules file which specifies the invocation of this script is not removed, thus causing the error message '/etc/udev/scripts/mount.sh: No such file or directory' shown at a live install. The /etc/udev/rules/automount.rules no longer works once the mount.sh script is removed. So we remove it to avoid the error message. [YOCTO #3924] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29dosfstools: really compile supporting large filesJoe Slater1
Makefile in the package tries to set _FILE_OFFSET_BITS=64, but we clobber that with our CFLAGS, so we add it in the recipe. [CQID: 409915] Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29boost: Add real native supportStefan Herbrechtsmeier4
The current boost recipe only creates the bjam build tool during a native run and thereby is not usable for other native recipes that depend on a boost library. Split out the build tool into its own bjam-native recipe and add real native support to the boost recipe. Additionally replace the boost-native with bjam-native in the DEPENDS. This allows recipes to depend on native boost librarties without increase of the build time for other use cases. Native compilation of bzip2 isn't working and therefore disabled. Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29oe-setup-builddir: Possibility to customize text.Anders Roxell2
Possibility to customize the text that is presented to the user when they execute the script. Signed-off-by: Anders Roxell <anders.roxell@enea.com> Tested-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29wayland: upgrade to 1.0.6Ross Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29weston: upgrade to 1.0.6Ross Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29classes/buildhistory: improve SRCREV recordingPaul Eggleton2
Collect SRCREV information in a separate task and write it out in a format which is more consistent with the rest of the buildhistory output. Using a task means that SRCREV values will also be recorded for native recipes and not just target ones, and the new formatting also correctly handles multiple entries in SRC_URI. Also adds scripts/buildhistory-collect-srcrevs which will report on all of the recorded SRCREV values in a format suitable for use in global configuration (e.g. local.conf or a distro inc file) to override AUTOREV values to a fixed set of revisions. Example output: # emenlow-poky-linux SRCREV_machine_pn-linux-yocto = "b5c37fe6e24eec194bb29d22fdd55d73bcc709bf" SRCREV_emgd_pn-linux-yocto = "caea08c988e0f41103bbe18eafca20348f95da02" SRCREV_meta_pn-linux-yocto = "c2ed0f16fdec628242a682897d5d86df4547cf24" # core2-poky-linux SRCREV_pn-kmod = "62081c0f68905b22f375156d4532fd37fa5c8d33" SRCREV_pn-blktrace = "d6918c8832793b4205ed3bfede78c2f915c23385" SRCREV_pn-opkg = "649" Some notes on using this script: * By default only values where the SRCREV was not hardcoded (usually i.e. AUTOREV was used) are reported - use the -a option to see all SRCREV values. * The output statements may not have any effect in the face of overrides applied elsewhere; use the -f option to add the forcevariable override to each output line to work around this. * The script does not do any special handling for multiple machines; however it does place a comment before each set of values specifying which triplet they belong to as shown above. Relates to [YOCTO #3041]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29systemd: Upgrade to 199Khem Raj4
udevadm is now moved from /usr/bin to /bin so account for that bash completions for udevadm should be packages with udev-utils since thats where udevadm itself is, they were in systemd package which is not correct location for it Backport patches for readahead fixes on spinning disks and to tackle error reported on missing /etc/sysctl.conf Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29rpm: split out run-postinstsZhenhua Luo2
1. Split out run-postinsts script into separated package, sometimes only the postinsts script is required to run all postinsts scripts in /etc/rpm-postinsts/ instead of the whole rpm package. 2. Set ROOTFS_PKGMANAGE_BOOTSTRAP to rpm-postinsts Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29meta/lib/oe/lsb.py: fix data extraction from /etc/lsb-releaseCristian Iorga1
In some cases, /etc/lsb-release file is used to extract info about poky build host machine. But the strings are not stripped of end of line special characters. As such, when this info is concatenated and used as a directory entry in sstate_cache, this is an issue. Usually, this issue is masked by the fact that distro related info is extracted from the output of lsb_release command. In case of Yocto Linux, running "lsb_release -a" will give an error code because CODENAME info is not present. As such, bitbake will extract the info from /etc/lsb-release, running into the above issue. Consequence is that building under BA will crash. Partial fix for [YOCTO #4071] Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-28base.bbclass: When we use fakeroot, also use it for devshellRichard Purdie1
Its generally useful for devshell to end up in the fakeroot environment. If a user needs to exit it, PSEUDO_UNLOAD=1 <command> works, its usually harder to enter the envionment. [YOCTO #3374] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27qemuimage-testlib: Capture stderror in the logs as well as stdoutRichard Purdie1
This allows error messages to be captured in the logs which is helpful. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27systemd: Upgrade to 198Khem Raj4
Tested on ppc and x86_64 compile tested for uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27glib-networking: Disable libproxy and gnome-proxy since they're not in DEPENDSRichard Purdie1
This fixes races in build over these dependencies which could become accidentally enabled. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27xserver-nodm: Correct initscript headerRichard Purdie1
The init script header is incorrect, we only start this at runlevels 2 and 5. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27qemu: Add missing DEPENDS on dtcRichard Purdie1
This fixes failures in builds where qemu fails with: i586-poky-linux/qemu/1.4.0-r0/qemu-1.4.0/hw/arm/../../device_tree.c:28:20: fatal error: libfdt.h: No such file or directory x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lfdt Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27classes/buildhistory: ensure SDK package lists include complementary pkgsPaul Eggleton1
We need to get in after complementary package installation, so use _append instead of +=. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27psplash_git.bb: fix do_compile by correcting the script pathNitin A Kamble1
The recent change in the builddir location is breaking this recipe as it is trying to run a script (make-image-header.sh) located in sourcedir from builddir. As the script does not gets to run, the resulting file is not generated causing error as seen below. This commit fixes the issue, by providing complete path of the script. This commit fixes this build error: ERROR: Error executing a python function in /srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/psplash_git.bb: IOError: [Errno 2] No such file or directory: 'psplash-tlk-img.h' ERROR: Task 6 (/srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/psplash_git.bb, do_compile) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27local.conf.sample.extended: remove obsolete DISTRO_FEATURES_INITMAN referenceRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27qemux86*.conf: replace XSERVER weak assignment with a hard oneLaurentiu Palcu2
Because the qemu.inc is now included before the XSERVER assignment, the xf86-video-vmware and xf86-video-vmmouse are not built and the X for qemux86 and qemux86-64 does not start. [YOCTO #4124] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27sysvinit: rc: exit psplash correctlyChen Qi1
Previously, psplash didn't go away at system startup. The root cause is that rc checks the file '/etc/init.d/xserver-nodm' to determine whether to exit psplash manually. So even if xserver-nodm is not linked into runlevel 3, psplash doesn't exit. This patch fixes this problem by letting the rc script check the file '/etc/rc${runlevel}.d/S??xserver-nodm' to determine whether to exit psplash manually. [YOCTO #3904] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26nspr: Also update nspr.pc to 4.9.5Colin Walters1
Earlier commits bumped the upstream version, but we need to update our copy of the pkg-config file too. (It'd probably be better to generate this at build time, otherwise this will be a trap people continually fall into) Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26uclibc-git: Fix build on x86 and move to latest masterKhem Raj5
debugedit from rpm has unearthed a bug in uclibc where it was mixing stabs with elf/dwarf Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26udev: move /run volatile entry to udev instead of initscriptsRoss Burton3
initscripts is generally installed on systemd-using images, but because it specifies that /run is a symlink to /var/run managed by volatiles it totally breaks systemd by copying/deleting /run from underneath systemd. Deleting sockets mid-boot doesn't leave systemd in a happy place. As this volatile reference of /run was introduced by udev 182, move it's reference to the udev recipe. This way it will never be present on systemd images, as systemd manages /run as a tmpfs itself. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26busybox: order and group initscript variables logicallyRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>