aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2016-08-10sysvinit-inittab_2.88dsf.bb: Allow aliasing with SERIAL_CONSOLES_CHECKCalifornia Sullivan
With some hardware the name of the device node and the name in /proc/console differ. This causes SERIAL_CONSOLES_CHECK to not enable working consoles in these cases. This patch changes SERIAL_CONSOLES_CHECK to have an optional alias for the checked consoles. The new format is: <device>:<alias to check(optional)> Fixes [YOCTO #9440]. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-10util-linux: make prlimit a separate packagePascal Bach
Busybox doesn't provide a similar tool so having it in a separate package allows to us it in addition to busybox without having to include all of util-linux. Before it was part of the top level util-linux package. Now it is a separate package util-linux-prlimit but the top level package still RRECOMMENDS it so for most users nothing should change. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-07glibc: Switch to 2.24 release branchKhem Raj
glibc 2.24 is released now https://www.sourceware.org/ml/libc-alpha/2016-08/msg00212.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-08-01netbase: use snapshot.debian.org for SRC_URIMaxin B. John
Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will only contain releases that are currently in Debian. So, move all of SRC_URI to the .bb so it can use snapshot.debian.org instead, and set UPSTREAM_CHECK_URI to ${DEBIAN_MIRROR} so upstream release checking continues to work. [YOCTO #10040] Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-01readline: don't install readline C examplesAndré Draszik
They are unlikely to be of any use in the target file system. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01busybox-syslog.default: When systemd is enabled don't use circular bufferAníbal Limón
Busybox syslog uses a shmmem circular buffer [1][2] when launch with -C option when systemd (is enabled) takes the control of syslog messages and then forward the messages to busybox syslog daemon, systemd journald don't usage of shmmem circular buffer. If -C is specified busybox-syslog never be able to read the forwarded messages from systemd journald and don't wrote it to /var/log/messages. This file is only installed when systemd is enabled [3]. [1] https://git.busybox.net/busybox/tree/sysklogd/syslogd.c?h=1_24_stable#n464 [2] https://git.busybox.net/busybox/tree/sysklogd/logread.c?h=1_24_stable#n82 [3] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/busybox/busybox.inc#n295 Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01dropbear: upgrade to 2016.74Maxin B. John
2016.73 -> 2016.74 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01update-rc.d: Correct trivial typo in DESCRIPTION line.Robert P. J. Day
"utilities" -> "utility" Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25classes/populate_sdk_ext: allow including toolchain in eSDK on installPaul Eggleton
If we're to completely replace the standard SDK with the extensible SDK, we need to be able to provide the standard toolchain on install without doing anything other than installing it, so that you can install the SDK and then point your IDE at it. This is particularly applicable to the minimal SDK which normally installs nothing by default. NOTE: enabling this option currently adds ~280MB to the size of the minimal eSDK installer. If we need to reduce this further we would have to look at adjusting the dependencies and/or the sstate_depvalid() function in sstate.bbclass which eliminates dependencies, or look at reducing the size of the artifacts themselves. Implements [YOCTO #9751]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-25meta-extsdk-toolchain: add meta-recipe to install toolchain into eSDKPaul Eggleton
Add a meta-recipe to bring the toolchain into the extensible SDK. This was modelled on meta-ide-support but some adjustments were needed to the dependency validation function in sstate.bbclass to ensure that all of the toolchain gets installed into the sysroot. With this, after installing a minimal eSDK you only need to run the following after sourcing the environment setup script to get the toolchain: devtool sdk-install meta-extsdk-toolchain Addresses [YOCTO #9257]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-25musl: don't compile in mips16e modeAndré Draszik
musl contains hand-written assembly which is not compatible with the MIPS16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25uclibc: removeRoss Burton
uclibc is showing its age now and upstarts like musl are approximately the same size but with far more features and active maintainers. Remove uclibc from oe-core and use endorse musl as the lighter alternative to full-fat glibc. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25gettext-minimal-native: 0.19.4 -> 0.19.8.1Robert Yang
How to upgrade gettext-minimal-native: - Build gettext-native - Copy gettext-runtime/po/Makefile.in.in, build-aux/config.rpath and gettext-runtime/po/remove-potcdate.sin from gettext-native. - Update COPYING when needed (usually update the year), do not copy the whole COPYING file from gettext-native. - Go to gettext-native's ${S}/gettext-runtime/m4: > Remove lt*.m4 and libtool.m4 > copy lib-ld.m4 lib-link.m4 lib-prefix.m4 from ${S}/gettext-runtime/gnulib-m4/ > tar czvf /path/to/aclocal.tgz *.m4 Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-25gettext: 0.19.6 -> 0.19.8.1Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-21glibc: Update to 2.24 after hard-freezeKhem Raj
Drop upstreamed patch 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>
2016-07-21initrdscripts/init-install*: Select install target instead of looping throughCalifornia Sullivan
Its not immediately apparent that more than one install target could be available. With this change we list the available devices up front then prompt the user for which one to use, reducing confusion. Fixes [YOCTO #9919]. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-20musl: Fix mips regressions in 1.1.15Khem Raj
Bobby Bingham (2): remove or1k version of sem.h remove obsolete gitignore rules Rich Felker (4): remove obsolete and unused gethostbyaddr implementation fix asctime day/month names not to vary by locale fix regression in tcsetattr on all mips archs revert unrelated change that slipped into last commit Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20glibc: use the host locale archive in nativesdk buildsRoss Burton
The nativesdk libc when used by buildtools has a hard requirement on supporting a UTF-8 locale because Python 3 needs a UTF-8 locale. However we currently only ship the C locale, which means that Python attempts to lookup the user's locale (for example, en_NZ.UTF-8) in the locale archive under it's prefix it fails and falls back to C. This the results in Python using ASCII instead of UTF-8 for file encoding, and bitbake breaks. Th obvious solution would be to ship all locales, but this would add approximately 250MB to the size of the buildtools tarball (which is currently around 30MB). Generating a binary locale archive reduces this down to 100MB, but this is still a drastic increase in footprint. If we ship a subset of locales in the tarball then there will be users whose locale isn't in the tarball, and they'll have to change their locale to an "approved" one, which isn't the best of messages to send to new users. The alternative is to tell the nativesdk libc that the locale archive isn't under it own prefix but is in fact at /usr/lib/locale/locale-archive, so the buildtools libc uses the host locale archive. The locale archive format appears to be at least fairly stable: our glibc 2.24 can read the locale archive generated by glibc 2.17 (Centos 7). [ YOCTO #9775 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20expat: Upgrade 2.1.1 -> 2.2.0Jussi Kukkonen
Remove a patch that is no longer needed. License checksum changes because of a copyright year change. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20packagegroup-core-tools-testapps: remove Piglit temporarilyRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20initramfs-framework: make rootfs module optionalPatrick Ohly
It still gets installed by default via RRECOMMENDS without having to update users of the framework (because without it, the framework is incomplete), but that recommendation can be overridden on a per-image basis. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gettext_0.16.1: remove useless files to avoid sysroot conflictsChen Qi
Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts with gettext-native-minimal. [YOCTO #9890] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchainTom Hochstein
The build tool wayland-scanner was missing from the native toolchain of the Yocto Project SDK build. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12glibc: add more Imagination Meta relocation to elf.hRoss Burton
glibc master added the EM_METAG tag but didn't add the relocation defines. However the kernel tooling only checks for EM_METAG when defining its own values so scripts/recordmcount ends up using R_META_* symbols without their definition. Whilst the kernel can and should be fixed, this breaks all users of recordmcount so patch elf.h to add the values. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12glibc: Upgrade to latest tip of masterKhem Raj
- libc-package.bbclass: Do not use --old-style This option has been dropped from latest glibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12musl: Update to v1.1.15 releaseKhem Raj
here is shortlog of changes http://git.musl-libc.org/cgit/musl/commit/?id=faf69b9a73d09fafcbe4fd3007b8d8724293d8e1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08initramfs-framework: Add support for PartUUIDsIgor Stoppa
The rootfs can be addressed also by referring to the PartUUID value from the GPT. This patch enables such type of reference. Signed-off-by: Igor Stoppa <igor.stoppa@intel.com> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08initramfs-framework: add retry loop for slow boot devices (like USB)Patrick Ohly
On some hardware platforms (Gigabyte, qemu), detection of USB devices by the kernel is slow enough such that it happens only after the first attempt to mount the rootfs. We need to keep trying for a while (default: 5s seconds, controlled by roottimeout=<seconds>) and sleep between each attempt (default: one second, rootdelay=<seconds>). This change intentionally splits finding the rootfs (in the new "rootfs") and switching to it ("finish"). That is needed to keep udev running while waiting for the rootfs, because it shuts down before "finish" starts. It is also the direction that was discussed on the OE mailing list for future changes to initramfs-framework (like supporting a "live CD" module, which would replace or further augment mounting of the rootfs). Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08gettext: fix for low-version recipeChen Qi
Make gettext-native in 0.16.1 recipe provides virtual/gettext-native like what gettext-native in 0.19.6 recipe does. Otherwise we would fail to start to do a world build if gettext and gettext-native are set to the low version. Error message is like below. ERROR: Multiple versions of gettext-native are due to be built Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08meta: update patch metadataRoss Burton
Enforce the correct tag names across all of oe-core for consistency. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01uclibc: re-enable verbose compilationAndré Draszik
uClibc-ng swapped the meaning of V=1 and V=2 in 2015 before the 1.0.3 release. Before that, V=2 printed the full commands while V=1 printed the abbreviated versions. This recipe was never updated to follow the change and we since see brief build output only. At the same time, convert V from an environment variable to a make variable by adding to EXTRA_OEMAKE, so as to be in line with how things are done in other recipes that use kbuild. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01uclibc: backport patch to fix gdb 7.11 compilationAndré Draszik
[YOCTO #9781] Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01glib: disable valgrind support when compiling in mips16e modeAndré Draszik
| mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -msoft-float \ | -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec \ | -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. \ | -I<glib>/glib -I.. -I.. -I../glib -I<glib>/glib -I<glib> \ | -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION \ | -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes \ | -Werror=declaration-after-statement -Werror=missing-prototypes \ | -Werror=implicit-function-declaration -Werror=pointer-arith \ | -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs \ | -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types \ | -c <glib>/glib/gslice.c -fPIC -DPIC -o .libs/libglib_2_0_la-gslice.o | {standard input}: Assembler messages: | {standard input}:2485: Error: invalid operands `move $11,$8' | {standard input}:2487: Error: invalid operands `srl $0,$0,13' | {standard input}:2488: Error: invalid operands `srl $0,$0,29' | {standard input}:2489: Error: invalid operands `srl $0,$0,3' | {standard input}:2490: Error: invalid operands `srl $0,$0,19' | {standard input}:2491: Error: invalid operands `or $13,$13,$13' | Makefile:2076: recipe for target 'libglib_2_0_la-gslice.lo' failed The alternative would probably be to force compilation in normal mips mode for all of glib (as is done for armv4 and armv5). While that would retain the valgrind support, valgrind support itself shouldn't be needed on the target device, and we rather keep the mips16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01uclibc: don't compile in mips16e modeAndré Draszik
uClibc contains hand-written assembly which is not compatible with the MIPS16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01musl: Upgrade to tipKhem Raj
Rich Felker (4): fix undefined pointer arithmetic in CMSG_NXTHDR macro fix a64l undefined behavior on ILP32 archs, wrong results on LP64 archs avoid padding gaps in struct sockaddr_storage remove comments on copyright status from UTF-8 implementation files Szabolcs Nagy (8): fix the use of uninitialized value in regcomp add preadv2 and pwritev2 syscall numbers for linux v4.6 add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6 add ETH_P_MACSEC netinet/if_ether.h, new in linux v4.6 update siginfo struct for linux v4.6 add CLONE_NEWCGROUP clone flag, new in linux v4.6 add new tcp_info fields from linux v4.6 update sys/socket.h to linux v4.6 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01systemd: upgrade to 230Chen Qi
Patches are rebased or removed for the latest version. Python testing scripts are removed for systemd-ptest as systemd is configured with '--without-python'. systemd-bootchart is now seprated from systemd, thus removing the related configuration items. And we add systemd-bootchart recipe. [ systemd-bootchart: add missing distro features check - RB ] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01util-linux: upgrade to 2.28Chen Qi
Related patches are rebased. util-linux-ng-2.16-mount_lock_path.patch is removed because there's no _PATH_MOUNTED_LOCK in the latest codes. util-linux-native.patch is removed because 2.28 version of util-linux has taken mkostemp into consideration and provide fallback if mkostemp fails. avoid_unsupported_sleep_param.patch is removed and coreutils is added as a runtime dependency to util-linux-ptest to solve the same problem. avoid_unsupported_grep_opts.patch is removed and grep is added as a runtime dependency to util-linux-ptest to solve the sanme problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin
STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23initramfs-framework: base: Ensures /run/lock is availableOtavio Salvador
Depending on the module we use, the /run/lock may be required. This creates it as part of initial setup and thus makes it available for every sub module. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23initramfs-framework: mdev: Add a runtime dependency on busybox-mdevOtavio Salvador
The mdev support relies on the mdev support inside busybox, which thus builds the busybox-mdev package. Adding the runtime dependency ensures its installation fails if mdev support is disabled. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23dbus/dbus-test: upgrade to 1.10.8Chen Qi
0001-configure.ac-support-large-file-for-stat64.patch is removed as it's a backported patch and is already in the latest codes. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23packagegroups: use new gst-player package nameRoss Burton
The package that the gst-player binary is in has changed from gst-player-bin to gst-player. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23expat: CVE-2016-0718Yi Zhao
Fix CVE-2016-0718: expat XML parser crashes on malformed input External References: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0718 https://bugzilla.redhat.com/show_bug.cgi?id=1296102 https://bugzilla.suse.com/show_bug.cgi?id=979441 Patch from: https://bugzilla.redhat.com/show_bug.cgi?id=1296102 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-21build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17packagegroup-self-hosted: add back Python 2Ross Burton
Some recipes depend on Python 2 being present (eg glib and ncurses) so until they've all been migrated to Python 3 we should continue to ship Python 2 in the self-hosted packagegroup. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Add LC_ALL setting and drop pseudo piecesRichard Purdie
The pseudo pieces here date from times gone by when bitbake ran in two phases. Its long since obsolete and can be dropped. Also set LC_ALL so that bitbake works correctly and uses the local we're already installing into the image so we have utf-8 available. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Install network componentsJuro Bystricky
Explicitly add network components into Build Appliance image, do not rely on packagegroup-self-hosted to pull them in. Network related dependencies were removed from packagegroup-self-hosted. YOCTO #9758 Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15packagegroup-self-hosted: Remove unused theme, use Adwaita iconsJussi Kukkonen
GTK+3 default theme is included in GTK+3. The corresponding GTK+2 theme would be in gnome-theme-adwaita, but the packagegroup does not have GTK+2 apps anymore. Also move icons to -graphics package. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>