aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-02-17useradd.bbclass: avoid do_rootfs error for debian package backendChenQi/CONFFILESChen Qi
If /etc/login.defs is treated as a configuration file, then we would meet errors at do_rootfs time telling us that useradd/groupadd cannot execute correctly. This is because the dpkg handles config file specially, the login.defs is temporarily renamed as login.defs.dpkg-new. How ubuntu deals the user/group adding problem? They do it at postinst of the package. And, the postinst script of a package would possibly do `chown' of its files or directories. The above strategy is not suitable for OE. Because we do chown in do_install and add user/group in preinst scripts of the packages. That's why we need this patch so that do_rootfs don't fail. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-02-17update-rc.d: use '-f' option in updatercd_postrmChen Qi
Use '-f' ('--force') option so that while removing packages using deb, we don't fail because of the following error: update-rc.d: $initd/$bn exists during rc.d purge (use -f to force) Using '-f' option would make this a warning but continue to execute. update-rc.d: $initd/$bn exists during rc.d purge (continuing) We need this option because dpkg package backend have special handling for configuration files. And if files under /etc/init.d are treated as configuration files, we will have errors. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-02-17package_manager.py: use 'purge' instead of 'remove' in case of debChen Qi
We need to use 'purge' instead of 'remove' for debian package backend when removing packages at rootfs time. This is because that 'remove' command for 'dpkg' and 'apt-get' does not remove configuration files. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-02-17packaging: allow globs in CONFFILESChen Qi
Allow globs in CONFFILES. This patch changes the way of CONFFILES handling. After this change, the CONFFILES can take the same form as FILES. That means, we don't have to list a bunch of files for CONFFILES. It will just be expanded like the FILES variable. We don't assume default value for CONFFILES in OE. But distro vendors could provide a default value for CONFFILES in their distro configuration file like below. CONFFILES = "${sysconfdir}" In this way, files under /etc are treated as configuration files by default. Of course, setting CONFFILES in recipes take precedence over the CONFFILES. For example, if the recipe author decides that package A should only treat files under ${sysconfdir}/default/ as config files, he/she can write like this. CONFFILES_A = "${sysconfdir}/default" [YOCTO #5200] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-02-15syslinux: support ext2/3/4 deviceRobert Yang
* Support ext2/3/4 deivce. * The open_ext2_fs() checks whether it is an ext2/3/4 device, do the ext2/3/4 installation (install_to_ext2()) if yes, otherwise go on to the fat/ntfs. * The ext2/3/4 support doesn't require root privileges since it doesn't need mount (but write permission is required). Next: * Get rid of fat filesystem from the boot image. These patches have been sent to upstream, we may adjust them (maybe put the extX support to syslinux-mtools), I will go on working with the upstream. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-15e2fsprogs: Extend to add nativesdk for syslinuxRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-15gcc: Upgrade 4.9.1 -> 4.9.2Khem Raj
Delete backported patch which are present in 4.9.2 backport patched from upstream gcc trunk to fix [YOCTO #6824] Change-Id: Ia0067940471d4c5d9d62089bf6f18f3a9c2bfedd Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-02-15gst-plugins-base: Fix mulitlib packagingRichard Purdie
Updated FILES to contain MLPREFIX since this is a dyanmic assignment and cannot automatically be fixed. ERROR: QA Issue: lib32-gstreamer1.0-plugins-base: Files/directories were installed but not shipped /usr/share/gst-plugins-base/1.0/license-translations.dict [installed-vs-shipped] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-15openssl: upgrade to 1.0.1kMaxin B. John
Upgrade includes 8 CVE bug fixes Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-15oeqa/ptest: Removed buildhistory as requirement for ptestLucian Musat
Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-15libassuan: add native buildAndreas Müller
libassuan-native is required for gpgme-native - introduced in next patch Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-15gpgme: fix configuration by setting proper parameters instead of patchingAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14oeqa/smart: Added some new test casesLucian Musat
Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14build-compare: Add the build-compare_git.bb recipe.Randy Witt
The description for build-compare describes it as "This package contains scripts to find out if the build result differs to a former build." More specifically this contains a script that will display differences between "packages." It works with rpms, tarballs and other various types of packages. The idea is that it will eventually be used in Yocto to check for differences between sstate so that we can check for build reproducibility. It will also be used once an updateable sdk is in place, so that packages that have different hashes but are not different in contents, don't get updated. It could also be used in the same manner when updating packages from a package feed. [Yocto #6992] Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14coreutils 6.9: fix unknown-configure-optionRobert Yang
Fixed: WARNING: QA Issue: coreutils: configure was passed unrecognised options: --disable-acl [unknown-configure-option] It doesn't support --enable-acl or --disable-acl, use ac_cv_header_acl_libacl_h to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14libnewt-python: remove make var LIBNEWTSHKai Kang
Var LIBNEWTSH which points to libnewt.so in STAGING_LIBDIR is passed to make. But during do_compile, LIBNEWTSH is rebuilt. Check the log that gcc populates file into STAGING_LIBDIR directly: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/poky/builds/build/tmp/sysroots/qemux86 -shared -o /poky/builds/build/tmp/sysroots/qemux86/usr/lib/libnewt.so.0.52.18 ... It is not a proper operation export file into STAGING_LIBDIR during compile. So remove the var LIBNEWTSH. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14icu: remove obsolete aclocal.m4 workaround (fixed upstream since v52.1)Andre McCurdy
Patch also includes some minor formatting cleanup of icu.inc. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14libaio: Backport generic arch detection patchNathan Rossi
* Backport the patch which adds generic architecture detection * Remove the no longer required patch to fix padding for mips64 Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14meta: enable parallel build for several recipesRobert Yang
I used a for loop to build these packages more than 520 times, these recipes never failed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14vala.bbclass: enable PARALLEL_MAKERobert Yang
The midori is built well now. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14pcmciautils: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14ghostscript: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14blktrace: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14openssl: fix and enable parallel buildRobert Yang
Fixed: Cannot create directory image/usr: File exists make: *** [install_sw] Error 17 Create /usr to avoid race issues. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14pth: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14mtools: fix and enable parallel buildRobert Yang
Fixed do_install error: mkdir: cannot create directory `/path/to/image/usr': File exists mkdir: cannot create directory `/path/to/image/usr/share': File exists Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14at: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14tcp-wrappers: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14bind: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14openssl: Add mapping for microblaze architectureNathan Rossi
Map the microblaze architecture to the linux-generic32 target. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14btrfs-tools: remove nodocs.patchRobert Yang
It isn't used anymore, the docs is disabled by DISABLE_DOCUMENTATION=1. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14neard: do not ship version.hRobert Yang
The HEADERS' name has been changed to pkginclude_HEADERS, so use nodist_pkginclude_HEADERS, otherwise version.h would be shipped. It would cause other pkgs failed to build if ship version.h to usr/include/version.h Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14gcc-sanitizers: check gcc-build-internal before linkRobert Yang
The ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget may not exist when use the external sdk toolchain, we need check before link for it. Fixed: run.do_configure.12538: 149: cd: can't cd to sysroots/x86_64-linux/usr/include/gcc-build-internal-x86_64-wrs-linux (LOCAL REV: NOT UPSTREAM) -- Sent to oe-core on 20150204 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14rt-tests: fix gzip commandRobert Yang
The "-c" doesn't work in command "gzip file -c", need use "gzip -c file" Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14libtool: don't execute automake and autoconf on every invocationRobert Yang
From the origin commit message: Regression from 2.4.2 was causing noticable slow-down in builds that call libtool many times. * build-aux/ltmain.in (func_help): Override func_help() from gl/build-aux/options-parser to only run automake --version and autoconf --version when libtool --help is executed on the command line. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14Revert "libtool: avoid running automake/autoconf --version"Robert Yang
This reverts commit 1f53edeaf9ea59dd55459a6d5a93829fb4983839. There is a better fix on upstream, will backport it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14bluez5: upgrade to 5.28Peter A. Bigot
- Fixes to GATT service discovery & probing - Fix for bearer selection with dual-mode devices - Fix potential crash when removing devices - Fix issue with incomplete names in EIR data - Fix parsing GATT name characteristics - Fix AVCTP long press & key repetition handling - Fixes for GATT notification handling hex2hcd graduated to installed tool; two new noinst tools See: http://www.bluez.org/release-of-bluez-5-28/ Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14ofono: upgrade to 1.16Cristian Iorga
- Fix issue with PIN retry handling; - Fix issue with HFP and multiple calls; - Add support for Distracted Driving Reduction; - Add support for available technologies property; - Add support for Telit location reporting driver; - Add support for u-blox SARA-U270 modems; - Add support for Quectel UC15 modems. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
2015-02-14python-pycurl: 7.19.5 -> 7.19.5.1Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14python-scons: 2.3.2 -> 2.3.4Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14lttng-tools: 2.5.3 -> 2.6.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14libpciaccess 0.13.2 -> 0.13.3Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14lttng-ust: 2.5.2 -> 2.6.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14subversion: 1.8.10 -> 1.8.11Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14kexec-tools: 2.0.8 -> 2.0.9Richard Purdie
Adjust the patch since it was partially applied upstream (in a different form) but not completely since the ppc specific part was not applied. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14image: add new items to IMAGE_FEATURES[validitems] listSaul Wold
Add the new items to the validitems list, this is fully tested, initial testing had been done with a local change that did not make the original commit request [YOCTO #7308] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14gstreamer-plugins: don't ship files in ${PN}Ross Burton
${PN} generally should be empty as every file the GStreamer packages ship is owned by a particular plugin or library, so enforce this behaviour by unsetting FILES_${PN}. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14gst-plugins-good: ship equaliser presets in right packageRoss Burton
The equaliser presets were packaged into ${PN} which was rarely installed, so move the files to the right subpackage. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14gstreamer1.0-plugins-good: ship equaliser presets in right packageRoss Burton
The equaliser presets were packaged into ${PN} which was rarely installed, so move the files to the right subpackage. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14gstreamer1.0-plugins-base: move data to the right subpackageRoss Burton
The libgsttag library has a data file that was packaged in gstreamer1.0-plugins-base, so was never actually installed. Signed-off-by: Ross Burton <ross.burton@intel.com>