summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* gcc-package-cross.inc: Mark do_package* tasks as noexecRichard Purdie2012-01-231-0/+5
| | | | | | | These tasks don't do anything, this just avoids the overhead of forking to exec them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Switch to the OEBasic signature generatorRichard Purdie2012-01-231-2/+1
| | | | | | | | | This signature generator will allow easier customisation of which task dependencies get included in the signatures using the code in lib/oe/sstatesig.py. Compared the the regexp, this function is much easier to understand and customise. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe: Add sstatesig, OE specific signature generator classesRichard Purdie2012-01-232-1/+49
| | | | | | | | | | | | | This patch adds SignatureGenerator classes specific to OE. For now, these emulate the previous behaviour with the exception that dependencies on quilt-native are now ignored for checksum purposes. The intent is to allow easier experimentation and customisation of this code in future as a result of these changes. Note that these changes require pending bitbake patches. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Incrase bitbake minimum version requirement to 1.15.1Richard Purdie2012-01-231-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Ensure that the shared source directory shared the same sstate hashesRichard Purdie2012-01-234-17/+18
| | | | | | | | | | | | | | | | | | | | The fetch/unpack/patch/headerfix tasks are shared and hence their sstate hashes should also match. Sadly this is not the case since: a) gcc-runtime applies an additional patch b) The do_headerfix task was missing from libgcc c) The do_headerfix task is a shell task and hence depends on all exported variables which can vary between cross and target recipes. To fix this, the patch moves the patch to the common code, adds the headerfix task to a common include file and disabled shell dependencies on the do_headerfix task since its clear in this case we don't need thsoe dependencies since we just call sed. With this patch applied, all these recipes now share common sstate checksums. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking: update libpng, libgdbus, opensp, nfs-utils manual check datesScott Garman2012-01-201-8/+11
| | | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory_analysis: include related fields in outputPaul Eggleton2012-01-191-25/+64
| | | | | | | | | | | | | | | | | | | | | | | | | Sometimes, when a value changes in the buildhistory it is useful to know when a related (but not necessarily itself monitored) value changes as it can help explain the change. For example, when the list of installed packages for an image changes it could be caused by a change to one of the image-related variables. Related field changes are recorded as sub-items of each change. Currently the only way to visualise these is via the buildhistory-diff tool, so an example would be: Changes to images/qemux86/eglibc/core-image-minimal (installed-package-names.txt): locale-base-de-de was added procps was added * IMAGE_LINGUAS: added "de-de" * IMAGE_INSTALL: added "procps" Here we see that two additional packages have been added to the image, and looking at the related changes to the two variables IMAGE_INSTALL and IMAGE_LINGUAS we have the explanation as to why. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/patch: avoid backtrace when patch does not applyPaul Eggleton2012-01-192-6/+9
| | | | | | | | | | | | We don't need to see a Python stack backtrace when a patch does not apply, just the error output from patch, so trap these kinds of errors and ensure that we display the message and fail the task and nothing else. Fixes [YOCTO #1143] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-base: rename VIRTUAL-RUNTIME-alsa-state to use underscoreMartin Jansa2012-01-192-2/+2
| | | | | | | | | | * in http://lists.linuxtogo.org/pipermail/openembedded-core/2012-January/016226.html we talked about VIRTUAL-RUNTIME_alsa-state, but VIRTUAL-RUNTIME-alsa-state was used instead, which is inconsistent with other VIRTUAL-RUNTIME vars Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hdparm: remove PRIORITYPaul Eggleton2012-01-191-1/+0
| | | | | | | | | PRIORITY is no longer set in recipes in OE-Core, so remove it. (Since "optional" is the default value from bitbake.conf, no PR bump is necessary.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory_analysis: improve field handling robustnessPaul Eggleton2012-01-191-10/+19
| | | | | | | | | | | | | | | Avoid errors when comparing changes for KEY = value files (package info files and image-info.txt): * Handle keys appearing and disappearing - this will help to handle PE in package info files (which is only written when it is not blank) and when we add additional fields in future. * Handle when old value is 0 for numeric field (avoid division by zero) * Report when numeric field was empty or missing rather than 0 (but still treat it as 0 for comparison purposes) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory_analysis: correctly handle whitespace when splitting listsPaul Eggleton2012-01-191-2/+2
| | | | | | | | | | Don't specify any argument to the split() function when handling changes to list type variables (e.g. PACKAGES) so that the values are split by any whitespace and only split once for a block of multiple whitespace characters. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: record additional image infoPaul Eggleton2012-01-192-22/+47
| | | | | | | | | | | | | | | Record some additional information about images - the uncompressed size of the final image as well as the values of various variables that may have influenced its contents. This is recorded in a machine-readable "image-info.txt" file similar in structure to the package history files. Also add some code to analyse changes to these values. (Most of the variable values aren't monitored directly but will be used as contextual information when they change at the same time as the content of the image changing.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi-native: fix errors with automake 1.11.2Nitin A Kamble2012-01-192-5810/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces earlier patch (grub-1.99_fix_for_automake_1.11.2.patch) which did not work on all distros. Fixes these errors observed with automake 1.11.2 The useof pkglibhas become more strict compared to the earlier release of automake resulting in these failures. Fixed the files related to automake to avoid the issue. | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | Makefile.am:6: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* autogen-native: new recipe for grub-efi-nativeNitin A Kamble2012-01-191-0/+24
| | | | | | | | | | | | | grub-efi-native build is failing due to missing autogen command. Hence created this recipe. The newer versions of autogen 5.13 & 5.14 both are dumping core while building from source, so going back to the working 5.12 version. Also noticed that no distro vendor has picked up 5.13 or 5.14 versions of autogen yet. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* guile: new recipe for autogenNitin A Kamble2012-01-196-0/+249
| | | | | | | | | guile recipe is needed by autogen. Imported & updated the guile-cross-config generation & guile-2.0.pc manipulation code from the meta-oe guile recipe. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libunistring: new recipe for autogenNitin A Kamble2012-01-191-0/+28
| | | | | | | libunistring recipe is needed by guile. And guile is needed by autogen. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* bdwgc: new recipe for autogenNitin A Kamble2012-01-191-0/+37
| | | | | | | | | | | | This recipe is needed by guile. And guile is needed for autogen. As per Beth's recommondation changed the license specification of the recipe as LICENSE = "MIT & FSF-Unlimited & GPL-2.0" Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* enchant: refactor packages for staticdevSaul Wold2012-01-191-2/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* boost: refactor packages for staticdevSaul Wold2012-01-191-3/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* js: refactor packages for staticdevSaul Wold2012-01-191-2/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* db: refactor packages for staticdevSaul Wold2012-01-191-3/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* attr/acl: refactor packages for staticdevSaul Wold2012-01-193-8/+8
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* liba52: refactor packages for staticdevSaul Wold2012-01-191-3/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gst-openmax: refactor packages for staticdevSaul Wold2012-01-191-2/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gnutls: Fix configure issue wrt to rmKhem Raj2012-01-191-2/+2
| | | | | | | | | | | | | Add -f option so if the files dont exist then we can still continue. Fixes errors like | + do_configure | + for dir in . lib libextra | + rm ./aclocal.m4 ./m4/libtool.m4 './m4/lt*.m4' | rm: cannot remove `./m4/libtool.m4': No such file or directory | rm: cannot remove `./m4/lt*.m4': No such file or directory Signed-off-by: Khem Raj <raj.khem@gmail.com>
* distro-tracking: add data for newer recipesNitin A Kamble2012-01-191-0/+21
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* distro-tracking-fields: claim responsibility for udev, dpkg, apt, v86dJoshua Lock2012-01-191-16/+22
| | | | | | | | | | Nominate myself to be on the hook for updates to the udev, dpkg, apt and v86d recipes. Add a copy of the clutter-1.8 metadata without the namespace to keep the tools happy when they find the clutter_git recipe. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* xinput: add utility for configuring and testing XInput devices.Andrea Adami2012-01-191-0/+14
| | | | | | | * from meta-openembedded with minor editings * (fields reordering like other recipes in xorg-app) Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* e2fsprogs_1.42.bb: Fix build fallout for uclibcKhem Raj2012-01-192-1/+24
| | | | | | | | | | | e2fsprogs 1.42 onwards uses fallocate() which uclibc does not implement(yet). In most of places its use is controlled and it only used when configure detects fallocate being present but in this one case it missed to check for fallocate being available so here we add the check Signed-off-by: Khem Raj <raj.khem@gmail.com>
* adt-installer: install autoconf(/automake)-nativesdkLianhao Lu2012-01-192-13/+7
| | | | | | | [YOCTO #1909] Install autoconf-nativesdk and automake-nativesdk to host. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* uclibc: Upgrade to latest masterKhem Raj2012-01-1914-860/+134
| | | | | | Document the patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-yocto: restore WORKDIR as a patch source directoryBruce Ashfield2012-01-191-0/+2
| | | | | | | | | In the switch to using src_patches and using patches in their source directory, the scanning of WORKDIR migrated items like config fragments was dropped. Adding WORKDIR back as a patch directory restores the old functionality. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* site/ix86-common: fix an errorNitin A Kamble2012-01-191-1/+1
| | | | | | | | | | | | Fixed this line ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_int=1} as this line ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} This issue was causing guile recipe to compile-fail for x86 target. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* pkgconfig: Move pkg.m4 from -dev to packageSaul Wold2012-01-192-1/+3
| | | | | | | | | | If pkgconfig is installed you're doing development work and the -dev package makes little sense in the pkgconfig case. Keeping the .m4 file associated with the main package therefore makes more sense than having the user install both. [YOCTO #1908] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gnutls: Fix compilation on uclibcKhem Raj2012-01-192-2/+61
| | | | | | Examples do not compile correctly on latest uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsoup: Update package from v2.2.100 to v2.2.105Andrei Gherzan2012-01-192-4/+1189
| | | | | | | | I included a patch as well to solve a compile error. In this package, a dfprinf function is declared. It will fail as eglibc provides it's function as well. So i renamed libsoup's dprintf function into dprinfsoup. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* chkconfig: Update package from v1.3.55 to v1.3.57Andrei Gherzan2012-01-191-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* busybox: enable dropping of duplicates in syslog, off by defaultJoshua Lock2012-01-194-2/+6
| | | | | | | | | | Busybox syslog includes functionality to drop duplicated syslog entries, enable this feature in the defconfig yet disable it by default. Expose configuration of the feature through the syslog-startup.conf file and the syslog init script. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: change syslog default to log to a fileJoshua Lock2012-01-191-1/+1
| | | | | | | | | | | This changes the default in syslog-startup.conf to log messages to a file (/var/log/messages) because: a) we already mount /var/log as a volatile mount by default b) users are accustomed to looking at /var/log/messages as most distributions don't ship with logread Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: enable log level configuration in syslog-startup.conf and scriptJoshua Lock2012-01-192-0/+4
| | | | | | | | | | It's possible to configure busybox syslog to only log messages above a certain level, expose this functionality through the syslog-startup.conf and syslog init script. Valid values are 1-8 inclusive. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: remove incorrect comments from syslog-startup.confJoshua Lock2012-01-191-2/+2
| | | | | | Setting rotation size and generations is supported with busybox syslogd Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: drop MARKINT option from init script and syslog-startup.confJoshua Lock2012-01-192-4/+0
| | | | | | | | | This option has been disabled in busybox since 2007 as it was deemed too buggy. See: http://git.busybox.net/busybox/commit/?id=4998c818919477d90674a3f220e7407c26da17f9 Signed-off-by: Joshua Lock <josh@linux.intel.com>
* pango.inc: fix /etc/pango -> /${sysconfdir}/pango/*Saul Wold2012-01-191-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* busybox: defconfig modified in order to activate CONFIG_EXPR_MATH_SUPPORT_64Andrei Gherzan2012-01-191-1/+1
| | | | | | | | | | Enable 64-bit math support in the expr applet. This will make the applet slightly larger, but will allow computation with very large numbers. [YOCTO #1767] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* m4: A better refactoringSaul Wold2012-01-197-32/+33
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* package_rpm.bbclass: Add support for filenames with spacesMark Hatle2012-01-171-4/+4
| | | | | | | | Files with spaces must be fully quoted in an RPM spec file. It was easier to quote all file paths, then to do it selectively. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox/uglibc: remove obsolete check for "kernel24"Andrei Gherzan2012-01-172-6/+2
| | | | | | | | | | | Busybox checks if MACHINE_FEATURES contains "kernel24". If so, CONFIG_FEATURE_2_4_MODULES will be on "y". kernel24 is no longer present in any machine configuration. The same situation is in uglibc with a different CONFIG mapping. [YOCTO #1901] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls.inc: set libz prefixMartin Jansa2012-01-171-1/+2
| | | | | | | | | | | | | | | | | | | * without this patch host's zlib is used, similar to issue with libreadline it's important if host's zlib is compatible with MACHINE and in this case zlib was in DEPENDS so header was always available in sysroot lib/config.log: configure:18288: checking whether to include zlib compression support configure:18291: result: yes configure:18786: checking for libz configure:18808: x86_64-oe-linux-gcc -m64 --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -I/OE/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c /usr/lib/libz.so >&5 configure:18808: $? = 0 configure:18818: result: yes configure:18825: checking how to link with libz configure:18827: result: /usr/lib/libz.so Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: add readline to DEPENDS and add --with-libreadline-prefixMartin Jansa2012-01-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * without this patch it looks for readline in host's /usr/lib a) and fails if readline wasn't built before gnutls, because -I is set and cannot find header file, this case is better configure:33131: checking for readline configure:33156: x86_64-oe-linux-gcc -m64 --sysroot=/OE/oe-core/tmp-eglibc/sysroots/qemux86-64 -std=gnu99 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -I/OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c /usr/lib/libreadline.so >&5 conftest.c:240:31: fatal error: readline/readline.h: No such file or directory b) and finds usable version there if readline was built and MACHINE is compatible with host (like qemux86-64 on amd64 host) and then it's passing -L/usr/lib (without sysroot prefix) to every build using libgnutls.la configure:33131: checking for readline configure:33156: x86_64-oe-linux-gcc -m64 --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -std=gnu99 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -I/OE/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c /usr/lib/libreadline.so >&5 configure:33156: $? = 0 configure:33173: result: yes configure:33185: checking how to link with libreadline configure:33187: result: /usr/lib/libreadline.so configure:33199: checking readline/readline.h usability configure:33199: x86_64-oe-linux-gcc -m64 --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -std=gnu99 -c -O2 -pipe -g -feliminate-unused-debug-types -I/OE/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include conftest.c >&5 configure:33199: $? = 0 configure:33199: result: yes configure:33199: checking readline/readline.h presence configure:33199: x86_64-oe-linux-gcc -E --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -m64 -I/OE/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include conftest.c configure:33199: $? = 0 configure:33199: result: yes configure:33199: checking for readline/readline.h configure:33199: result: yes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>