aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2016-01-25New lib module for handling GPG signingMarkus Lehtonen
Add a new Python module (oe.gpg_sign) for handling GPG signing operations, i.e. currently package and package feed signing. The purpose is to be able to more easily support various signing backends and to be able to centralise signing functionality into one place (e.g. package signing and sstate signing). Currently, only local signing with gpg is implemented. [YOCTO #8755] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-22classes/populate_sdk_ext: add option to bring in pkgdata for worldPaul Eggleton
Add a variable SDK_INCLUDE_PKGDATA which you can set to "1" to include pkgdata for all recipes in the world target. There are a couple of uses for this: 1) If you use "devtool add" to add a recipe that builds something which depends on anything in world, the dependency can then be correctly mapped to the recipe providing it and that recipe can be added to DEPENDS, since we have the pkg-config and shared library dependency data within pkgdata. 2) You'll be able to search for these recipes and any files they package for the target with "devtool search" since that also uses pkgdata This of course assumes you've tailored world through EXCLUDE_FROM_WORLD to only include recipes you'd want built in your distro, but I think that's a reasonable assumption; failing that there is a WORLD_PKGDATA_EXCLUDE variable that you can set to exclude any recipes you don't want. Note that this patch relies on functionality implemented in a recent BitBake patch and will not work without it. Implements [YOCTO #8600]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-22glib-2.0: Fix locale location on muslKhem Raj
gettext.m4 macro does not detect musl triplets and falls back to ${libdir}/locale It ends up with lot of packging warning "files installed but not packaged" Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22console-tools: Fix header inclusion when not using glibcKhem Raj
It did differentiate on features in libc but assumed always glibc this patch make that assumption clear Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22uclibc: Update to 1.0.11Khem Raj
changes are here http://mailman.uclibc-ng.org/pipermail/devel/2016-January/000665.html Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22bsd-headers: Package cdefs.hKhem Raj
Its used in several packages Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22musl: Create ld.so as a relative symlinkKhem Raj
We have rootfs intercepts which fail on musl because ld.so on musl is an absolute symlink to /usr/lib/libc.so and then it fails to load when run with qemu user mode. Fixes rootfs failures like WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for details! WARNING: The postinstalls for the following packages will be postponed for first boot: libgdk-pixbuf-2.0-loader-jpeg li bgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif libgdk-pixbuf-2.0-loader-xpm WARNING: [log_check] core-image-sato: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for details! WARNING: [log_check] core-image-sato: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The postinstalls for the following packages will be postponed for first boot: libgdk-pixbuf-2.0-lo ader-jpeg libgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif libgdk-pixbuf-2.0-loader-xpm Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22fts: Fix linker hash-style optionKhem Raj
pass --hash-style explicitly to linker and ensure that mips does not use gnu hash style This inoculates fts when compiler does not pass hash style option e.g. clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22systemd: Skip parsing on musl based targetsKhem Raj
systemd on musl doesn't yet work even though we have patches to make it compile it fails to run, therefore lets skip building it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22bsd-headers,musl: Add recipe for bsd missing featuresKhem Raj
let musl depend on these headers so they are staged along with libc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22console-tools: Include sys/types.h for u_char and u_short defsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22packagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only caseKhem Raj
This package is not provided by non-glibc libcs therefore add it only when libc is glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22util-linux: Fix ptest builds on muslKhem Raj
musl doesnt implement error() API, hence provide one Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22libcgroup: Add dependency on fts when building on muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22fts: Add recipeKhem Raj
fts is not implemented in musl but many packages depend on it glibc implements it even though posix does not requir it to do so. So provide an alternative provider for fts Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22build-appliance-image: bump version to 14.0.0Alexander Kanavin
Bumping to 14.0 was incorrect: upstream version tag is 14.0.0. This change is done solely to improve accuracy of RRS version reporting. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22glib-2.0: fix the ptestRoy Li
1. the ptest should not be run by root user, otherwise test_stdio_wrappers will failure since root can enter any dir without exec permission, but the ptest expect the failure 1_2.44.1-r0/glib-2.44.1/glib/tests/fileutils.c:864:test_stdio_wrappers: assertion failed: (errno == EACCES) 2. if X11 DISTRO_FEATURE is not enabled, not run gdbus-serialization.test #dbus-launch --autolaunch=7df84bc5a72041a581d2f44505e7e882 --binary-syntax --close-stderr Autolaunch requested, but X11 support not compiled in Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-20udev: Add 2 patches to support 4.4 kernelSaul Wold
These 2 patches are needed to build udev with the 4.4 kernel, the first mtd-probe adds back a stdint.h header that was removed in the kernel's mtd-user.h header file. The second adds a check for a new header and sets a Makefile variable to determine which header to use for the new kernel vs older kernels. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-20kexec: update supported architecture listMaxin B. John
Now, kexec is supported in mips, aarch64 and most of the machines within powerpc family. So, remove those architecture specific restrictions. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-19ncurses: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-19build-appliance-image: bump version to 14.0Alexander Kanavin
This is done to make recipe version reporting tool happy. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-19uclibc: remove a use of immediate expansion and oe_filter_out ()Joshua Lock
The remove overrides syntax is much clearer here, and more closely matches the preferred style for modern metadata. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-19coreutils: Add xattr PACKAGECONFIGScott Ellis
From Yocto poky where it also stops this warning WARNING: QA Issue: coreutils rdepends on libattr, but it isn't a build dependency? [build-deps] Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
2016-01-17glib-2.0: add dependency glib-2.0-native backKai Kang
It uses command glib-genmarshal to build glib-2.0 which is from glib-2.0-native. If the command doesn't exist on host, build fails with error: | /bin/sh: --prefix=test_marshal: command not found | make[4]: *** [testmarshal.c] Error 127 So add the dependency back. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-16ncurses: 5.9 0 -> 6.0Dengke Du
To be compatible with ncurses 5, add option '--with-abi-version=5' to EXTRA_OECONF Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-16glibc-initial.inc: use relative path to run configureRobert Yang
Avoid potential build path in output files. [YOCTO #8894] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2016-01-13util-linux: create util-linux-runuser iff pam in DISTRO_FEATURESIoan-Adrian Ratiu
If pam is not present in DISTRO_FEATURES, then exclude util-linux-runuser from PACKAGES to avoid its libpam dependency. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-11util-linux: create util-linux-runuser packageIoan-Adrian Ratiu
Split runuser into its own package (previously provided by util-linux). runuser is compiled only when DISTRO_FEATURES includes pam and also the package is created only when runuser exists. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-11dbus: support large-file for stat64Hongxu Jia
While starting dbus-daemon on a 32-bit linux host and it invokes fstat to load /etc/dbus-1/system.conf through NFS. If system.conf was created with a large indoe number on 64-bit host. The above fstat invoking failed. Here is the log of strace: ............ $ ls -i /etc/dbus-1/system.conf 53778558109 /etc/dbus-1/system.conf $ strace /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation |open("/etc/dbus-1/system.conf", O_RDONLY) = 4 |fstat64(4, {st_mode=S_IFREG|0644, st_size=3340, ...}) = 0 |close(4) = 0 |close(3) = 0 |write(2, "Failed to start message bus: Fai"..., 109Failed to start message bus: Failed to stat "/etc/dbus-1/system.conf": Value too large for defined data type |) = 109 |exit_group(1) = ? |+++ exited with 1 +++ ............ In this situation, we should support large-file for stat64. Add marco AC_SYS_LARGEFILE to do the detection at configure time. It can be disabled by configuring with the `--disable-largefile' option. [YOCTO: #8863] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-11systemd: arrange for volatile /etc/resolv.confChristopher Larson
On sysvinit systems, volatiles is configured to make /etc/resolv.conf symlink to a file in a volatile path, which lets us write to /etc/resolv.conf for read-only-rootfs. For systemd, this isn't set up unless we enable systemd-resolved, which we don't by default. When it's not enabled, create the /etc/resolv.conf symlink and ensure the volatile path is created on boot with tmpfiles.d. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-11systemd: add myhostname to nsswitch.confChristopher Larson
We don't need nss-myhostname on systemd systems, because systemd already provides myhostname, but we weren't configuring nsswitch to use it. Being able to resolve the hostname is useful for a number of different applications, so enable it using the same postinst/prerm bits which are in nss-myhostname. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-11uclibc: Upgrade to 1.0.10Khem Raj
Drop upstreamed patches Seems to fix parallel build race with locales Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-07readline: move inputrc into readlineJoseph A. Lutz
inputrc is the global configuration file for the readline library. Signed-off-by: Joseph A. Lutz <joseph.lutz@novatechweb.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-07libjpeg: Replace libjpeg with libjpeg-turboMaxin B. John
Moving libjpeg-turbo from meta-oe as a replacement for libjpeg package. libjpeg-turbo has same API/ABI as libjpeg. It is relatively faster in JPEG compression/decompression than libjpeg. libjpeg-turbo doesn't support x32 ABI. Work around missing x32 ABI support by building with "--without-simd" option. Move to recipes-graphics [RB] [YOCTO #8628] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-07expat: CVE-2015-1283Zhixiong Chi
Add CVE-2015-1283 patch for fixing integer overflow bug in expat. Details are at below link: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1283 Patch comes from: https://hg.mozilla.org/releases/mozilla-esr31/rev/2f3e78643f5c https://codereview.chromium.org/1224303003 Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-07systemd: enable compatibility libraries by defaultRoss Burton
Too many packages haven't been updated to use the new systemd library names, so enable the compatibility libraries by default. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-07systemd: add more compression and importd PACKAGECONFIGsRoss Burton
Add explicit PACKAGECONFIGs for all of compression formats that systemd can detect at configure time, and an explicit enable/disable for importd. importd defaults to disabled as it needs curl and all the compression formats to be enabled. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-05udev-extraconf: introduce multiple blacklist files for more complex setupsJens Rehsack
In cases where a target image wants prevent the recovery partition is mounted automatically, but the recovery partition identifier moves with the device (internal flash, sd card, usb stick, ...), device/machine dependend extra blacklists might be desired. The grep utility prints the file name for each match when there is more than one file to search. Add -h to suppress the prefixing of file names on output. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-05uclibc: disable parallel buildsRoss Burton
There appears to be a parallel make race in uclibc: GEN /extra/locale/locale_collate.h xargs: ../..//extra/locale/gen_collate: Text file busy make[1]: *** [../..//extra/locale/locale_collate.h] Error 126 As uclibc is slated to be removed in the 2.1 cycle let's just disable parallel building for now. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-05packagegroup-core-boot:replace busybox to variableAlejandro Joya
It replaces the use of busybox as hardcoded dependency to more dynamic this wouldn't affect the way that the system is build only it let a more flexible replacement in the core. Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-05initramfs-framework_1.0:replace busybox for variable.Alejandro Joya
It replaces the use of busybox as hardcoded dependency to more dynamic this wouldn't affect the way that the initrams is build, just it let a more flexible replacement in the core. Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-05core-image-minimal-initramfs: replace base-utilsAlejandro Joya
It replaces the use of busybox as hardcoded dependency to more dynamic this wouldn't affect the way that the system is build only it let a more flexible replacement in the core. Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-27busybox: generalize recipe to work with arbitrary install directoriesMatthias Schiffer
Allow configuring base_bindir, base_sbindir, bindir and sbindir arbitrarily. Also change the temporary symlinks created in the postinst script from relative to absolute to make the code simpler and more flexible. There was no reason to use relative links anyways, as directly afterwards update-alternatives would replace them by absolute links anyways. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-27util-linux: Fix floating dependency upon 'readline'Otavio Salvador
The configure script checks for 'readline' availability and enables it, if available. Now, a PACKAGECONFIG (readline) controls the feature. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-27ncurses: fixes wrong paths in BINCONFIGMing Liu
* Removes ncurses-config from BINCONFIG, that file does not exist at all. * Adds in ncurses5-config and ncursesw5-config to BINCONFIG. This fixed following warnings during SDK install: warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncurses5-config conflicting with ncurses-dev-5.9-r15.1@core2_64 warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncursesw5-config conflicting with ncurses-dev-5.9-r15.1@core2_64 [YOCTO #8801] Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-27ifupdown: update to 0.8.2Alexander Kanavin
Switch upstream to git, as old versions can disappear from archive.ubuntu.com Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2015-12-22systemd: remove merge conflicts accidently left inRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-22gettext: Upgrade 0.19.4 -> 0.19.6Fan Xin
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-18nativesdk-buildtools-perl-dummy: Bump PRRichard Purdie
Recent changes to this recipe caused automated PR increments to break, regressing package feeds. The only way to recover is to bump PR, so do this centrally to fix anyone affected. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16systemd: Upgrade to 228Khem Raj
Forward port all patches and format them to be git am'able Drop patches specific to uclibc's missing features which now are there in uclibc-ng Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>