aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2011-09-22gettext: shut up unshipped files warningDmitry Eremin-Solenikov
It seems nobody uses preloadable_libintl.so in OE world. It's not included in any package. To stop oe-core from emiting a unshipped files warning, remove that file in the end of do_install. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22glib-2.0: Fix python paths in scripts to use target pathsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21busybox: Enhance to add dynamic per-file providesMark Hatle
When using the RPM package backend, we need a full list of per-file provides (and requires). The busybox package provides a number of command line utilities, such as /usr/bin/env. However, because the utilities are created at post install time via scripting the provide of each of the links was never made. So any programs, such as python, that require /usr/bin/env were unable to resolve the dependency and failed. This change only affects packaging backends that use per-file dependency data. Currently RPM is the only packaging backend with this ability. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21Add a run-time dependency that eglibc support GNU_HASHMark Hatle
RPM checks to see if binaries require GNU_HASH, if they do it adds an automatic dependency of "rtld(GNU_HASH)". We need to satisfy this dependency, and we do it by providing rtld(GNU_HASH) in the package(s) that provide a runtime-linker. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-16Misc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.Lianhao Lu
[YOCTO #1486] Added MLPREFIX to the final package names of library packages in case of DEBIAN_NAMES. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-09-16Prevent IMAGE_FEATURES from contaminating initrdDarren Hart
Set IMAGE_FEATURES="" in core-image-initramfs to prevent the setting of things like EXTRA_IMAGE_FEATURES in local.conf from contaminating the initrd with features meant for the rootfs. Suggested-by: Richard Purdie <richardpurdie@linuxfoundation.org> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16Set an explicit path for the initrd scriptsDarren Hart
If we don't set PATH, then the shell will specify one for us. Busybox adds the sbin dirs, but bash does not. I hit an issue where bash (among other things) ended up in my initrd and the boot scripts failed due to a bad default PATH. While that is a separate issue, we should not be at the mercy of the shell's default PATH. Update the initrdscripts to all specify: PATH=/sbin:/bin:/usr/sbin:/usr/bin Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16eglibc-2.13: Replace oewarn with bbwarnKhem Raj
oewarn does not exist Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16initramfs-live-install: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15task-core-boot: allow distributions to define login and init managerMartin Jansa
* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-15task-core-sdk: change task-core -> task-core-consoleSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-15initramfs-live-install: add support for grub2Tom Zanussi
grub2 needs a different set of install steps from grub 0.97. This adds them to init-install.sh and adds an install-time check that determines which version is being used and which steps to use depending on the version of grub selected. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-09-15task-core: split into task-core-console and task-core-x11Paul Eggleton
[YOCTO #1481] Since tasks are referred to almost exclusively via RDEPENDS, and bitbake will build an entire task recipe when only one of its task packages are actually needed, building a console-only image that uses task-core-apps-console (or less directly, has apps-console in its IMAGE_FEATURES) will cause a build of a whole list of X11 applications that aren't needed. Splitting the task-core recipe into X11 and console portions prevents this issue. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-14core-image-minimal: Add missing POKY_EXTRA_IMAGE variableRichard Purdie
Whilst this needs renaming it at least brings this image into line with the other images and ensures consistent behaviour. Renaming can take place at a future point. This fixes the problem where extra packages could be added to other image types using this varibale but not in the case of the minimal image. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07gettext: use included libxml and libcrocoSaul Wold
[YOCTO #1400] By using the included libxml and libcroco, we do not create additional on this core library. There was an ordering issue that when one library was not built, but gettext detected the other library a compliation would fail, this will force it to always use the included libraries. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-07glib-networking: Ensure certificates are consistently disabledRichard Purdie
Currently configure is looking whether the build system has certificates to determine the certificate paths. This is clear contamination so this patch disables that functionality to ensure builds are consistent. We could equally set this option to a consistent path if we start installing certificates. [YOCTO #1451] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07busybox: update to 1.8.5Denis Carikli
Signed-off-by: Denis Carikli <denis@eukrea.com>
2011-09-07initramfs-live-install: Be consistent with grub.Lianhao Lu
[YOCTO #1428] Because the underlying grub 0.97 the initramfs-live-install RDEPDNEDS on only supports 32bit x86 target, set the COMPATIBLE_HOST accordingly. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-09-05task-core-tools: add systemtap to qemuarmTom Zanussi
Systemtap now works with arm, so include it in task-core-tools-profile for qemuarm. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02dropbear: add missing filesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-02util-linux: fix packaging of readprofileJoshua Lock
We rename readprofile to readprofile.util-linux so we need to use that binary name in the FILES entry for the readprofile package. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31dropbear: Change the path to find configuration file and add a configuration ↵Xiaofeng Yan
file for dropbear dropbear will check "/etc/pam.d/sshd" which comes from package "openssh" \ When enabling pam supporting. But if we only install dropbear \ package without package "openssh", then "dropbear" will not \ find a configuration file. The changes are as follow for fixing this bug: - Change the path to find configuration file (/etc/pam.d/sshd --> /etc/pam.d/dropbear) - Add a configuration file "/etc/pam.d/dropbear" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-30eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan
and eglibc-charmps to variable PACKAGE There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \ and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \ eglibc-locale.inc is to make the above variables to take effect. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-26eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5Martin Jansa
* gconv is directory so test -f was always false as reported by Phil Blundell in http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html * -e used also for localedef which is file, just to be more consistent Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-08-26base-passwd: Use BPN in FILES pathsDongxiao Xu
Use BPN instead of PN in FILES paths. This fixes the login issue by /etc/passwd missing in multilib images. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-24meta-toolchain/environment: Collected site config files in runtime.Lianhao Lu
[YOCTO #892] Use the new cached site config files generation mechanism in toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-24initrdscripts: fix init-live.sh for hddimg and livecdJingdong Lu
Both hddimg and livecd use init-live.sh script to boot the rootfs.img. But the paths of rootfs.img in hddimg and livecd are different. So we add a variable "ISOLINUX" to provide a correct path. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-19eglibc: check dependencies among eglibc optionsKang Kai
Fixes [Yocto #1212] 'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet' from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc. Check the dependencies among eglibc configurable options, make sure that eglibc could be compile successfully only with part of the options. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-08-19initrdscripts: fix init-live.shJingdong Lu
Fix bug: [YOCTO #686] Because the variable "ROOT_IMAGE" in init-live.sh is not correct, it fails to run when using liveCD. Modify value of "ROOT_IMAGE" to "isolinux/rootfs.img". If we want to use liveCD, we also need to add some kernel options related to CDROM support when compling kernel. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-08-19task-core-boot: allow distribution to override default dev_manager provider ↵Martin Jansa
with VIRTUAL-RUNTIME_dev_manager Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-08-19task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ustKhem Raj
This helps build on uclibc where lttng-ust is not included Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-19sysvinit: Change ${PN} to ${BPN} in file namesDongxiao Xu
Some files in sysvinit are named with ${PN}. In multilib case, ${PN} will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-19busybox: Change ${PN} to ${BPN} in file namesDongxiao Xu
Some files in busybox are named with ${PN}. In multilib case, ${PN} will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-18glib-2.0: explicitly disable dtrace and systemtap for native varaintJoshua Lock
This prevents systemtap and dtrace being picked up from the host as reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-08-15The Skeleton initscript doesn't work on minimal imageRobert Yang
Fixes bug [YOCTO #1165] The /etc/init.d/skeleton doesn't work on minimal image, this is because of the pidofproc doesn't return "$?" correctly, so store $? in the variable status would fix it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-08-15dbus: only use x11 if DISTRO_FEATURES has selected itPhil Blundell
This makes it possible to include dbus in a non-X11-equipped DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15eglibc: Modify ldd script according to multilib config.Lianhao Lu
Bug fixing [YOCTO #1236]. 1. Collect all the values for RTLDLIST for the current multilib configuration to modify the ldd scripts. 2. Collect all the values for KNOWN_INTERPRETER_NAMES for the current multilib configuration. Set the correct ld.so names for ldconfig to deal with the multilib configuration.
2011-08-12init-install.sh: Fix make partition and make file system issuesMei Lei
[YOCTO #1151] Change the offset from the beginning of the disk to aligne the blocks. In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly, and get some warnings about choose another specific tools to create file system for reliability. So use mkpart instead of mkpartfs and only use mkfs.ext3 to create file system. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-08-12busybox: don't strip the main binaryChris Larson
With this, we get a useful busybox-dbg package. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-10eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdkKumar Gala
Don't use GLIBC_EXTRA_OECONF for the nativesdk builds. Easiest solution is to just override it settings. Otherwise we might pickup configure options ment for the target build. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-09uclibc_0.9.32: Sync mount.h from eglibcKhem Raj
mount.h has few more defines that are being used by newer applications such as systemd Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-08eglibc: remove PACKAGES from eglibc.incMartin Jansa
* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-05task-core-boot.bb: Add PACKAGE definition to facilitate multilibDongxiao Xu
If there is no PACKAGES defined in bb file, its default definition would be "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale". In multilib case, ${PN} is extended with ${MLPREFIX}, so there is no rename occurred for the PACKAGES. Therefore for task-core-boot, RDEPENDS_lib32-task-core-boot will be empty, resulting busybox, tinylogin, etc. are not bulit out. This fixed the issue that /bin/sh is not provided while do_rootfs. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-05eglibc-locale: Added ${MLPREFIX} for task dependency.Lianhao Lu
[YOCTO #1338] Added ${MLPREFIX} to the task dependency between eglibc-locale:do_install and the corresponding virtual/libc's do_populate_sysroot. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-05Misc: Corrected the dependency on non-native for -native package.Lianhao Lu
[YOCTO #1336] Corrected the wrong dependency on non-native for -native packages for the following recipes: - util-macros - intltool Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-05coreutils: Fix build on uclibcKhem Raj
coreutils has getloadavg.m4 of its own. So we need to make sure that we remove the portions which look into hardcoded /usr/local/lib paths. These tests are only for AIX so we dont lose much Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-04eglibc: Fix patch merge breakageRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04eglibc_2.13: Add support for handling sqrt & sqrtf on powerpcKumar Gala
Some of powerpc's dont support the fsqrt[s] instructions so we need an implementation of the library functions for those processors. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>