summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bootimg: Account for FAT filesystem overhead in image sizeDarren Hart2012-01-171-9/+36
| | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1852] The bootimg class wasn't accounting for non-trivial amount of space required by the directory entries and FATs for the FAT filesystem. This patch attempts to make an accurate prediction of FAT overhead and adjusts the image size accordingly. It assumes no more than 16 directory entries per directory (which fit in a single sector). It also assumes 8.3 filenames. With the ceiling functions rounding up to full sectors and tracks, these assumptions seem reasonable. In order to ensure the calculations are accurate, this patch forces the FAT size to 32, rather than allowing mkdosfs to automatically select 12, 16, or 32 depending on the image being built. Tested by setting BOOTIMG_EXTRA_SPACE=0 and building core-image-minimal and core-image-sato for fri2-noemgd from meta-intel. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Saul Wold <sgw@linux.intel.com>
* oe.license: avoid the need to catch SyntaxErrorChristopher Larson2012-01-172-7/+20
| | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* oe.license: add is_included convenience functionChristopher Larson2012-01-173-19/+43
| | | | | | | | | | | | | | | | | | | Given a license string and whitelist and blacklist, determine if the license string matches the whitelist and does not match the blacklist. When encountering an OR, it prefers the side with the highest weight (more included licenses). It then checks the inclusion of the flattened list of licenses from there. Returns a tuple holding the boolean state and a list of the applicable licenses which were excluded (or None, if the state is True) Examples: is_included, excluded = oe.license.is_included(licensestr, ['GPL*', 'LGPL*']) is_included, excluded = oe.license.is_included(licensestr, blacklist=['Proprietary', 'CLOSED']) Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* copyleft_compliance: add debug message with the reason for exclusionChristopher Larson2012-01-171-7/+17
| | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* copyleft_compliance: add control of recipe types to includeChristopher Larson2012-01-171-3/+18
| | | | | | | | In this context, recipe "type" refers to whether it is 'target', 'native', 'cross', etc. COPYLEFT_RECIPE_TYPES is a space separated list of types to include. It defaults to 'target'. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* linux-yocto: consolidated fix SRCREV updatesBruce Ashfield2012-01-172-8/+9
| | | | | | | | | | Updating the SRCREVs to include the following fixes from Khem Raj and Zumeng Chen. 6f5b118 compiler.h: Undef before redefining __attribute_const__ fe80c1e oprofile, arm/sh: Fix oprofile_arch_exit() linkage issue Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tslib: enable big endian support for qemuppcLiming Wang2012-01-171-0/+1
| | | | | | This enables wacom tablet/touchscreen support on qemuppc. Signed-off-by: Liming Wang <liming.wang@windriver.com>
* qemuppc: add machconfigLiming Wang2012-01-171-0/+10
| | | | Signed-off-by: Liming Wang <liming.wang@windriver.com>
* qemuppc: add pointercal fileLiming Wang2012-01-171-0/+0
| | | | | | This file is for tslib. Signed-off-by: Liming Wang <liming.wang@windriver.com>
* qemuppc: replace emulation of qemuppc from prep to mac99Liming Wang2012-01-175-17/+12
| | | | | | | | | With this new emulation, existing qemuppc functionality is maintained and other functionality such as framebuffer + sato and NFS boot are added. Signed-off-by: Liming Wang <liming.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* hdparm: upgrade to 9.37Shane Wang2012-01-174-89/+36
| | | | | | | | | | | The patch was imported from the OpenEmbedded server (http://git.openembedded.org/openembedded/tree/recipes/hdparm) as of commit id 4d2cb79dcecd056742f411a328f9f1f1113bf689. And changes include: - upgrade to the latest version 9.37 from 9.35. - added license checksum. - the license for wiper which is in hdparm is GPLv2. Signed-off-by: Shane Wang <shane.wang@intel.com>
* stat: add recipe stat with version 3.3Shane Wang2012-01-171-0/+26
| | | | | | | | | | | | stat is brought into Yocto because the latest version hdparm 9.37 depends on it, and add license checksum. The recipe was imported from the OpenEmbedded server (http://git.openembedded.org/openembedded/tree/recipes/stat) as of commit ids 709c4d66e0b107ca606941b988bad717c0b45d9b, 44985d56bc556786812a0a02d6219afd31a7381d, b3246d96069fd11caee42ec6ebcbf6dca2d62449. Signed-off-by: Shane Wang <shane.wang@intel.com>
* distro-tracking: Update info for webkit-gtk, web-webkitZhai Edwin2012-01-171-3/+4
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* distro_tracking: update manual_check_date fieldsNitin A Kamble2012-01-171-16/+20
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* btrfs-tools: upgrade to newer git commitNitin A Kamble2012-01-171-2/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libpcre: upgrade from 8.20 to 8.21Nitin A Kamble2012-01-171-2/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* insane.bbclass: fix elf.arch not matching error for x32 kernelNitin A Kamble2012-01-171-1/+2
| | | | | | | | | | For x32 the user space is 32bit and the kernel is 64bit. So the elf.arch for vmlinuz is x86_64 and not x86. This commit fixes this QA error thrown for x32 kernel. | ERROR: QA Issue: Architecture did not match (62 to 3) on /work/qemux86_64-poky-linux-gnux32/linux-korg-3.1+git1+e2bf8464ddbf5da24d3d320cded5691828a91a0b-r1/packages-split/kernel-vmlinux/boot/vmlinux-3.1.0-yocto-standard-01628-ge2bf846 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* diffstat: upgrade from 1.54 to 1.55Nitin A Kamble2012-01-171-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* locale: fix package's "provides" tagNitin A Kamble2012-01-172-4/+1
| | | | | | | | | | | | | | | | | | Fixes this bug: [YOCTO #1874] Fixes an issue where a locale package depends on one package while it also provides the same, as seen bellow. Package: locale-base-de-de Version: 2.12-r19 Depends: eglibc-binary-localedata-de-de Provides: virtual-locale-de-de, virtual-locale-de, eglibc-binary-localedata-de-de Actually the eglibc-binary-localedata-de-de is ia separate package, and it should not be part of provides of the locale-base-de-de. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* ncurses-native: install to libdir, not base_libdirChristopher Larson2012-01-171-3/+3
| | | | | | | | | | | | For target, both base_libdir and libdir in sysroot can be used, as we pass --sysroot to the toolchain. For native, we don't do this, and we also only add -L<sysroot>/${libdir}, not -L<sysroot>/${base_libdir}, resulting in other native recipes (like readline-native) failing to find the ncurses libraries. readline-native only built successfully on hosts where it could fall back to their ncurses/termcap rather than the one in the sysroot. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* ghostscript: build cups filtersJames Limbouris2012-01-171-5/+24
| | | | | | | | | | | | Cups filters are no longer built by default. Since ghostscript already depends on cups, build the filters and package them as ghostscript-cups. Ghostscript uses the cups-config script from the oe sysroots to determine some of the target install paths, as well as to determine the linker path. The config script gives out paths pointing to the sysroot, so some of the paths needed to be adjusted in the Makefile. Signed-off-by: James Limbouris <james@digitalmatter.com.au>
* wpa-supplicant: Compile without CONFIG_GNUTLS_EXTRA (PR BUMP)Andrei Gherzan2012-01-175-420/+4
| | | | | | | | | | | CONFIG_GNUTLS_EXTRA is needed as support for TLS/IA which was designed to be used in the EAP-TTLSv1. As we don't see any requirement for that protocol today we decided to remove it from wpa-supplicant .config file. This change includes PR bump. [YOCTO #1845] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* pango: Use gnomebase class, not gnomeRichard Purdie2012-01-162-2/+2
| | | | | | | | | | | There was a circular dependency introduced by the recent gconf changes to depend on gtk+. The issue is that gtk+ depends on pango and pango depends on gconf. This patch changes to use the gnonebase class since pango has no need of gconf/mime/gtk-icon-cache and hence removes the circular dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: enable gtk+ 2.0 support to build gconf-sanity-check-2Koen Kooi2012-01-161-9/+11
| | | | | | | | | This is needed for e.g. gnome-session: gnome-session[424]: WARNING: Failed to run gconf-sanity-check-2: Failed to execute child process "/usr/libexec/gconf-sanity-check-2" (No such file or directory) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildstats: tolerate absence of /proc/diskstatsJean-François Dagenais2012-01-161-10/+15
| | | | | | | | | | In OpenVZ containers (and probably lx containers as well), the diskstats entry is not even present. Use the "NoLogicalDrive" introduced by Elizabeth Flanagan in such case. This allows the bitbaking to occure within such containers. Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.com>
* dhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-serverSteve Sakoman2012-01-162-3/+3
| | | | | | | | Otherwise dhclient encounters errors of this type: dhclient: can't create /var/lib/dhcp/dhclient-c0c60402-0bc5-4bd7-bc3b-49a27fa37d72-eth1.lease: No such file or directory Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cairo 1.10.2: enable tee backendKoen Kooi2012-01-162-2/+4
| | | | | | | | | | This is needed for firefox: | checking CAIRO_LIBS... -lcairo -lpixman-1 -lfreetype -lfontconfig | checking for cairo-tee >= 1.10... Package cairo-tee was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo-tee.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo-tee' found | configure: error: Library requirements (cairo-tee >= 1.10) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* pango.inc: add directory "/etc/pango"Xiaofeng Yan2012-01-162-2/+6
| | | | | | | | | | | Command "pango-querymodules > /etc/pango/pango.modules" can't work when \ starting up yocto because of no directory "/etc/pango". It will cause \ messy code when gtk-demo running. [YOCTO #1900] [RP: PR bump] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* cairo.inc: Change configuration of directfb to gtk-directfbXiaofeng Yan2012-01-161-1/+1
| | | | | | | | | "direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb". PACKAGECONFIG can't select directfb as backend rightly, or else. [YOCTO #1900] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* gtk.inc: Change configuration of directfb to gtk-directfbXiaofeng Yan2012-01-161-1/+1
| | | | | | | | | "direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb". PACKAGECONFIG can't select directfb as backend rightly, or else. [YOCTO #1900] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* patch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the ↵Richard Purdie2012-01-131-1/+3
| | | | | | | | | | | correct function People have noticed that sstate is now getting invalidated very readily. The issue is that the code using these variables was factored into a new function but the variable exclusion was not. This patch moves the variable exclusion to the correct place allowing the sstate checksums to work correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: Clean up file and add missing entries for various dependenciesRichard Purdie2012-01-111-15/+22
| | | | | | | This patch adds in various missing dependencies to ensure the set of recipes listed for multilib support can be cleanly built. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Clear BBCLASSEXTEND as a native version of this ↵Richard Purdie2012-01-111-0/+2
| | | | | | recipe makes no sense Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: RPROVIDE python-core-native since pycurl-native depends on itRichard Purdie2012-01-111-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxft: Drop BBCLASSEXTEND nativesdk since dependencies freetype and ↵Richard Purdie2012-01-111-1/+1
| | | | | | fontconfig aren't class extended Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lzo: Add BBCLASSEXTEND nativesdk so lzop nativesdk works (it depends on this)Richard Purdie2012-01-111-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix magic file name magic -> magic.mgcSaul Wold2012-01-111-2/+2
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: per recipe PRSERV_HOST supportLianhao Lu2012-01-111-0/+8
| | | | | | | [YOCTO #1126] Added per recipe PRSERV_HOST PRSERV_PORT support. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* meta/PRService: Added export/import fuctions.Lianhao Lu2012-01-119-27/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1556] - Modified meta/class/package.bbclass and prserv.bbclass according to the change in PR service by adding PACKAGE_ARCH into the query tuple. - Added prexport.bbclass, primport.bbclass to export/import AUTOPR values from/to PRService. - Move PR service related common code to lib/oe/prservice.py. - Supported reading the AUTOPR values from the exported .inc file instead of reading it from remote PR service. - Created a new script bitbake-prserv-tool to export/import the AUTOPR values from/to the PR service. Typical usage scenario of the export/import is: 1. bitbake-prserv-tool export <file> to export the AUTOPR values from the current PR service into an exported .inc file. 2. Others may use that exported .inc file(to be included in the local.conf) to lockdown and reproduce the same AUTOPR when generating package feeds. 3. Others may "bitbake-prserv-tool import <file>" to import the AUTOPR values into their own PR service and the AUTOPR values will be incremented from there. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* Incremental rpm image generation(Add config sample)Robert Yang2012-01-111-0/+7
| | | | | | | | | Add the config sample for incremental image generation to meta-yocto/conf/local.conf.sample.extended [YOCTO #1651] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* Incremental rpm image generationRobert Yang2012-01-113-13/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incremental rpm image generation, the rootfs would be totally removed and re-created in the second generation by default, but with INC_RPM_IMAGE_GEN = "1", the rpm based rootfs would be kept, and will do update(remove/add some pkgs) on it. NOTE: This is not suggested when you want to create a productive rootfs For example: 1) Add the follow config option to a conf file: INC_RPM_IMAGE_GEN = "1" 2) bitbake core-image-sato modify a package bitbake core-image-sato The rootfs would not be totally removed and re-created in the second generation, it would be simply updated based on the "package". Implatation: 1) Figure out the pkg which need to be removed or re-installed, then use 'rpm -e to remove the old one. Use the rpm's BUILDTIME to determine which pkg has been rebuilt. 2) Figure out the pkg which is newly added, and use 'rpm -U' to install it. This only for the rpm based rootfs, the deb and ipk based rootfs would be done later. [YOCTO #1651] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* Revert "site/common-uclibc: Cache gl_cv_func_wcwidth_works"Richard Purdie2012-01-101-1/+0
| | | | This reverts commit a471d342424502de48f28c4f8297d490f2cd1443.
* distro_tracking: update manual check infoDongxiao Xu2012-01-101-0/+1
| | | | | | | updated kexec-tools manual check information Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass base.bbclass: support for 'or' operand in LICENSE and for ↵Andrei Gherzan2012-01-102-2/+46
| | | | | | | | | | | | | | | | SPDX license names A new function was defined in license.bbclass in order to correctly exclude packages where OE-Style licence naming is used. In this way licenses as GPL-3, GPLv3, GPLv3.0 etc will be excluded from a non-GPLv3 build. This function takes into consideration if 'or' operand is used. The function defined in license.bbclass is called in base.bbclass where packages are excluded based on INCOMPATIBLE_LICENSE variable. [YOCTO #1884] [YOCTO #1844] Signed-off-by: Andrei Gherzan <andrei at gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields.inc: upgrade tcf-agentDexuan Cui2012-01-101-2/+2
| | | | | | | Upgraded the field RECIPE_MANUAL_CHECK_DATE. Also changed the MAINTAINER to Lianhao who volunteered to take the recipe. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* distro_tracking: Update Manual ChecksSaul Wold2012-01-101-25/+25
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* task-core-tools: adapt to kexec-tools package splitAndrea Adami2012-01-101-2/+2
| | | | | | | | * The recipe packages now kexec and kdump separately. * For standard purposes only kexec is needed. * Bump PR. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* kexec-tools: split packaging of kexec and kdumpAndrea Adami2012-01-101-1/+6
| | | | | | | | | | | | | * from meta-oe (originally from org.openembedded.dev) * There are no reasons to install kdump when only kexec is needed. * * In oe-core/meta there are no references to kexec-tools so * the recipes inn external layers rdepending on kexec-tools should be * fixed and rdepend on kexec and/or kdump. * * Bump PR. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* util-linux: .pc files should go in the -dev packages for subpackagesColin Walters2012-01-101-2/+2
| | | | | The .pc files were ending up in util-linux-dev, not the correct subpackage like libuuid1-dev.
* util-linux: Enable fallocate and use CACHED_CONFIGUREVARSKhem Raj2012-01-101-4/+2
| | | | | | | | | fallocate is implemented in eglibc 2.11 and all eglibc we use are greater than 2.11 so drop disabling it. Use CACHED_CONFIGUREVARS to specify scanf_cv_type_modifier=as Signed-off-by: Khem Raj <raj.khem@gmail.com>