summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2014-05-01Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser
The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30util-linux: Update to 2.24.2Saul Wold
rebase util-linux-native patch Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-30binutils/gcc/gdb: Add TARGET_ARCH to PN for all cross recipesRichard Purdie
This allows them to co-exist together in the native sysroot, with one set of cross tools per target architecture. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-29systemd: Check for HAVE_POSIX_FALLOCATEDrew Moseley
The check for the config variable is using the wrong define resulting in the #else always being used. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-27uclibc: Add libgcc-initial to DEPENDSKhem Raj
Now Separated out libgcc-initial is there Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Upstream-Status CleanupsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25bumps to remove PRINC use in meta-fsl-ppcChunrong Guo
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25initscripts: Fix PR reversalRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25dbus: fix a hard dependency about dbus-ptestChong Lu
If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This issue will increase size for most small images. This patch fixes this problem. [YOCTO #5702] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-25udev-extraconf: update mount.sh to use /run/media instead of /mediaDenys Dmytriyenko
This is done to work around the issue of auto-mounting block devices (i.e. SD cards) when root filesystem is still in read-only mode and creating /media/<device> mount-points by udev is not possible. That is due to udev (/etc/rcS.d/S03udev) getting started earlier than checkroot (/etc/rcS.d/S10checkroot.sh) gets a chance to re-mount the rootfs as read-write. Although, canonical FHS specifies /media/<device> as a mount point for removable media devices, the latest 2.3 version was released in 2004 and since then FreeDesktop/udisks and other tools adopted the new /run/media/<user>/<device> location. That was done to overcome read-only rootfs limitation, since /run is usually a tmpfs mounted partition, plus avoid name-clash between users. For our embedded systems environment we assume single-user operation and hence simplify mount point to just /run/media/<device>. But for proper per-user mounting to /run/media/<user>/<device>, some sort of session management is required along with the tool like udisks, that is out of scope of this simple udev-based auto-mounting. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace oe.utils.contains to bb.utils.containsOtavio Salvador
BitBake has the exact same code as oe.utils.contains so there's no reason to duplicate it. We now rely on the bb.utils.contains code for metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25gcc-cross-initial: Separate out libgcc-initialRichard Purdie
Its useful to separate out the native (cross) binaries from the target compilation. We already do this for libgcc, this now takes the same approach for -initial. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24build-appliance-image: Update to head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24PR bumps to remove PRINC use in meta-openpliMike Looijmans
Resolves warnings of this kind in the OpenPLi layer: WARNING: Use of PRINC * was detected in the recipe * Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24console-tools: Remove floating runtime dependency on flexJacob Kroon
The 'loadkeys' program defines its own yywrap()/yylex() functions, there is no need to link with flex shared library. Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-22build-appliance-image: Update to head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09eglibc: __slow_ieee754_sqrt{, f} functions for ppc e6500-32bChunrong Guo
*fix the following error: |/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c:138:1: | error: redefinition of '__ieee754_sqrt' | __ieee754_sqrt (double x) Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-08busybox: fix a sh link wrongWenlin Kang
When both bash and busybox be installed, without ash support in busybox,if bash is installed before busybox in the final stage, even if ALTERNATIVE_PRIORITY of bash > ALTERNATIVE_PRIORITY of busybox, the symlink from /bin/sh to bash can be yet overwritten by busybox. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05sysvinit: fix the bootlogd init script headerRoy Li
fix the bootlogd init script header, to make chkconfig be able to work on bootlogd Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05busybox: Specify '-nostdlib' when linking to a .o file.Drew Moseley
Ensure that linking to the built-in.a file uses the 'nostlib' option. Submitted to busybox mailing list here: http://lists.busybox.net/pipermail/busybox/2014-March/080730.html This has been accepted into upstream busybox so it will not be needed for future versions. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05busybox: Use CCLDDrew Moseley
Use the CCLD variable to ensure proper tuning parameters. Notably when building on a x86-64 host with an i686 toolchain there is an error building built-in.o because it is trying to link 32-bit and 64-bit object files: i686-pc-linux-gnu-ld --sysroot=/work/dmoseley/Mentor/amd-2014.05/build.genericx86-64-external/tmp/sysroots/genericx86-64 -r -o applets/built-in.o applets/ap i686-pc-linux-gnu-ld: Relocatable linking with relocations from format elf64-x86-64 (applets/applets.o) to format elf32-i386 (applets/built-in.o) is not support make[1]: *** [applets/built-in.o] Error 1 Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04util-linux: fix parallel build issueRobert Yang
The rule SETARCH_MAN_LINKS is used for the files under the sys-utils dir, for example: echo ".so man8/setarch.8" > sys-utils/linux32.8 but it depends on nothing so that the sys-utils dir may not exist, we can create the sys-utils dir to fix problem. [YOCTO #6115] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04coreutils: fix search paths for libstdbuf.soChunrong Guo
*fix the following error: |stdbuf: failed to find 'libstdbuf.so' *PKGLIBEXECDIR is the search paths for libstdbuf.so |PKGLIBEXECDIR='$(pkglibexecdir)' |pkglibexecdir='${libexecdir}/${PACKAGE}' Signed-off-by: Chunrong Guo <B40290-KZfg59tc24xl57MIdRCFDg@public.gmane.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04systemd: backport patch to avoid assertion failuresJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04dbus: backport memory leak patch for error when listing servicesJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04dbus: backport fix for bus activation under systemd sessionJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizationsMats Kärrman
Tested on PowerPC MPC5125. Signed-off-by: Mats Karrman <mats.karrman@tritech.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-31initrdscripts: add install scripts with a second rootfsStefan Stanacar
These are meant to be used by a master image, for a simple initial setup. The install scripts are similar to the default ones, but: - custom partitioning, replaces the swap partiton with a second root filesystem - adds labels to the partitions - preconfigures a boot loader entry for the second rootfs Part of [YOCTO #5614] Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-31packagegroup-core-tools-testapps: Move GLTOOLS to X11GLTOOLSOtavio Salvador
piglit and mesa-demos are not buildable in x11-less distros so we must to add those only when opengl and x11 DISTRO_FEATURES are available. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-27build-appliance-image: update to head ae938eba92b2c89a9fd91161e57c5dbc594ad4adCristian Iorga
Build Appliance includes a more recent version of poky, up to commit: ae938eba92b2c89a9fd91161e57c5dbc594ad4ad. Adds bitbake fixes/optimizations; Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-27systemd-serialgetty: update to match systemd 211Jonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-26base-files: do_install.sigdata: remove the depends on DATERobert Yang
If we run "bitbake -S base-files" today, and re-run it tomorrow with nothing changed, we would see that the do_install.sigdata changes because of: do_intall -> do_install_basefilesissue -> DISTRO_VERSION -> DATE We had set: IMAGE_NAME[vardepsexclude] += "DATETIME" in meta/conf/bitbake.conf, we can set a similar line in base-files_3.0.14.bb to fix the problem. [YOCTO #6032] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-26util-linux-native: fix qsort_r for CentOS 5.10Robert Yang
The qsort_r() was added to glibc in version 2.8, so there is no qsort_r() on the host like CentOS 5.x, use qsort() to fix it since they are nearly identical. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-24glib-2.0-native: Fix DEPENDSRichard Purdie
Address the error | checking for ZLIB... no | checking for inflate in -lz... no | configure: error: *** Working zlib library and headers not found *** by ensuring zlib-native is in DEPENDS. [YOCTO #5773] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-24util-linux: build setpriv requires libcap-ngRobert Yang
There might a failure when build util-linux with the meta-selinux layer: [snip] sys-utils/setpriv.c:21:20: fatal error: cap-ng.h: No such file or directory #include <cap-ng.h> ^ compilation terminated. [snip] Use PACKAGECONFIG to fix the problem. [YOCTO #6026] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-23busybox: disable fsck.minix and mkfs.minixJonathan Liu
The MINIX and MINIX 2 filesystems are not really used anymore. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21core-image-minimal: allow user to set sizeTrevor Woerner
Allow the user, in their local configuration, to override the size of the final image. This is useful when creating an image for (for example) an SD card and the user wants the image to fill up the card as much as possible. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21base-files: use /dev/root in /etc/fstab for systemd supportJonathan Liu
systemd does not recognize "rootfs" in /etc/fstab so the root filesystem is not checked. As a result, the following message is logged by journalctl: systemd-fstab-generator[68]: Checking was requested for "rootfs", but it is not a device Changing "rootfs" to "/dev/root" in /etc/fstab allows systemd to check the root filesystem when the kernel is booted with the root filesystem mounted read-only. [YOCTO #5950] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21genext2fs: remove itRobert Yang
Remove genext2fs since we don't use it anymore, it can't support ext4 well, either. We have used "mke2fs -d" to instead of it. [YOCTO #6013] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-19gettext-0.16.1: kill target m4 macros from sysrootChristopher Larson
Ever since the change to how aclocal files are copied (based on dependencies), target m4 macros seem to more reliably be used in preference to native (which they should), but in a non-gplv3 build, gettext is 0.16 while gettext-native is 0.18, causing a 0.16 po.m4 to be used with our 0.18 po/Makefile.in.in files, causing at least some failed builds, including e2fsprogs. Anyone inheriting gettext will have both gettext-native and gettext available, and we don't want to use older macros from the target gettext in a non-gplv3 build, so kill them and let dependent recipes rely on gettext-native. [YOCTO #5964] Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-19Upgrade to systemd 211+Khem Raj
Fixes [YOCTO #5940] Fix checks for %ms format to be a link time check runtime checks wont work in cross compiling Add a patch to workaround missing _SC_PHYS_PAGES in uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17gettext: upgrade from 0.18.3.1 to 0.18.3.2Chen Qi
Upgrade gettext from 0.18.3.1 to 0.18.3.2. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17packagegroup-core-tools-testapps: added connman tools and testsCristian Iorga
Added connman-tools and connman-tests packages. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17packagegroup-core-tools-testapp: added 3G toolsCristian Iorga
Added ofono tests package. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17util-linux: scanf_cv_alloc_modifier changed from 'as' -> 'ms'Khem Raj
This patch actually makes sense for uclibc more than glibc since if we did not cache scanf_cv_alloc_modifier configure test will determine it correctly for glibc but the test does not do proper job when uclibc is involved the reason is it depends on define __GLIBC_ and uclibc unfortunately poses as glibc and defines this variable. %m is implemented in uclibc as well and we enable it so caching value of 'ms' specifier is going to work across all libcs This fixes mounting errors we see with util-linux/mount on uclibc/systemd Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: /proc/self/mountinfo: parse error: ignore entry at line 21. Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: /proc/self/mountinfo: parse error: ignore entry at line 22. Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: can't find / in /etc/fstab Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17glib-2.0: Fix localedir expectations for uclibcKhem Raj
DATADIRNAME is used by many applications using autotools to install locale data, we get a wrong value for uclibc systems since it does not recognise it as proper linux systems and start putting locale info in /usr/lib instead of /usr/share Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17uclibc: Remove iconv.hKhem Raj
We get it from libiconv on uclibc anyway no need to transplant uclibc one Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17uclibc: Implement clock_adjtime()Khem Raj
systemd needs it Also update to latest master Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-13eglibc: Update SRC_URI to point to final download locationKhem Raj
We have been using interim location for the src_uri now the tarballs are placed in usual location so update the src_uri accordingly Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>