aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
...
* eglibc: Upgrade recipes 2.16 -> 2.17Khem Raj2013-01-2837-580/+78
| | | | | | | | | | | | | | | | | | | | Drop patches that are applied upstream Fix the license checksums for changes in LICENSES file the new changes add more copyright notices that were missing earlier Moving ports is no longer needed since ports is now part of libc proper Refresh tzselect-sh.patch to accomodate upstream changes C++ headers discovery relative to target sysroot is fixed differently upstream hence we drop use-sysroot-cxx-headers.patch aarch64 support is already available in 2.17 hence drop the local patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libcgroup: fix the QA issue for pam_cgroup.so*Xin Ouyang2013-01-281-2/+13
| | | | | | | | | | PAM modules in ${base_libdir}/security/ should be binary .so files, not symlinks, so fix this. Since pam_cgroup.so is installed into ${base_libdir}/security, move libcgroup.so.* to ${base_libdir} to avoid "unsafe-references-in-binaries" QA issue. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit & initscripts: use update-rc.dChen Qi2013-01-282-40/+32
| | | | | | | | | | Update-rc.d provides a cleaner interface for creating links for init scripts. So we use update-rc.d to replace the redundant 'ln -sf xxx' statements. [YOCTO #3708] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gettext: Fix build with uclibc remove upstreamed patchesKhem Raj2013-01-273-98/+0
| | | | | | | | uclibc specific patches are not needed now as they are available in 0.18.2 gettext now Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix evacuate_scripts for external toolchainsMarcin Juszkiewicz2013-01-271-1/+3
| | | | | | | | Not every external toolchain has mtrace/sotruss/xtrace scripts so check their existance first. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-scripts: don't package mtrace, RDEPEND on eglibc-mtrace instead, fix ↵Martin Jansa2013-01-271-3/+2
| | | | | | | | | | | | | | | | | | RDEPENDS * eglibc-mtrace and eglibc-scripts provide the same mtrace script * remove mtrace from eglibc-scripts and replace it with RDEPENDS * mtrace also needs perl (eglibc-mtrace has correct RDEPENDS), bash is for sotruss and xtrace * remove invalid RDEPENDS_ldd, ldd is now using /bin/sh and is not packaged by eglibc-scripts * fixes error in world-image build: * check_data_file_clashes: Package eglibc-mtrace wants to install file rootfs/usr/bin/mtrace But that file is already provided by package * eglibc-scripts Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package: remove infodir/dir if it existsMartin Jansa2013-01-271-0/+4
| | | | | | | | | | * fixes error in world-image build: * check_data_file_clashes: Package eglibc-doc wants to install file rootfs/usr/share/info/dir But that file is already provided by package * gcc-doc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git/uClibc.distro: Enable UCLIBC_HAS_REENTRANT_RPCKhem Raj2013-01-251-1/+1
| | | | | | | The renterant functions are needed by quota Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove usbutils dependancyJack Mitchell2013-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | V2: Dependancy was removed in version 196 according to following systemd commit. http://cgit.freedesktop.org/systemd/systemd/commit/configure.ac?id=796b06c21b62d13c9021e2fbd9c58a5c6edb2764 V1: No where in the systemd readme does it specify that usbutils is a dependancy of systemd. I can only guess that it was added due to an issue elsewhere in the chain or it was brought in when udev was merged and the dependancies never checked. I have build tested this with no issues. Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Split do_packagedata task from do_packageRichard Purdie2013-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Currently, do_rootfs has a dependency on all the do_package output being present due to its usage of the pkgdata directories. This means that if you run: bitbake xxxx-image -c rootfs you end up having to fetch and unpack all the do_package data which is usually large and inefficient. It also means rm_work has to leave all the do_package data lying around so rootfs works. This patch splits the actual creation of the pkgdata directory off into a separate task, "packagedata" which happens immediately after do_package. We can then remap the dependencies so this task is depended upon, not do_package. Sstate can then be programmed not to require do_package at the appropriate times. Whilst this patch doesn't do so, it opens the possibility of rm_work wiping out the do_package output from WORKDIR as long as it also removed the do_package stamp (both normal and setscene variants) and allowing more space savings with rm_work which has been regularly requested. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: move /media/xxx over to the real root filesystemChen Qi2013-01-251-0/+2
| | | | | | | | | | | | | | | | | | | Previously, the /media/xxx which contains the root image was not moved to be under the real root filesystem. Because of this, the output of the 'mount' command is somewhat confusing, that is, it has some mount point that is not even in the filesystem. Besides, on some machine, it caused the recovery procedure when we booted it next time. This patches fixes this issue by moving the /media/xxx over to be under the real root filesystem. [YOCTO #2064] [YOCTO #3705] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix build on ppcKhem Raj2013-01-242-0/+35
| | | | | | | | | | | | | | | | | | ppc discovers an interesting issue in linking systemd where a library is missing in link cmdline and linker barfs ./.libs/libsystemd-core.a(libsystemd_core_la-manager.o): In function `manager_check_finished': /builddir/build/BUILD/systemd-196/src/core/manager.c:2092: undefined reference to `sd_notifyf' collect2: error: ld returned 1 exit status For more info see https://bugzilla.redhat.com/show_bug.cgi?id=888255 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix build on uclibcKhem Raj2013-01-222-73/+83
| | | | | | | | Systemd has some uclibc specific patches which needed to be forwarded ported to 196 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Upgrades to latest gitKhem Raj2013-01-228-280/+89
| | | | | | | Drop upstream accepted patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove unused SERIAL_CONSOLE variableRoss Burton2013-01-211-2/+0
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-serialgetty: skip package when not using systemdRoss Burton2013-01-211-0/+6
| | | | | | | | | As this package RDEPENDS on systemd it wants to build systemd, but if systemd isn't a DISTRO_FEATURE then that package is skipped so world builds fail. Solve this by skipping this package too. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-serialgetty: remove redundant statementsRoss Burton2013-01-211-3/+0
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update uclibc patch headersRoss Burton2013-01-217-8/+8
| | | | | | | | Discussion has revealed that upstream has formally rejected patches to support uclibc, so mark this in the headers. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add missing patch headersRoss Burton2013-01-218-0/+22
| | | | | | | | The reverts were by Koen and are literal revert commits, the uclibc patches were mostly introduced by Khem. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use new GTKDOC_DOCDIR and clean upRoss Burton2013-01-211-6/+4
| | | | | | | | | Now that gtk-doc.bbclass supports overriding the documentation directory, systemd can just inherit gtk-doc and all of the manual operations can be removed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix typo in FILESRoss Burton2013-01-211-1/+1
| | | | | | | Accidently managed to corrupt FILES_udev. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: skip in systemd distros, to fix world buildsRoss Burton2013-01-211-0/+6
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: skip in non-systemd distros to fix world buildsRoss Burton2013-01-211-0/+8
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade to 1.6.8Cristian Iorga2013-01-218-8/+8
| | | | | | | dbus, dbus-ptest upgraded to v1.6.8 Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dropbear: Deal with truncated host keys by removing themHolger Hans Peter Freyther2013-01-202-1/+7
| | | | | | | | | | Dropbear does not start when the host key is empty and it is possible that a device is switched off before the host key is generated. This is possible because the dropbearkey code doesn't create a temporary file first. Detect truncated keys and then remove them which will lead to the re-generation. This way the dropbear process will always start. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-boot: only install initscripts if we're using sysvinitRoss Burton2013-01-201-2/+2
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: add fstab for systemd based systemsMartin Donnelly2013-01-202-1/+15
| | | | | | | | | | | The default fstab has entries which are not necessary in systemd based systems so add a simpler default in this case. Signed-off-by: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-boot: install systemd-compat-units on systemd imagesRoss Burton2013-01-201-0/+1
| | | | | | | systemd-compat-units is needed to run postinsts for example. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add systemd recipesRadu Moisan2013-01-2022-0/+1597
| | | | | | | | | | | | | | | | | Add systemd recipes and associated support recipes. Mostly based on meta-oe/meta-systemd, so almost all credit should go to: Andreas Müller <schnitzeltony@googlemail.com> Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Holger Hans Peter Freyther <holger@moiji-mobile.com> Khem Raj <raj.khem@gmail.com> Koen Kooi <koen@dominion.thruhere.net> Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: respect systemd distro featureRoss Burton2013-01-201-13/+14
| | | | | | | | Only configure for systemd if we are using systemd, and remove the dbus-systemd package by putting the service files into PN itself. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars: Add DISTRO_FEATURES_INITMAN to DISTRO_FEATURESRadu Moisan2013-01-201-1/+1
| | | | | | | | | | | | This is a more generic way to set the init manager since we plan to support other init managers as well. I will use this variable as a switch to turn on/off any init scheme that we might support in the future. By default we use sysvinit. Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-live-boot: handle multiple udev locationsRoss Burton2013-01-181-1/+19
| | | | | | | | | udevd isn't on $PATH and is in different places depending on what version of udev is being used. Copy the code from initramfs-framework to search for the right udevd at boot time instead of hard-coding a location. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: allow configuring blank password option at runtimePaul Eggleton2013-01-183-23/+108
| | | | | | | | | | | Instead of using IMAGE_FEATURES to control something within a recipe, allow this to be set at runtime, avoiding the need to rebuild dropbear when we want to change this option. First half of the fix for [YOCTO #2578]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* update-rc.d: fix failure on targetLaurentiu Palcu2013-01-171-2/+2
| | | | | | | | The problem happened because the variables given to -n were not surounded by quotes. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: check also that symlinks are validLaurentiu Palcu2013-01-162-2/+57
| | | | | | | | | | | | | | | | | | | Running: update-rc.d -r /path/to/target/rootfs basename defaults at do_rootfs time in package postinstall stage, when /path/to/target/rootfs/etc/init.d/basename is a symlink and points to some path on target (for example: /etc/init.d/basename.some_package), would fail and the postinstall execution would be postponed for first boot, on target. This patch adds the posibility to verify whether the file the symlink points to actually exists in the target rootfs. [YOCTO #3716] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: fix license segment md5sum boundaryMarko Lindqvist2013-01-163-3/+3
| | | | | | | | | Replaced incorrect "firstline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysfsutils: replace obsolete automake macros with working onesMarko Lindqvist2013-01-162-1/+17
| | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lttng2-ust: rename to lttng-ustTom Zanussi2013-01-161-1/+1
| | | | | | | | | | | recipes-kernel/lttng/lttng-ust was removed by a previous patch, which also removed the naming conflict that caused the lttng-2.0 version of lttng-ust to be named lttng2-ust. lttng2-ust was the only lttng-2.0 recipe to be named in this way and since that was entirely due to the conflict, we can go back to the consistent naming for it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* initscripts: remove finish.shChen Qi2013-01-152-19/+2
| | | | | | | Remove finish.sh from initscripts as it is no longer used. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dbus-glib: replace obsolete automake macros with working onesMarko Lindqvist2013-01-153-1/+17
| | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* coreutils: fix license segment md5sum boundaryMarko Lindqvist2013-01-151-1/+1
| | | | | | | | | Replace incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not beginning of the license segment. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* udev: Fix build with eglibc 2.17Khem Raj2013-01-102-2/+3
| | | | | | | | | | | | Link with librt to get definitions of mq_* functions Fixes errors like below /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/udev/182-r3/udev-182/src/sd-daemon.c:394: undefined reference to `mq_getattr' | collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* glib-2.0: replace obsolete automake macros with working onesMarko Lindqvist2013-01-092-1/+15
| | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gettext-minimal: update files from gettext 0.18.2Marko Lindqvist2013-01-098-50/+89
| | | | | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gettext: update to upstream version 0.18.2Marko Lindqvist2013-01-095-62/+3
| | | | | | | | remove_gets.patch dropped as upstream now contains fix for the problem. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: moved 'reset' into own subpackageEnrico Scholz2013-01-072-5/+12
| | | | | | | | | | | | | The 'reset' tool from util-linux is a shell script calling 'tput' which is provided by 'ncurses'. To avoid a 'util-linux' -> 'ncurses' dependency, 'reset' is put into an own subpackage which can be installed on demand. Because most (all) systems are using 'busybux' which provides an alternative 'reset' implementation, this should not cause too much regressions. Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Remove the redundant "/"Lei Yang2013-01-071-2/+2
| | | | | | | | I'm working on my virt-test, when I check this file find it has redundant "/" Signed-off-by: Lei Yang <lei.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: avoid duplicate mount points for the same filesystemChen Qi2013-01-041-4/+5
| | | | | | | | | | | | | | A live system had duplicate mount points for the same filesystem in the output of 'mount' command. That was because we didn't handle the temporary mounts properly before switch_root. This patch fixes this problem by moving the mount points of some filesystems to the corresponding directories in the real root filesystem. [YOCTO #3155] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc-locale: enable multilibConstantin Musca2013-01-041-2/+2
| | | | | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: run libm-err-tab.pl with specific dirs in ${S}Ting Liu2012-12-312-1/+38
| | | | | | | | | | | | libm-err-tab.pl will parse all the files named "libm-test-ulps" in the given dir recursively. To avoid parsing the one in ${S}/.pc/ (it does exist after eglibc adds aarch64 support, ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/ aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs in ${S}. Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>