summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* bb-matrix: initial scripts to record TIME(1) metrics for BB and PM combinationsDarren Hart2011-07-122-0/+215
| | | | | | | | | | | | | | The bb-matrix.sh script will run a bitbake command, building core-image-minimal by default, for various combinations of BB_NUMBER_THREADS and PARALLEL_MAKE. It records all relevant metrics of the TIME(1) command for each combination in a data file. The bb-matrix-plot.sh script can be used to visualize each of these metrics via a 3d surface plot, either solid surface or wireframe with a value-map projection on the XY plane. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: make it work out of the boxKoen Kooi2011-07-123-2/+6
| | | | | | | | | | | | | | | | * reuse 'audio' group as access group The current failure is: root@usrp-e1xx:/etc/pulse# pulseaudio --system [..] W: protocol-native.c: Failed to get GID of group 'pulse-access' W: protocol-native.c: Failed to check group membership. W: protocol-native.c: Denied access to client with invalid authorization data. * add more required modules Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: handle embedding of initramfs imagesAndrea Adami2011-07-121-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * "All 2.6 Linux kernels contain a gzipped "cpio" format archive, which is * extracted into rootfs when the kernel boots up." * (http://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt) * * In some cases it can be useful to take advantage of this ability and embed your * customized rootfs ("the move to early userspace is necessary because finding * and mounting the real root device is complex"). * * Therefore, some code was added and since 2009 OpenEmbedded metadata * provides a convenient way to include your initramfs by setting * INITRAMFS_IMAGE = "your_initramfs_image.bb" * and specifying the chosen output format in the initramfs image recipe, e.g. * IMAGE_FSTYPES = "cpio.gz cpio.lzma" * * * Patch was imported from the OpenEmbedded git server * (git://git.openembedded.org/openembedded) * * Add satndalone task "builtin_initramfs". * commit 72761e468bb3e905459f2b81ce1bc4d80419481f * Signed-off-by:Paul Sokolovsky <pmiscml@gmail.com> * * 'Remove usage of non-standard variables (DEPLOY_TO) and random renaming * of output.' * commit 456ba7ffd159821e86ad7ad4b66ec7d5790bd054 * Richard Purdie <rpurdie@rpsys.net> * * 'Fis typo in do_builtin_initramfs.' * commit 37f2fe4b801df832e93553a08eff24fec736c7d4 * Signed-off-by:Paul Sokolovsky <pmiscml@gmail.com> * * 'comment initramfs stuff till rootfs locking works properly (initramfs * should be optional as well)' * commit 2818d8b7be1a0d9a59ad3528091d47517d59328b * Signed-off-by: Koen Kooi <koen@openembedded.org> * * 'get initramfs stuff working * commit 1642b3e8fc81c666713951fdd4e7ff9a50d1c5a8 * Signed-off-by: Thomas Kunze <thommycheck@gmx.de> * * 'Fix INITRAMFS logic to stop breaking builds for people not using it' * commit dcf3049eb9eedf0838af59969b3f70a43298d3d7 * Signed-off-by: Richard Purdie <rpurdie@rpsys.net> * * '-change initramfs-logic' * commit 3e3f297457138e96e2b652658675796853eb0293 * Signed-off-by: Thomas Kunze <thommycheck@gmx.de> * * 'move initramfs stuff to configure so we can do postprocessing * on it with do_configure_append' * commit fc03e2be0b4470748a8b7707cea7293303adc424 * Signed-off-by: Koen Kooi <koen@openembedded.org> * * 'copy gz, lzo, lzma initramfs cpio images.' * commit 572abc3fdd1076ca35d8c15d269cc9d862101805 * Signed-off-by: Andrea Adami <andrea.adami@gmail.com> * * 'move the kernel size check to linux-kexecboot.inc.' * commit 45f82a941c77e9d747814fa1e337ba803475d327 * Signed-off-by: Andrea Adami <andrea.adami@gmail.com> * * Finally, two refinements as discussed on openembedded-core * mailing list: * - replace "if image != '' and image is not None:" with "if image" * - add cpio.xz support Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: add support for tar.xz, cpio.xz, cpio.lzmaAndrea Adami2011-07-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Once we add support for building kernel containing initramfs images * we expect compressed cpio archives. * Thus, add support for lzma and xz compressors for the initramfs images. * While there, add support for tar.xz as done in org.openembedded.dev. * * Patch was imported from the OpenEmbedded git server * (git://git.openembedded.org/openembedded) * * 'bitbake.conf: add cpio and ext4 .xz support' * commit 7977d3325a09e2edf4a8a1b02f48085f88f7a631 * Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> * * 'bitbake.conf: Define tar.xz image types.' * 1fca8dc50a821f4589fa5e339e6e279dd3c0dafe * Signed-off-by: Tom Rini <tom_rini@mentor.com> * * 'bitbake.conf: add XZ_INTEGRITY_CHECK and LZMA_COMPRESSION_LEVEL variables' * commit 312b42bcf2cc9b11266ba497ade68e8ddabb3007 * Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> * * 'bitbake.conf: unbreak and improve lzma image compression handling and adapt * linux-kexecboot.inc' * commit c382a9ce64bf4291572665652138aa01b2e54306 * Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> * Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add support for BAD_RECOMMENDATIONS to rootfs_ipkChris Elston2011-07-121-0/+20
| | | | | | | | | | | | | As discussed on IRC on 30/06/11, this patch adds support for BAD_RECOMMENDATIONS to rootfs_ipk, which is a list of packages NOT to install if suggested or recommended by a recipe. Taken from http://thread.gmane.org/gmane.comp.handhelds.openembedded/30417. Note that current support for this in oe.dev may also be broken, depending on the version of opkg in use. Signed-off-by: Chris Elston <celston@katalix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix for non /usr/lib libdir caseYu Ke2011-07-121-1/+2
| | | | | | | | | | rpm default will use /usr/lib if the --with-path-lib is not specified. this will not work in non /usr/lib libdir case. so this patch add the --with-path-lib to fix this issue. Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: fix for non /usr/lib libdir caseYu Ke2011-07-122-3/+4
| | | | | | | | | | the recipe has hardcoded "lib=lib", which does not work in libdir=/usr/lib64 case where should be "lib=lib64", So this patch fix it by replacing lib with libdir Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix for non /usr/lib libdir caseYu Ke2011-07-121-1/+2
| | | | | | | | | | the config.sh is hardcoded to be /usr/lib, which does not work in non /usr/lib libdir case. This patch replace the hard code /usr/lib with ${libdir} to fix this issue Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: fix for non /usr/lib libdir caseYu Ke2011-07-122-5/+12
| | | | | | | | | | | | the get_python_lib() use hard code "lib". when other recipe building use python-native, the STAGING_LIBDIR is non /usr/lib, so the hard code "lib" will break the build This patch replace the hardcoded "lib" with value from libdir to fix this issue. Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix for libdir=/usr/lib64 caseYu Ke2011-07-122-1/+252
| | | | | | | | | | python has several place hard code "lib" which breaks build when libdir=/usr/lib64. SUSE has a patch to fix this issue. So this patch add the SUSE patch to address this issue Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: fix for non /usr/lib libdir caseYu Ke2011-07-122-2/+2
| | | | | | | | | | | if libdir is not /usr/lib, e.g /usr/lib64, openssl build will fail because it still use /usr/lib as library dir. this patch appends the configure option "--libdir" to specify the correct library directory Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native.bbclass: generate libdir from libdir_nativeYu Ke2011-07-121-0/+2
| | | | | | | | | | | | | currently, the libdir in native.bbclass is inherited from target libdir defined in bitbake.conf. This is not correct in concept, instead, it should be inherited from libdir_native. Current code works because both the target libdir and libdir_native are the same value "/usr/lib". But if libdir changes (e.g. to /usr/lib64), then build will break. This patch make libdir generated from libdir_native to fix this issue. Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix packaging correctlySaul Wold2011-07-122-4/+7
| | | | | | | | | | [YOCTO #1233] This fix directly packages the contents in and adds the lib*.so correctly to the -dev package. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkit-gtk: update SRCREVKoen Kooi2011-07-127-220/+454
| | | | | | | | | | | | | | | | | | | The layout of the repository has changed, so we need to account for that: * fixed license checksums * fixed SRC_URI * fixed SRCREV_FORMAT PCRE is gone, so no need for the dftables hack anymore But most importantly, this fixes the crash issues when using javascript (e.g. github.com) Tested on: * usrp-e1xx/angstrom-2011.07 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio 0.9.15: delete, but keep 0.9.22 and 0.9.23Koen Kooi2011-07-128-1015/+0
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: try harder to disable HALKoen Kooi2011-07-124-5/+4
| | | | | | | This disables linking against (lib)hal but enables the udev-hal compat layer so the hal-detect plugin keeps working. The hal-detect plugin is removed from the default dependencies to discourage its usage, but can be installed manually if needed. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update to 2.8.5 releaseOtavio Salvador2011-07-122-16/+6
| | | | | | Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: remove undistributable copyright content from sourceOtavio Salvador2011-07-121-3/+5
| | | | | | | | | | | The original tarball has two undistributable files that we have removed from the repacked tarball. The issue has been reported upstream at: http://code.google.com/p/libarchive/issues/detail?id=162 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Improve performance by moving files rather than using copy and deleteRichard Purdie2011-07-121-5/+11
| | | | | Acked-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: Switch from a tag to a sepcific revisionRichard Purdie2011-07-121-1/+4
| | | | | | | | | | | | Unfortunately the git fetcher cannot resolve a named tag into a revision without network access. Since its desireable for OE-Core to function in a networkless environment, we need to specify the revision in the recipe which corresponds to the 0.7 tag. [YOCTO #1140] Acked-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: Drop ONLINE_PACKAGE_MANAGEMENT as per mailing list discussionRichard Purdie2011-07-122-2/+2
| | | | | | | Online package management decisions like this are now handled by image.bbclass itself so this code is superfluous to requirements. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: ensure nativesdk uses correct DEPENDS and XCB flagsSaul Wold2011-07-101-3/+10
| | | | | | | The inital patch was for native, but nativesdk also needs the same change. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tcmode-default: update binutils versionSaul Wold2011-07-101-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libx11: enable xcb supportSaul Wold2011-07-081-3/+8
| | | | | | | | | | [YOCTO #1196] XCB support is needed in libx1l, it has been enabled in libx11-trim for sometime and was not in full version. The usage here is for LSB testing, which uses full libx11. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: add RDEPENDS for bash on eglibc-utilsSaul Wold2011-07-081-1/+1
| | | | | | | | | | | | [YOCTO #1214] The eglibc-utils contains 2 scripts (tzselect and xtrace) that use bash, so add an RDEPENDS to eglibc-utils. This also removes libsotruss as it's currently not built, it was not previously depended on because it was mis-spelled as "EDEPENDS" Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: unbash ldd (from oe.dev)Saul Wold2011-07-081-2/+1
| | | | | | | | | | | | | (From oe-dev rev: 0a831e2cd1c27d30cd76ddada9a44a703ab60f41) * replace shebang of ldd by /bin/sh, so ldd doesn't depend on bash anymore. Tested with busybox sh. * added to do_configure_prepend because do_patch is only a python function Signed-off-by: Thomas Zimmermann <ml@vdm-design.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rootfs_rpm: Add 50M to IMAGE_ROOTFS_EXTRA_SPACE for zypper /var spaceSaul Wold2011-07-081-0/+4
| | | | | | | | | | | [YOCTO #1171] This is a temporary fix to address the fact that zypper's db configuation uses a large amount of /var space. When the correct'ed zypper config can be applied, this fix can be removed. The zypper bug for yocto is 1174 http://bugzilla.pokylinux.org/show_bug.cgi?id=1174 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: avoid copying ${libdir} twice if it's the same as ${base_libdir}Phil Blundell2011-07-081-2/+4
| | | | | | | | Otherwise the following "mv ${libdir}/gconv" fails because the destination has already been created. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-common.bbclass: Fix typoRichard Purdie2011-07-081-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* combo-layer-tool: add tool to manipulate combo layersYu Ke2011-07-083-0/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the script "combo-layer" to manipulate combo layer repos. A combo layer repo is a repo containing multiple component repos, e.g. oe-core, bitbake, BSP repos. The combo layer repo needs to be updated by syncing with the component repo upstream. This script is written to assist the combo layer handling. The combo layer tool provides three functionalities: - init: when the combo layer repo and component repo does not exist, init will "git init" the combo layer repo, and also "git clone" the component repos - update: combo layer tool will pull the latest commit from component repo upstream, and apply the commits since last update commit to the combo repo. If the user specifies interactive mode(--interactive), they can edit the patch list to select which commits to apply. - splitpatch: split the combo repo commit into separate patches per component repo, to facilitate upstream submission. Combo layer tool uses a config file to define the component repo info. Please check the combo-layer.conf.example for a detailed explanation of the config file fields. Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* insane.bbclass: fix error/warning status being invertedPaul Eggleton2011-07-081-2/+2
| | | | | | | | Fix package_qa_handle_error so that it returns the correct values in order to determine error/warning status. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: allow dev-deps to be skipped via INSANE_SKIPPaul Eggleton2011-07-081-1/+1
| | | | | | | | Add the missing check in package_qa_check_rdepends to allow dependencies from non-development packages on development packages to be skipped. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* [bug 1195] site/mips-common: Cache cvs_cv_func_printf_ptrKhem Raj2011-07-081-0/+3
| | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* eglibc: bump PR for OLDEST_KERNEL changePaul Eggleton2011-07-082-2/+2
| | | | | | Bump PR as eglibc should be rebuilt for the new OLDEST_KERNEL value. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* bitbake.conf: update OLDEST_KERNEL to 2.6.16Paul Eggleton2011-07-081-1/+1
| | | | | | | | Since we no longer support 2.4, update this setting to 2.6.16, to line up with the most accepted setting from OE. (This affects eglibc's kernel support, and 2.6.16 is the minimum version for glibc 2.9 onwards.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* cmake: update to 2.8.5-rc3Otavio Salvador2011-07-084-24/+36
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cmake: add nativesdk and target versionsOtavio Salvador2011-07-082-0/+67
| | | | | | | | | | Adds a recipe that provides the nativesdk and target versions of CMake. This recipe is based on code from OpenEmbeeded (rev b1f2e1501c19540617a829b37415c0616101c7ad). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libarchive: add 2.8.4 versionOtavio Salvador2011-07-088-0/+284
| | | | | | | This recipe has been imported from OpenEmbedded (rev 6db4b9050e0e8b963e2a6b63790e48e3042ea99e). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* usbutils: Add RDEPENDS on bashSaul Wold2011-07-081-2/+3
| | | | | | [YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* cmake.bbclass: use CPPFLAGS and CXXFLAGSOtavio Salvador2011-07-081-4/+4
| | | | | | | | | Some classes, as for example nativesdk, defines CPPFLAGS and CXXFLAGS to be passed to compiler. Using those makes more sense and avoid some hacks on packages using CMake. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: fix compilations issue with the gcc 4.7Nitin A Kamble2011-07-0817-1/+75
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gcc-runtime: fix installed but unpackaged filesNitin A Kamble2011-07-081-1/+1
| | | | | | | | | | | | gcc recipes has changed, currently ${PV} is 4.6 and ${BINV} is 4.6.1 version. Fix these QA warnings. WARNING: For recipe gcc-runtime, the following files were installed but not shipped in any package: WARNING: /usr/share/gcc-4.6.1/python/libstdcxx/__init__.py WARNING: /usr/share/gcc-4.6.1/python/libstdcxx/v6/__init__.py WARNING: /usr/share/gcc-4.6.1/python/libstdcxx/v6/printers.py Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* distro tracking: update devel.toolchain recipes's fieldsNitin A Kamble2011-07-081-14/+19
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gmp: upgrade from 5.0.1 to 5.0.2Nitin A Kamble2011-07-081-2/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* binutils: upgrade from 2.21 to 2.21.1Nitin A Kamble2011-07-0817-861/+871
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* cmake: refactor recipeOtavio Salvador2011-07-082-3/+7
| | | | | | | | | * use INC_PR; * show configure's failure on error; * gather major version from PV; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Add RDEPENDS on bashSaul Wold2011-07-081-1/+2
| | | | | | [YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* quilt: Add RDEPENDS on bashSaul Wold2011-07-082-1/+3
| | | | | | [YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* image.bbclass: Add LINGUAS_INSTALL to dependency listRichard Purdie2011-07-081-1/+1
| | | | | | | | | | | | | | | Currently if there are locales to install in the image the appropriate packages might not automatically get built since there is no dependency being exposed to bitbake. This patch exposes the missing dependencies to bitbake through the RDEPENDS field hence ensuring images build successfully when locales are added but not depended upon anywhere else in the build. [YOCTO #1215] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: Add RDEPENDS on bashSaul Wold2011-07-082-1/+3
| | | | | | [YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>