summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* openjade-native: fix undefined Getopts error, use std namespaceDennis Lan2012-10-102-1/+46
| | | | | | | | | | | | | | | | | | | | | | | Using Gentoo Linux as the build host, it fails without this patch Use Getopt::Std in place of getopts.pl. https://bugs.gentoo.org/show_bug.cgi?id=420083 which following error: /usr/bin/perl -w ./../msggen.pl -l jstyleModule InterpreterMessages.msg /usr/bin/perl -w ./../msggen.pl -l jstyleModule DssslAppMessages.msg Undefined subroutine &main::Getopts called at ./../msggen.pl line 22. make[2]: *** [InterpreterMessages.h] Error 2 make[2]: *** Waiting for unfinished jobs.... Undefined subroutine &main::Getopts called at ./../msggen.pl line 22. make[2]: *** [DssslAppMessages.h] Error 2 (from OE-Core rev 169a89b10817b742c063fcd76721e4dbbcca6199) (From OE-Core rev: 7c7dcb05685d840c70474d409f6a58ae459c46f0) Signed-off-by: Dennis Lan <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteconfig: Clear cache before rebuildingRichard Purdie2012-10-101-0/+1
| | | | | | | | | | | This ensures consistent build results and avoids build failures when compiler flags change for example. (From OE-Core rev: a5ff8396cad130f809f8f8da49bb38e6f80f923c) (From OE-Core rev: b21d1daf709ddce14c93a5f16c91ff702e1cb7ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Update SRC_URI to use GNU_MIRRORDarren Hart2012-10-101-2/+2
| | | | | | | | | | | | The current SRC_URI fails. Update it with the GNU_MIRROR SRC_URI from upstream commit 753b22012f10c393c191d3116b9d38ee4be6d112. (From OE-Core rev: 8430748e838872b22fe0e83a7dbf3a2a5b1faba2) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: John Howard <john.howard@intel.com> CC: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/cml1: ensure -c menuconfig forces a rebuild next timePaul Eggleton2012-10-101-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure the following results in the kernel being rebuilt, repackaged and re-deployed in the final step: bitbake virtual/kernel bitbake -c menuconfig virtual/kernel [ make changes to the kernel configuration and save ] bitbake virtual/kernel If there are no changes to the configuration saved, the rebuild will not be triggered. Note that this relies on a function recently added to BitBake and requires full hashing (i.e. BB_SIGNATURE_HANDLER must be set to a signature handler that inherits from BasicHash) - if this is not the case or the function is not available in the version of BitBake being used this change will do nothing. Fixes [YOCTO #2256]. (From OE-Core rev: 9bf6b60e1599cf5dd87089d42584583cdfd6807a) (From OE-Core rev: a9600e68e64a111be4cb934e14b914fa553b5654) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: don't mount with -o syncJesse Zhang2012-10-102-2/+2
| | | | | | | | | | | | mount.sh mounts all partitions with -o sync, which is bad for system performance. (From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c) (From OE-Core rev: 44c102386c9bca17743d2edd1f94d4071974204d) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Save proxy settingsBogdan Marinescu2012-10-012-33/+43
| | | | | | | | | Proxy settings were not properly saved between Hob runs. This fix is mostly a backport of code in master. [YOCTO #3024] Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
* bitbake: hob: format error messages properlyPaul Eggleton2012-10-011-1/+3
| | | | | | | | | | | | | Error messages that use arguments need to be formatted properly, or we don't get the full message. Use a formatter to do this when an error occurs. Partial fix for [YOCTO #2983]. (Bitbake rev: 6783538884adecd914909a9ab4ca73c27575f3ad) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: add distros that work correctlyMatthew McClintock2012-10-011-0/+2
| | | | | | | | | | | | All the builds pass for these distros as well atom-pc, beagleboard, mpc8513e-rdb, routerstationpro As well as other powerpc targets: p1022ds, p4080ds, p5020ds, p5020ds-64b Signed-off-by: Matthew McClintock <msm@freescale.com>
* bitbake: hob: ensure error message text is properly escapedPaul Eggleton2012-10-011-2/+3
| | | | | | | | | | | | | Our lack of markup escaping was causing invalid markup, leading to the error dialog being blank. Use the glib markup escaping function provided by PyGTK+ to do this properly and avoid the blank error dialogs. Partial fix for [YOCTO #2983]. (Bitbake rev: 563ea5233a5ab1629c51e802d04280692f96c596) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg: Use STAGING_KERNEL_DIRDarren Hart2012-09-281-1/+1
| | | | | | | | | | | | | | | | | bootimg.bbclass using STAGING_DIR_HOST/kernel instead of STAGING_KERNEL_DIR, resulting in build failure of live images. | install: cannot stat `/usr/local/dev/yocto/fishriver-test/build/tmp/sysroots/fishriver/kernel/bzImage': No such file or directory Replace it with STAGING_KERNEL_DIR. (From OE-Core rev: 8f16811a8d51982a8b3d70e6087aef4a41926840) (From OE-Core rev: 032bd9a856f9ca0b43dff272bd4f95481aa46597) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Tested-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* texi2html: Fix perl location on recent distrosRichard Purdie2012-09-281-1/+5
| | | | | | | | | | | | This fixes errors like: | error: Failed dependencies: | /bin/perl is needed by texi2html-5.0-r1.i586 (From OE-Core rev: d4c27021ffc813732526ab9ae6969e5ae0bdf7e8) (From OE-Core rev: f28dcaf565050d5c857c3d09164104410a2e4173) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Ensure dbus-nativesdk doesn't RPROVIDE dbus-x11Richard Purdie2012-09-281-2/+5
| | | | | | | | | dbus-x11 should not RPROVIDE dbus-x11 as this is incorrect and confuses builds. This fixes the nativesdk case. (From OE-Core rev: f4cc32585f9ac392460991b46b8cfa7a347a27e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: include dbus-launch in the main dbus packageRadu Moisan2012-09-281-4/+6
| | | | | | | | | | | | | | | | | | | Followed suggestions from Bugz 2261: 2) make the virtual/libx11 DEPENDS conditional based on the x11 distro feature. This makes the build dependencies reflect the feature list. 3) remove dbus-x11, meaning that dbus-launch with its potential X11 dependency is now back in dbus where is belongs. 4) make dbus provide dbus-x11, for compatibility. Fixes [Yocto #2261] (From OE-Core rev: 9bf6d834312581e8b8741fb9d1621e4c40de5687) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Use fw_env.config if avaliableFranklin S. Cooper Jr2012-09-283-7/+13
| | | | | | | | | * Add support for board specific fw_env.config file if avaliable (From OE-Core rev: 4bc2151d6bb500b0489bc00bce7574dc24f41b90) Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: remove ConsoleKit dependencyRoss Burton2012-09-282-2/+2
| | | | | | | | | | ConsoleKit is a runtime dependency for the ConsoleKit module, but there isn't a build-time dependency. (From OE-Core rev: ebfc81f57bbc60e958472d9a1257e6a19f60adbb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: fix pulseaudio-server RDEPENDSMartin Jansa2012-09-282-2/+2
| | | | | | | | | | * module-cork-music-on-phone was renamed to module-role-cork http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=3c5cc345472302b9511c19244b3eceb4a3674d8c (From OE-Core rev: b102849a145ca6602ac8e499b1420672d290c11b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: Always enable NLSKhem Raj2012-09-282-1/+5
| | | | | | | | | | | | When NLS is disabled e.g. on uclibc the build fails The actual problem is that pulseaudio build system should cater for it but it does not (From OE-Core rev: b7d10637059b2352bcca45bc15b26d0dd056e78f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: upgrade to 2.1Constantin Musca2012-09-281-2/+2
| | | | | | | | (From OE-Core rev: 540093fd9f52c86e6803554e2796668227bb89b5) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomics-ops: update to the latest version 7.2Xin Ouyang2012-09-286-295/+3
| | | | | | | | | | | | | | | | | | | All old patches are droped because: Merged into 7.2 by upstream: * fedora/libatomic_ops-1.2-ppclwzfix.patch * gentoo/libatomic_ops-1.2-mips.patch * gentoo/sh4-atomic-ops.patch * libatomics-ops_fix_for_x32.patch Obsolete: * doublefix.patch (From OE-Core rev: 59afdbbddbacf5d9c668bb8f011c8f150421d498) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcanberra: upgrade to 0.29Cristian Iorga2012-09-281-7/+7
| | | | | | | (From OE-Core rev: 074c34617a361a589665774ac8d9060a4ef4ef82) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: upgrade to 2.0Cristian Iorga2012-09-282-5/+4
| | | | | | | | | | | (From OE-Core rev: 961872787ac2c2b18d4589967e68a60ab3a4cc86) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-multimedia/pulseaudio/pulseaudio_2.0.bb
* pulseaudio: fix typo in the patch name, pulseaudo -> pulseaudioDenys Dmytriyenko2012-09-282-1/+1
| | | | | | | | | No PR bump is needed. (From OE-Core rev: ac3edffa2586064ff480b89e80b608f14e566fa7) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomics-ops: Make it build for SH4Khem Raj2012-09-282-2/+74
| | | | | | | (From OE-Core rev: fc47820982aea41f2b0fdd4d87fb0242bf7346dd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: disable tcpwrap by defaultSaul Wold2012-09-282-1/+2
| | | | | | | | | | | | | This ensures that tcpwrapper usage is always disabled, this was inconsistent because it would test for libwrap and sometimes enable and sometimes not. This ensures consistent build reproducibility. (From OE-Core rev: 5b3d18d12fff156d4d360b779eb4ae78a480ce10) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: fix packaging issue after updateSaul Wold2012-09-281-2/+2
| | | | | | | | | | | | WARNING: QA Issue: bluez4: Files/directories were installed but not shipped /usr/share/dbus-1 /usr/share/dbus-1/system-services /usr/share/dbus-1/system-services/org.bluez.service (From OE-Core rev: 5c52472af73ed91970096eed3d216fdbc7ff42d2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: update to ver. 4.101Cristian Iorga2012-09-283-5/+4
| | | | | | | (From OE-Core rev: 6e6407e9a8c59cb51685c4b767b62eacb8dbf852) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugin-bluetooth: update to ver. 4.101Cristian Iorga2012-09-281-4/+3
| | | | | | | (From OE-Core rev: 6d1bbc26d27506e5dd5c32013ea5074c5c5a342d) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez-hcidump: upgrade to version 2.4Dongxiao Xu2012-09-281-2/+2
| | | | | | | (From OE-Core rev: 4934e54821ed19fb98ea7691af6a2d3bcb1922f7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: make alsa support conditional upon DISTRO_FEATURESJonas Danielsson2012-09-282-3/+6
| | | | | | | | | Do not enable alsa in bluez4 unless it's included in DISTRO_FEATURES. (From OE-Core rev: f6297d648b1464719d1e1e42e99d473b69a13e56) Signed-off-by: Jonas Danielsson <jonas.danielsson@lundinova.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcp: remove dependency of dev/staticdev packages on main packagePaul Eggleton2012-09-282-1/+3
| | | | | | | | | | | | | | | | The main package is empty and is not produced, which leaves the dev and staticdev packages broken. Remove the dependencies (added in bitbake.conf by default) to fix this. (From OE-Core rev: 5380c65e819d82f783cb75aa21db7c73bb445189) (From OE-Core rev: 02dc5c9b7b1f21c9f8d9a9299933fa88dc16c542) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/mirrors: remove bogus gnutls mirrorPaul Eggleton2012-09-281-1/+0
| | | | | | | | | | | | | | | | | | This mirror entry which maps to itself plus a slash, if matched, put the fetcher into a circular loop until the stack space is exhausted. A patch has been sent to fix this issue in BitBake, but we should remove the bogus entry as well. (Note that this entry does not actually trigger the issue with current master because the gnutls recipe now uses GNU_MIRROR instead of ftp.gnutls.org, thus the bogus mirror entry is not matched.) (from OE-Core rev 0de1827a9601143b090f751ea702fdb65a936b77) (From OE-Core rev: 31ec9690c37c3a57e557684cbf5e5a4069bd57b7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items ↵Matthew McClintock2012-09-281-3/+7
| | | | | | | | | | | | | | to check Right now, we delay running the serial console checks to we boot up. This causes issues for read only file systems. So, if have not configured any serial ports to check via SERIAL_CONSOLES_CHECK we can skip the check at boot. This fixes any issues with read only file systems and ipk packaging. (From OE-Core rev: 2136030c1d240d9b8f123e3c8af5dacf66e86ab4) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Fix packaging issueSaul Wold2012-09-281-1/+1
| | | | | | | | | | | | | | | Remove /etc since it is empty, when creating a machine that does not deliver any module config files, the /etc is empty and is then warned about not being shipped, so we remove it. This occurs in the routerstationpro with the following warning: WARNING: For recipe linux-yocto, the following files/directories were installed but not shipped in any package: WARNING: /etc (From OE-Core rev: 961498e3b4c4a93070bf278e67fc48c02333cd63) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind_3.7.0.bb: fix missing leading space on _appendMatthew McClintock2012-09-281-2/+2
| | | | | | | (From OE-Core rev: a175e09d1b0be85d8cbc58672485ec5ee5475ae2) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Add functionality to force a clean of ${B} when ↵Richard Purdie2012-09-281-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reconfiguring (and ${S} != ${B}) Unfortunately whilst rerunning configure and make against a project will mostly work there are situations where it does not correctly do the right thing. In particular, eglibc and gcc will fail out with errors where settings do not match a previously built configuration. It could be argued they are broken but the situation is what it is. There is the possibility of more subtle errors too. This patch adds removal of the build directory (${B}) when configure is rerunning, the sstate checksum for do_configure has changed and ${S} != ${B}. We could simply use a stamp but saving out the previous configuration checksum adds some data at no real overhead. If we find there are things where we want to disable this behaviour with CONFIGURESTAMPFILE = "" in the recipe, or users could disable it globally. [YOCTO #2774] [YOCTO #2848] This is particularly helpful for eglibc and gcc which use split builds by default and are a particular source of reconfigure type problems. (From OE-Core rev: f15f61af77cc4e52a037f509f8e49e1ea530cf35) (From OE-Core rev: 14fc04e480aaf1cb5cd9d3a04a5b38d2fda115b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.15: make patch only for Freescale machinesMatthew McClintock2012-09-281-2/+3
| | | | | | | | | | | | | | It's only Freescale machines that don't imlpement fsqrt, we don't want this to effect others. This patch was only added after the last release of denzil, so it's not present in the release yet. Also, 2.15 is removed from master so it should only apply to denzil branch (From OE-Core rev: c541f746253fdb6d11cd961c7dff1aca8c2d2703) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix debug info reading error when do memcheck on ppc targetsZhenhua Luo2012-09-282-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | following is the error message: --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /lib/ld-2.13.so: --2263-- Can't make sense of .got section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /home/root/lzh: --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_core-ppc32-linux.so: --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_memcheck-ppc32-linux.so: --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /lib/libc-2.13.so: --2263-- Can't make sense of .data section mapping (From OE-Core rev: 14626cc76210ed6fe40316a311f24147ed8de8be) (From OE-Core rev: a76be502fbb9517c38cd716fa1f21a238b314162) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygtk: Upgrade to 2.24Saul Wold2012-09-282-10/+12
| | | | | | | | | This is needed for the build appliance and Hob also (From OE-Core rev: a0abfd60e8cb78b40278eec85a8d0c722f8ef1e4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: add zip-native, which is needed to build the final zip bundleSaul Wold2012-09-281-1/+2
| | | | | | | | | (From OE-Core rev: 8aeceab5d03fa3c88f0128ce1ac6bfde0d88e1b6) (From OE-Core rev: 9ab2613327fcd4cf811afc52eff92903644e9b11) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: put perf .debug dir in -dbg packageScott Garman2012-09-281-1/+2
| | | | | | | | | | | | | | This is needed to avoid the following QA error: ERROR: QA Issue: non debug package contains .debug directory: kernel-dev path Patch proposed by Matthew McClintock <msm@freescale.com> (From OE-Core rev: df879f191d1e86596444cb30a0a77a785958520c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* relocatable.bbclass: Account for case when ORIGIN is in RPATHScott Garman2012-09-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch was backported from OE-Core rev: 43600df0d4efc976a9451163dd334b4763937932 This fixes a case when RPATH embedded in program have one of its path already relative to ORIGIN. We were losing that path if such a path existed. This patch appends it to the new edited rpath being created when we see it. so RPATH like below (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] would end up being empty but after this patch its kept intact (From OE-Core rev: 9ebb327ae17d1a765fd1499546ccf9076bb93234) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Dont package kxgettext.oKhem Raj2012-09-281-1/+1
| | | | | | | | | | | | | | kxgettext.o is generated when building ppc kernels so we end up with packaging errors like > ERROR: QA Issue: Architecture did not match (20 to 62) on > /work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/packages-split/kernel-dev/usr/src/kernel/scripts/kconfig/kxgettext.o (From OE-Core rev: 21952b62e3fca6c9fe750db62ca2b0587912be8a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: add non-santized kernel providesBruce Ashfield2012-09-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the kernel version string uses characters or symbols that need to be santized for the package name, we can end up with a mismatch between module requirements and what the kernel provides. The kernel version is pulled from utsrelease.h, which contains the exact string that was passed to the kernel build, not one that is santized, this can result in: echo "CONFIG_LOCALVERSION="\"MYVER+snapshot_standard\" >> ${B}/.config <build> % rpm -qp kernel-module-uvesafb-3.4-r0.qemux86.rpm --requires update-modules kernel-3.4.3-MYVER+snapshot_standard % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides kernel-3.4.3-myver+snapshot-standard = 3.4-r0 At rootfs assembly time, we'll have a dependency issue with the kernel providing the santizied string and the modules requiring the utsrelease.h string. To not break existing use cases, we can add a second provides to the kernel packaging with the unsantized version string, and allowing the kernel module packaging to be unchanged. RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}" % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides kernel-3.4.3-MYVER+snapshot_standard kernel-3.4.3-myver+snapshot-standard = 3.4-r0 (From OE-Core rev: 0af1d1412add1baf3f6c1a5cfb2e4f92fb6a85dc) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Add kernel headers to kernel-dev packageDarren Hart2012-09-282-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1614] Add the kernel headers to the kernel-dev package. This packages what was already built and kept in sysroots for building modules with bitbake. Making this available on the target requires removing some additional host binaries. Move the location to /usr/src/kernel Before use on the target, the user will need to: # cd /usr/src/kernel # make scripts This renders the kernel-misc recipe empty, so remove it. As we use /usr/src/kernel in several places (and I missed one in the previous version), add a KERNEL_SRC_DIR variable and use that throughout the class to avoid update errors in the future. Now that we package the kernel headers, drop the kernel_package_preprocess function which removed them from PKGD. All *-sdk image recipes include dev-pkgs, so the kernel-dev package will be installed by default on all such images. (From OE-Core rev: 0e3e88f9f87d1083ddd7dcaa526b3cd7a1cd53ff) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: save $kerndir/tools and $kerndir/lib from pruningBruce Ashfield2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | The kernel source tree in the sysroot has all unecessary source code removed. The existing use case is to support module building out of the sysroot, but as more toolsa are moved into the kernel tree itself there are new use cases for the kernel sysroot source. To avoid putting dependencies on the kernel, and to be able to individually build and package these tools out of the source tree, we can save $kerndir/tools and $kernddir/lib from being removed. This enables tools like perf to be built our of the kernel source in the sysroot, without significantly increasing the amount of source in the sysroot. (From OE-Core rev: 456f97c25488c2f6f6810b1a32781513cc719d8e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinstMartin Jansa2012-09-281-2/+2
| | | | | | | | | | | | * without this, kernel upgrades where KERNEL_VERSION is changed e.g. 3.4.2 -> 3.4.3 generate .dep for running 3.4.2 and after reboot user ends up without any module loaded to make it worse after reboot nothing is upgraded to trigger another kernel(-module) postinst to generate .dep for now running 3.4.3 (From OE-Core rev: 2a7cdf088e484bb123a72826a02c3169a418ed0a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man: make man actually work by installing custom man.configKoen Kooi2012-09-282-3/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom. Before: root@beaglebone:~# man man sh: /usr/bin/gtbl: No such file or directory sh: line 0: echo: write error: Broken pipe gunzip: write: Broken pipe gunzip: error inflating sh: line 0: echo: write error: Broken pipe sh: line 0: echo: write error: Broken pipe After: root@beaglebone:~# man man MAN(1) Manual pager utils MAN(1) NAME man - an interface to the on-line reference manuals SYNOPSIS man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I] [--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi- cation] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] [[section] page ...] ... man -k [apropos options] regexp ... man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ... man -f [whatis options] page ... man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ... man -w|-W [-C file] [-d] [-D] page ... man -c [-C file] [-d] [-D] page ... man [-hV] Check for config name: root@beaglebone:~# rm /etc/man.config root@beaglebone:~# man man Warning: cannot open configuration file /etc/man.config No manual entry for man As a bonus a bunch of references to the buildhost get removed from the config file. (From OE-Core rev: 13d82ecd6b25ff4c34b3639e10113d7ebb33dc88) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man: fix RDEPENDS and reformat recipeKoen Kooi2012-09-281-3/+4
| | | | | | | (From OE-Core rev: f9aba0793123dafffc305c028f10e8f595c5a4ee) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: UPdate to version with python 2.6 fixRichard Purdie2012-09-281-2/+2
| | | | | | (From OE-Core rev: ba2058aa74eb6cd263bd19a8338eeeced734f55c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: bump SRCREVMartin Jansa2012-09-281-1/+1
| | | | | | | | | | | * there are 2 small fixes python-2.6 compatibility missing C option for opkg-build (From OE-Core rev: 825a992af39d4eb75f105241e4cd94624b1dea43) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>