summaryrefslogtreecommitdiff
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* eglibc-2.12: Fix build on powerpc/603eKhem Raj2011-09-222-1/+28
| | | | | | | | | | We pass --with-cpu to eglibc now. Which breaks the configure for cpus that it does not support We add support for ppc603e which gets 2.12 building for qemuppc. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "eglibc: fix packaging of some of nativesdk packages"Richard Purdie2011-09-224-18/+8
| | | | | | | | | This reverts commit 974cdb88680359aac5aefd11b84c4a374ab3a753. See the mailing list for details, this broke things for too many people such as where PKGSUFFIX is used in PREFERRED_PROVIDER. odified: meta/recipes-core/eglibc/eglibc-locale.inc
* glib-2.0: Drop old 2.27.5 development versionRichard Purdie2011-09-221-21/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix packaging of some of nativesdk packagesDmitry Eremin-Solenikov2011-09-224-8/+18
| | | | | | | | | | | | | | | | | | | eglibc.inc contains packaging rules that depend on PKGSUFFIX expansion. However that variable wasn't expanded properly in some case. E.g. PACKAGES = " ... nscd${PKGSUFFIX} ..." FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" would be expanded to PACKAGES = " ... nscd-nativesdk ..." FILES_nscd = "${sbindir}/nscd*" Thus leading to empty -nativesdk packages and missing files. To overcome that use python code blob to properly define PKGSUFFIX variable. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: include glib-gettextize stuffDmitry Eremin-Solenikov2011-09-223-3/+3
| | | | | | | | glib-utils already includes glib-gettextize program. Include some files necessary for glib-gettextize to work. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: reinclude a -staticdev packageDmitry Eremin-Solenikov2011-09-222-2/+2
| | | | | | | | | | | | libxml2 provides a libxml2.a library, which wasn't included in any of the packages. Usually static libs are included into a -staticdev package, but this package wasn't generated for libxml2, due to libxml2.inc redeclaring PACKAGES variable (to include libxml2-utils). Replace PACKAGES setting with expansion to include all default packages (and so -staticdev package with libxml2.a). Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: shut up unshipped files warningDmitry Eremin-Solenikov2011-09-221-1/+6
| | | | | | | | | 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>
* glib-2.0: Fix python paths in scripts to use target pathsRichard Purdie2011-09-223-2/+8
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Enhance to add dynamic per-file providesMark Hatle2011-09-212-1/+33
| | | | | | | | | | | | | | | | 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>
* Add a run-time dependency that eglibc support GNU_HASHMark Hatle2011-09-213-3/+4
| | | | | | | | | 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>
* Misc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.Lianhao Lu2011-09-162-2/+2
| | | | | | | | [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>
* Prevent IMAGE_FEATURES from contaminating initrdDarren Hart2011-09-161-0/+3
| | | | | | | | | | 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>
* Set an explicit path for the initrd scriptsDarren Hart2011-09-166-4/+10
| | | | | | | | | | | | | | 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>
* eglibc-2.13: Replace oewarn with bbwarnKhem Raj2011-09-161-1/+1
| | | | | | | oewarn does not exist Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-live-install: add PN to RDEPENDSTom Zanussi2011-09-161-1/+1
| | | | | | | 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>
* task-core-boot: allow distributions to define login and init managerMartin Jansa2011-09-151-2/+6
| | | | | | * for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* task-core-sdk: change task-core -> task-core-consoleSaul Wold2011-09-151-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* initramfs-live-install: add support for grub2Tom Zanussi2011-09-152-11/+28
| | | | | | | | | 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>
* task-core: split into task-core-console and task-core-x11Paul Eggleton2011-09-151-0/+28
| | | | | | | | | | | | | | [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>
* core-image-minimal: Add missing POKY_EXTRA_IMAGE variableRichard Purdie2011-09-141-1/+1
| | | | | | | | | | | | 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>
* gettext: use included libxml and libcrocoSaul Wold2011-09-071-1/+3
| | | | | | | | | | | [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>
* glib-networking: Ensure certificates are consistently disabledRichard Purdie2011-09-071-0/+2
| | | | | | | | | | | | | 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>
* busybox: update to 1.8.5Denis Carikli2011-09-079-3/+3
| | | | Signed-off-by: Denis Carikli <denis@eukrea.com>
* initramfs-live-install: Be consistent with grub.Lianhao Lu2011-09-071-1/+2
| | | | | | | | [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>
* task-core-tools: add systemtap to qemuarmTom Zanussi2011-09-051-2/+2
| | | | | | | | 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>
* dropbear: add missing filesKoen Kooi2011-09-022-0/+22
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold2011-09-022-11/+12
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: fix packaging of readprofileJoshua Lock2011-09-022-2/+2
| | | | | | | | 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>
* dropbear: Change the path to find configuration file and add a configuration ↵Xiaofeng Yan2011-08-311-1/+11
| | | | | | | | | | | | | | | | 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>
* eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan2011-08-302-20/+20
| | | | | | | | | | | | | | | | | 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>
* eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5Martin Jansa2011-08-263-4/+4
| | | | | | | | * 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>
* base-passwd: Use BPN in FILES pathsDongxiao Xu2011-08-261-5/+5
| | | | | | | 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>
* meta-toolchain/environment: Collected site config files in runtime.Lianhao Lu2011-08-243-7/+6
| | | | | | | | [YOCTO #892] Use the new cached site config files generation mechanism in toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* initrdscripts: fix init-live.sh for hddimg and livecdJingdong Lu2011-08-242-7/+12
| | | | | | | | 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>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-234-11/+11
| | | | | | | 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>
* eglibc: check dependencies among eglibc optionsKang Kai2011-08-191-1/+74
| | | | | | | | | | | | 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>
* initrdscripts: fix init-live.shJingdong Lu2011-08-192-2/+2
| | | | | | | | | | 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>
* task-core-boot: allow distribution to override default dev_manager provider ↵Martin Jansa2011-08-191-1/+4
| | | | | | with VIRTUAL-RUNTIME_dev_manager Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ustKhem Raj2011-08-191-3/+3
| | | | | | This helps build on uclibc where lttng-ust is not included Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysvinit: Change ${PN} to ${BPN} in file namesDongxiao Xu2011-08-191-26/+26
| | | | | | | 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>
* busybox: Change ${PN} to ${BPN} in file namesDongxiao Xu2011-08-192-16/+16
| | | | | | | 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>
* glib-2.0: explicitly disable dtrace and systemtap for native varaintJoshua Lock2011-08-181-1/+1
| | | | | | | 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>
* The Skeleton initscript doesn't work on minimal imageRobert Yang2011-08-151-2/+3
| | | | | | | | | | 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>
* dbus: only use x11 if DISTRO_FEATURES has selected itPhil Blundell2011-08-151-3/+4
| | | | | | This makes it possible to include dbus in a non-X11-equipped DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org>
* eglibc: Modify ldd script according to multilib config.Lianhao Lu2011-08-154-1/+84
| | | | | | | | | | | 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.
* init-install.sh: Fix make partition and make file system issuesMei Lei2011-08-121-3/+3
| | | | | | | | | | | | | [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>
* busybox: don't strip the main binaryChris Larson2011-08-122-2/+3
| | | | | | With this, we get a useful busybox-dbg package. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdkKumar Gala2011-08-103-2/+3
| | | | | | | | | 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>
* uclibc_0.9.32: Sync mount.h from eglibcKhem Raj2011-08-092-1/+87
| | | | | | | | 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>
* eglibc: remove PACKAGES from eglibc.incMartin Jansa2011-08-081-2/+0
| | | | | | | | * 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>