summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* task-self-hosted: Add vte and eglibc-gconv-ibm850Saul Wold2012-04-111-1/+3
| | | | | | | | Adding vte for a more full featured terminal adding eglibc-gconv-ibm850 for mcopy Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boot-directdisk: remove the default setting of SYSLINUXCFG and SYSLINUXMENUSaul Wold2012-04-111-3/+0
| | | | | | | | | These two should get setup in {S} and installed into {HDDDIR}, by having them defined with {HDDDIR} they try to get created when the directory does not exist yet. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: add ofono dependency.Lianhao Lu2012-04-111-0/+1
| | | | | | | | | | | | Added dependency to ofono because we always enable ofono plug-in. We did this because the 1.2 release cycle is coming to an end. We should use PACKAGECONFIG in 1.3. This is part of the 1.2 bug fixing [YOCTO #2216]. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hello-mod: Move hello-mod from meta to meta-skeletonDarren Hart2012-04-104-402/+0
| | | | | | | | | | Fixes [YOCTO #1501] hello-mod is an example kernel module, and does not provide any real functionality. As such, it would be better placed under meta-skeleton than meta. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* syslinux: Update distro-tracking fieldsDarren Hart2012-04-101-2/+3
| | | | | | Add reason for not updating syslinux this release. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* at: Fix origin location of install pam.conf from from ${P} -> ${BP}Saul Wold2012-04-101-2/+2
| | | | | | | | | This patch changes P to BP to address where a file is installed from when building with PAM enabled and using multi-lib. [YOCTO #2224] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gdb: add --with-libexpat-prefixMartin Jansa2012-04-101-2/+2
| | | | | | | * otherwise it sometimes finds host's expat Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* opkg: Add the condition for the content of arch.conf when enable multilibXiaofeng Yan2012-04-101-1/+6
| | | | | | | | | | | | | | | | After successfully installed some lib32 multilib packages into the x86-64 image, we just found that the file content of /var/lib/opkg/status in rootfs changed after the very 1st boot, many lib32 related packages information are missing in that file. The missing arch "x86" in arch.conf cause the above problem. Adding the condition for the content of arch.conf when enable multilib. If build multilib image, "ALL_MULTILIB_PACKAGE_ARCHS" will be used instead of "PACKAGE_ARCHS". [YOCTO #1522] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* adt-installer: Fixed ppc kernel naming.Lianhao Lu2012-04-103-13/+13
| | | | | | | | | | | 1. Fixed the ppc kernel naming. 2. Disabled opkg shared library to avoid runtime opkg-cl launching error. 3. Adjusted the variable sequence in adt-installer.conf Fixed bug [YOCTO #2233] Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* meta-toolchain: runqemu falied on FC16/Opensuse12.1 x86_64Robert Yang2012-04-101-2/+2
| | | | | | | | | | | | | | | runqemu can't launch a target image on Fedora 16 64bit or Opensuse 12.1 64bit, this is because runqemu needs the host's libGL.so, which requires GLIBC_2.14 which is defined in libc.so.6, but our default libc.so.6 is version 2.13, here is the message from Richard: The easiest solution would be to change the nativesdk libc to 2.15. I don't think we plan to do this for the target libc for 1.2 but we could change nativesdk's version if its well tested [YOCTO #1968] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* git 1.7.7: remove perl.mak before compileRobert Yang2012-04-101-0/+6
| | | | | | | | | | | | | | | | | The git may fail to rebuild when perl's Config.pm or config.h changes, this is because Makefile detects that perl/perl.mak is out of date. Remove perl.mak to let Makefile regenerate it would fix the error. Both git and git-native have this problem. To reproduce the error: (On x86_64 host) $ bitbake git-native $ touch tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.2/Config.pm $ bitbake git-native -ccompile -f [YOCTO #2156] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* grub-efi: Include GPT partition EXT FS supportDarren Hart2012-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO 2257] GPT partitions are common for EFI systems. Add support for them by including the part_gpt partition module in the grub-efi image. In order to allow for loading a Linux kernel from an EXT* filesystem, include the ext2 module as well. With this fix applied, I was able to boot from a USB key using a GPT partition table with the following layout: $ sudo gdisk -l /dev/sdc GPT fdisk (gdisk) version 0.8.2 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 7669824 sectors, 3.7 GiB Logical sector size: 512 bytes Disk identifier (GUID): 68FA7CD4-E0C3-4A8E-82B5-1331C9B17A3C Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7669790 Partitions will be aligned on 2-sector boundaries Total free space is 7428816 sectors (3.5 GiB) Number Start (sector) End (sector) Size Code Name 1 34 32801 16.0 MiB 0700 # FAT16 2 32802 240974 101.6 MiB 0700 # EXT3 From within GRUB, booted as bootia32.efi from the BOOT partition, I booted the OS with the following commands: grub> linux (hd0,gpt2)/vmlinuz rootwait root=/dev/sda2 console=ttyS0,115200 grub> boot This change will enable BSP developers to use the grub-efi image in their own images as well as enable upcoming changes to the installer to support EFI. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Kishore Bodke <kishore.k.bodke@intel.com> CC: Rahul Saxena <rahul.saxena@intel.com>
* qemu: Fix gl failure from 64b target on 32b hostZhai Edwin2012-04-102-1/+68
| | | | | | | | | | | | | Data from 64b target is truncated by 32b host. This patch makes type of data buf in host same as target. [YOCTO #2221] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> [Bumped PR - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* shadow-native: disable logging to syslogScott Garman2012-04-102-2/+37
| | | | | | | | | Disable use of syslog to prevent sysroot user and group additions from writing entries to the host's syslog. This fixes [YOCTO #2012] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* mesa-common: package gl.pc in libgl-devJoshua Lock2012-04-101-1/+1
| | | | | | | | gl.pc should be packaged in libgl-dev not the mesa-dev package Fixes [YOCTO #2059] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* self-hosted-image: use Clearlooks themePaul Eggleton2012-04-062-2/+7
| | | | | | | | | | Use a nicer theme (Clearlooks) to improve Hob's appearance in the self hosted image and fix the progress bar not changing colour when the build fails. Fixes [YOCTO #2208] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* self-hosted-image: decrease reserved space to 0.5%Paul Eggleton2012-04-061-1/+6
| | | | | | | | | The default amount of reserved space for ext2/3 is 5% - this amounts to about 2GB of a 40GB filesystem that the builder user can't make use of. We don't need this much reserved so peg it back to 0.5% which should be more than enough. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* self-hosted-image: use the correct location of the file sudoersDexuan Cui2012-04-061-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* connman: Fixed multilib support.Lianhao Lu2012-04-062-1/+2
| | | | | | | | | | | | 1. Corrected the package content of connman-test. This is part of the bug fixing [YOCTO #2216]. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Removed ofono addtion - sgw Signed-off-by: Saul Wold <sgw@linux.intel.com>
* package_ipk.bbclass: fixing muttilib prefix extracting.Lianhao Lu2012-04-061-2/+2
| | | | | | Fixed an error in multilib prefix extracting. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* u-boot: add machine name to spl image nameStefan Herbrechtsmeier2012-04-063-3/+3
| | | | Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
* linux-firmware: keep version string in libertas firmwareStefan Herbrechtsmeier2012-04-061-3/+7
| | | | | | | | | Recent Linux kernel tries to load the libertas firmware with the version string in its name first. This results in a delayed firmware load on system boot. Keep the default libertas firmware name and add a link for older driver versions. Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
* package_ipk: don't generate Packages.filelistMartin Jansa2012-04-061-1/+1
| | | | | | | * it works only with 'new' packages and with fixed opkg-utils it will unpack *all* packages, because filelist doesn't support 'cache' like Packages does Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Hob: Modify Image DescriptionsElizabeth Flanagan2012-04-0614-25/+33
| | | | | | | | Fixes [YOCTO #2227] I've updated the image descriptions per the bug description. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
* gst-plugins-base: fix build of subparse pluginAndreas Oberritter2012-04-062-2/+30
| | | | | | | | | * Fixes the following configure error by prefixing PKG_CONFIG_SYSROOT_DIR: | grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* syslinux: Avoid using linux.ext2_fs.h if possibleDarren Hart2012-04-062-2/+978
| | | | | | | | | | | | Fixes [YOCTO 2236] With recent Linux kernel headers, such as 3.3 in Fedora 16, the linux/ext2_fs.h header has been removed. This causes compile failures for syslinux-native. Backport a fix to address this from syslinux-4.06-pre3. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ross Burton <ross.burton@intel.com> CC: Joshua Lock <josh@linux.intel.com>
* gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in ↵Andrei Gherzan2012-04-061-1/+12
| | | | | | | | | | | | | include/gdbm ndbm.h is needed by python for dbm module. This is why -enable-libgdbm-compat was added to configure. The second change is because python is looking for the gdbm headers in include/gdbm. The easiest way to solve this issue is to add symlinks in include/gdbm. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* self-hosted-image: Increase space for build and allow builder user sudo accessSaul Wold2012-04-041-6/+6
| | | | | | | | We need to have about 40G to do a full sato build even with rm_work enabled Add sudo priveleges inorder to allow the builder user to setup the tap/tun devices needed by runqemu Signed-off-by: Saul Wold <sgw@linux.intel.com>
* conf/machine/include: Update SH tunings to match READMEMark Hatle2012-04-044-6/+65
| | | | | | | | Update the experimental SH tunings to match the tunings README. These tunings have not been tested, and are experimental! Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup ARM tunings to match READMEMark Hatle2012-04-046-7/+47
| | | | | | | | | | | | | | | | | | | Cleanup the ARM tunings to match the new tunings README file. The ARM tunings define TUNE_PKGARCH in a way that only one main arm architecture, i.e. armv6, may be defined at the same time. We may have to revise these settings in the future, as well as figure out a way to better differentiate various optimize tunings in the package arch. (This was not done, to preserve existing behavior!) Fix a number of minor issues w/ the armv5 tunings where DSP variants were referenced but not defined. Fix incorrect armv7 entries in armv7a. Fix PACKAGE_EXTRA_ARCHS definitions inside of tune-cortexm3 and tune-cortexr4. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup PowerPC tunings to match READMEMark Hatle2012-04-049-20/+47
| | | | | | | | | | | | Cleanup the PowerPC tunings to match the new tuning README file. Default PowerPC to using TUNE_PKGARCH = ${TUNE_PKGARCH_tune-<tune>} Fix AVAILTUNE settings in ppc603e, and ppce500mc to be addative. Correct potentially overlapping "spe" definitions in ppce500 and ppce500v2. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup MIPS tunings to match READMEMark Hatle2012-04-043-7/+84
| | | | | | | | | | Cleanup the MIPS tunings to match the new tuning README file. Also add a MIPS specific README file to explain the MIPS specifical architectural issues. Finally correct the variant configurations within the tune-mips32.inc. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup IA tunings to match READMEMark Hatle2012-04-045-27/+59
| | | | | | | | | | | We perform a basic cleanup of the IA32 architecture and related tunings in order to match the rules and descriptions within the new tuning README file. A number of small issues were corrected in the "c3" tuning to bring it inline with the README. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include/README: Add readme to explain cpu tuningsMark Hatle2012-04-042-1/+77
| | | | | | | | | | | | | | Add a new README that covers the basic items used with various cpu tunings. The goal is to better help people understand the various settings and where things should or should not be defined. Corresponding architecture README files will also be generated to explain the particulars of architectural tunings. Also remove the default TUNE_PKGARCH setting in bitbake.conf. This was done to ensure an error occurs if an invalid tuning is defined. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* archive-patched-source.bbclass: Archive patched sourceXiaofeng Yan2012-04-041-0/+14
| | | | | | | | This bbclass inherits archiver.bbclass to archive patched source [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* Remove redundant reference to "task-self-hosted" from self-hosted-image.bbRobert P. J. Day2012-04-041-4/+0
| | | | | | | | | | | This recipe already includes "task-self-hosted" in the IMAGE_INSTALL line: IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" so there's no apparent need to include it again further down. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
* qt-4.7.4: Fix build with gcc 4.7Khem Raj2012-04-044-2/+70
| | | | | | | | g++ 4.7 is detecting inheritence problems which we solve by explictly specifying elements in constructors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt-mobility: Fix build with gcc 4.7Khem Raj2012-04-042-2/+52
| | | | | | | C getpid needs unistd.h for getting its signature Signed-off-by: Khem Raj <raj.khem@gmail.com>
* webkit: Fix build with gcc-4.7Khem Raj2012-04-042-1/+23
| | | | | | | Include unistd.h for all linux and not just for android. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* archiver.bbclass: enhance code readabilityXiaofeng Yan2012-04-041-119/+108
| | | | | | | | | The modification is as follow: - Modify some codes with more preferable readability and vague description. - Use existed functions instead of custom functions. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* eglibc packaging: locale packaging configurationNitin A Kamble2012-04-042-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PACKAGE_NO_GCONV var manipulations ware happening in the eglibc-options.inc file, and the eglibc-locale recipe do not see it. Moving that into the libc-package.bbclass which is common to eglibc & eglibc-locale recipes. This fixes bug: [YOCTO #2089] This avoids this error for poky-tiny NOTE: package eglibc-locale-2.13-r19: task do_populate_sysroot: Started ERROR: Error executing a python function in /opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb: OSError: [Errno 2] No such file or directory: '/home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/package/usr/lib/gconv' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "package_do_split_gconvs", line 264, in <module> ERROR:· ERROR: File "package_do_split_gconvs", line 45, in package_do_split_gconvs ERROR:· ERROR: File "package.bbclass", line 30, in do_split_packages ERROR:· ERROR: The code that was being executed was: ERROR: 0260:»------»-------bb.note("generation of binary locales disabled. this may break i18n!") ERROR: 0261: ERROR: 0262: ERROR: 0263: ERROR: *** 0264:package_do_split_gconvs(d) ERROR: 0265: ERROR: (file: 'package_do_split_gconvs', lineno: 264, function: <module>) ERROR: 0041:»------»-------»-------d.setVar('RPROVIDES_%s' % pkg, pkg.replace(bpn, 'glibc')) ERROR: 0042: ERROR: 0043:»------do_split_packages(d, gconv_libdir, file_regex='^(.*)\.so$', output_pattern=bpn+'-gconv-%s', \ ERROR: 0044:»------»-------description='gconv module for character set %s', hook=calc_gconv_deps, \ ERROR: *** 0045:»------»-------extra_depends=bpn+'-gconv') ERROR: 0046: ERROR: 0047:»------def calc_charmap_deps(fn, pkg, file_regex, output_pattern, group): ERROR: 0048:»------»-------deps = [] ERROR: 0049:»------»-------f = open(fn, "r") ERROR: (file: 'package_do_split_gconvs', lineno: 45, function: package_do_split_gconvs) ERROR: Function failed: package_do_split_gconvs ERROR: Logfile of failure stored in: /home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/temp/log.do_package.31042 NOTE: package eglibc-locale-2.13-r19: task do_package: Failed ERROR: Task 552 (/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb, do_package) failed with exit code '1' Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* gcc-cross-intermediate: fix do_install for x32Nitin A Kamble2012-04-041-1/+1
| | | | | | | | | | | | This Fixes [Ycoto #2223] bug. The gcc osdir is obtained in the do_install by invocation of command "gcc -print-multi-os-directory". For x32 it returns gcc osdir for the default abi which is x86_64. Fix this by adding target abi parameter to the gcc command line to get correct gcc osdir with invocation of command "gcc -mx32 -print-multi-os-directory" Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* package_{deb,ipk,rpm}: apply umask to files generated in ↵Andreas Oberritter2012-04-043-0/+3
| | | | | | | | | do_package_write_{deb,ipk,rpm} * Explicitly set umask to 022. Otherwise the build system's umask may leak into the image. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* copyleft_compliance: also print the reason for including a packageEric Bénard2012-04-041-4/+4
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* license.py: fix behaviour of copyleft_complianceEric Bénard2012-04-041-4/+7
| | | | | | | | | | | | | | | | | | | | | | actually if a package has a license in its LICENSE variable which is not in the whitelist nor in the blacklist and even if an other license in this variable is in the whitelist, the package gets excluded and is not taken in account in the copyleft_compliance. This patch solves this by excluding a recipe _only_ if the LICENSE variable includes a pattern from the blacklist and including a recipe only if it includes a variable from the whitelist _and_ none from the blacklist. Example in busybox which has LICENSE="GPLv2 & BSD-4-Clause", with the actual behaviour (where he blacklist contains only CLOSED Proprietary) we get : DEBUG: copyleft: busybox-1.19.4 is excluded: recipe has excluded licenses: BSD-4-Clause which is not sane because busybox is covered by a copyleft license which is GPLv2 and should match the default whitelist which is GPL* LGPL*. Signed-off-by: Eric Bénard <eric@eukrea.com>
* license.bbclass: Check if copyfile succeeded with isfileAndrei Gherzan2012-04-041-2/+3
| | | | | | | | A cleaner way to check if copyfile suceeded is to use os.path.isfile. In this way we can omit warns in some python versions where copyfile return the same non-0 value even is this action is successfull. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* binutils: Inform binutils that armv5e really is valid!Mark Hatle2012-04-042-1/+22
| | | | | | | | | | A comment in the binutils sources indicate that it should support all of the -march= parameters that gcc supports. The tune validations noted that gas failed on -march=armv5e. It is not yet clear to me if this patch belongs upstream or not. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* elfutils: disable lzma (and bzip2 for native)Paul Eggleton2012-04-031-2/+3
| | | | | | | | | | | Fix some library dependency issues: * Disable lzma as xz-native is unstated in DEPENDS * Disable bzip2 for native as it is in ASSUME_PROVIDED and thus isn't available when elfutils-native is normally built, but if it gets rebuilt the link will be made; plus we don't need it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: build with expat, add missing RRECOMMENDS_gdbserverAndreas Oberritter2012-04-034-6/+6
| | | | | | | | | | | * Fixes communication between gdbserver and gdb-cross by using the same expat settings for both recipes. * Adds missing build dependencies for expat/expat-native. * Adds missing glibc-thread-db runtime recommendation to gdbserver, which was set only for gdb. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.Lianhao Lu2012-04-036-7/+14
| | | | | | | | Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>