AgeCommit message (Collapse)AuthorFilesLines
2012-10-12bitbake: bitbake: ensure -f causes dependent tasks to be re-runPaul Eggleton4-9/+61
If -f is specified, force dependent tasks to be re-run next time. This works by changing the force behaviour so that instead of deleting the task's stamp, we write a "taint" file into the stamps directory, which will alter the taskhash randomly and thus trigger the task to re-run next time we evaluate whether or not that should be done as well as influencing the taskhashes of any dependent tasks so that they are similarly re-triggered. As a bonus because we write this file as <stamp file name>.taskname.taint, the existing code which deletes the stamp files in OE's do_clean will already handle removing it. This means you can now do the following: bitbake somepackage [ change the source code in the package's WORKDIR ] bitbake -c compile -f somepackage bitbake somepackage and the result will be that all of the tasks that depend on do_compile (do_install, do_package, etc.) will be re-run in the last step. Note that to operate in the manner described above you need full hashing enabled (i.e. BB_SIGNATURE_HANDLER must be set to a signature handler that inherits from BasicHash). If this is not the case, -f will just delete the stamp for the specified task as it did before. This fix is required for [YOCTO #2615] and [YOCTO #2256]. (Bitbake rev: f7b55a94226f9acd985f87946e26d01bd86a35bb) Signed-off-by: Paul Eggleton <> Signed-off-by: Richard Purdie <>
2012-10-10openssl: add deprecated and unmaintained from perl-5.14 to fix ↵Martin Jansa2-1/+60 * openembedded-core/meta/recipes-connectivity/openssl/ * * is using * * do_configure () { * cd util * perl ${STAGING_BINDIR_NATIVE} * ... * * and is using * openssl-1.0.0i/util/ * #!/usr/local/bin/perl * # * # modify the '#!/usr/local/bin/perl' * # line in all scripts that rely on perl. * # * * require ""; * ... * * which was removed in perl-5.16.0 and marked as deprecated and * unmaintained in 5.14 and older: * /tmp/usr/lib/perl5/5.14.2/ * warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl * core distribution in the next major release. Please install it from the * CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, * line @{[(caller)[2]]}.\n"; * * # This library is deprecated and unmaintained. It is included for * # compatibility with Perl 4 scripts which may use it, but it will be * # removed in a future version of Perl. Please use the File::Find module * # instead. (from OE-Core rev c09bf5d177a7ecd2045ef7e13fff4528137a9775) (From OE-Core rev: c15fae372cf75403facc28cf76f973b1279425dd) Signed-off-by: Martin Jansa <> Signed-off-by: Richard Purdie <>
2012-10-10openjade-native: fix undefined Getopts error, use std namespaceDennis Lan2-1/+46
Using Gentoo Linux as the build host, it fails without this patch Use Getopt::Std in place of which following error: /usr/bin/perl -w ./../ -l jstyleModule InterpreterMessages.msg /usr/bin/perl -w ./../ -l jstyleModule DssslAppMessages.msg Undefined subroutine &main::Getopts called at ./../ line 22. make[2]: *** [InterpreterMessages.h] Error 2 make[2]: *** Waiting for unfinished jobs.... Undefined subroutine &main::Getopts called at ./../ line 22. make[2]: *** [DssslAppMessages.h] Error 2 (from OE-Core rev 169a89b10817b742c063fcd76721e4dbbcca6199) (From OE-Core rev: 7c7dcb05685d840c70474d409f6a58ae459c46f0) Signed-off-by: Dennis Lan <> Signed-off-by: Richard Purdie <>
2012-10-10siteconfig: Clear cache before rebuildingRichard Purdie1-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 <>
2012-10-10gnutls: Update SRC_URI to use GNU_MIRRORDarren Hart1-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 <> CC: John Howard <> CC: Scott Garman <> Signed-off-by: Richard Purdie <>
2012-10-10classes/cml1: ensure -c menuconfig forces a rebuild next timePaul Eggleton1-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 <> Signed-off-by: Richard Purdie <>
2012-10-10udev: don't mount with -o syncJesse Zhang2-2/+2 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 <> Signed-off-by: Richard Purdie <>
2012-10-01Save proxy settingsBogdan Marinescu2-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 <>
2012-10-01bitbake: hob: format error messages properlyPaul Eggleton1-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 <> Signed-off-by: Richard Purdie <>
2012-10-01poky.conf: add distros that work correctlyMatthew McClintock1-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 <>
2012-10-01bitbake: hob: ensure error message text is properly escapedPaul Eggleton1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28bootimg: Use STAGING_KERNEL_DIRDarren Hart1-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 <> Tested-by: Tom Zanussi <> Signed-off-by: Richard Purdie <>
2012-09-28texi2html: Fix perl location on recent distrosRichard Purdie1-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 <>
2012-09-28dbus: Ensure dbus-nativesdk doesn't RPROVIDE dbus-x11Richard Purdie1-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 <>
2012-09-28dbus: include dbus-launch in the main dbus packageRadu Moisan1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28u-boot: Use fw_env.config if avaliableFranklin S. Cooper Jr3-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 <> Signed-off-by: Richard Purdie <>
2012-09-28pulseaudio: remove ConsoleKit dependencyRoss Burton2-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 <> Signed-off-by: Richard Purdie <>
2012-09-28pulseaudio: fix pulseaudio-server RDEPENDSMartin Jansa2-2/+2
* module-cork-music-on-phone was renamed to module-role-cork (From OE-Core rev: b102849a145ca6602ac8e499b1420672d290c11b) Signed-off-by: Martin Jansa <> Signed-off-by: Richard Purdie <>
2012-09-28pulseaudio: Always enable NLSKhem Raj2-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 <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28pulseaudio: upgrade to 2.1Constantin Musca1-2/+2
(From OE-Core rev: 540093fd9f52c86e6803554e2796668227bb89b5) Signed-off-by: Constantin Musca <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28libatomics-ops: update to the latest version 7.2Xin Ouyang6-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 <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28libcanberra: upgrade to 0.29Cristian Iorga1-7/+7
(From OE-Core rev: 074c34617a361a589665774ac8d9060a4ef4ef82) Signed-off-by: Cristian Iorga <> Signed-off-by: Richard Purdie <>
2012-09-28pulseaudio: upgrade to 2.0Cristian Iorga2-5/+4
(From OE-Core rev: 961872787ac2c2b18d4589967e68a60ab3a4cc86) Signed-off-by: Cristian Iorga <> Signed-off-by: Richard Purdie <> Conflicts: meta/recipes-multimedia/pulseaudio/
2012-09-28pulseaudio: fix typo in the patch name, pulseaudo -> pulseaudioDenys Dmytriyenko2-1/+1
No PR bump is needed. (From OE-Core rev: ac3edffa2586064ff480b89e80b608f14e566fa7) Signed-off-by: Denys Dmytriyenko <> Signed-off-by: Richard Purdie <>
2012-09-28libatomics-ops: Make it build for SH4Khem Raj2-2/+74
(From OE-Core rev: fc47820982aea41f2b0fdd4d87fb0242bf7346dd) Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
2012-09-28pulseaudio: disable tcpwrap by defaultSaul Wold2-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 <> Signed-off-by: Richard Purdie <>
2012-09-28bluez4: fix packaging issue after updateSaul Wold1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28bluez4: update to ver. 4.101Cristian Iorga3-5/+4
(From OE-Core rev: 6e6407e9a8c59cb51685c4b767b62eacb8dbf852) Signed-off-by: Cristian Iorga <> Signed-off-by: Richard Purdie <>
2012-09-28gst-plugin-bluetooth: update to ver. 4.101Cristian Iorga1-4/+3
(From OE-Core rev: 6d1bbc26d27506e5dd5c32013ea5074c5c5a342d) Signed-off-by: Cristian Iorga <> Signed-off-by: Richard Purdie <>
2012-09-28bluez-hcidump: upgrade to version 2.4Dongxiao Xu1-2/+2
(From OE-Core rev: 4934e54821ed19fb98ea7691af6a2d3bcb1922f7) Signed-off-by: Dongxiao Xu <> Signed-off-by: Richard Purdie <>
2012-09-28bluez4: make alsa support conditional upon DISTRO_FEATURESJonas Danielsson2-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 <> Signed-off-by: Richard Purdie <>
2012-09-28dhcp: remove dependency of dev/staticdev packages on main packagePaul Eggleton2-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 <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <> Signed-off-by: Otavio Salvador <> Signed-off-by: Richard Purdie <>
2012-09-28classes/mirrors: remove bogus gnutls mirrorPaul Eggleton1-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, thus the bogus mirror entry is not matched.) (from OE-Core rev 0de1827a9601143b090f751ea702fdb65a936b77) (From OE-Core rev: 31ec9690c37c3a57e557684cbf5e5a4069bd57b7) Signed-off-by: Paul Eggleton <> Signed-off-by: Richard Purdie <> only run serial checks at boot if we have items ↵Matthew McClintock1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28kernel: Fix packaging issueSaul Wold1-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 <> Signed-off-by: Richard Purdie <> fix missing leading space on _appendMatthew McClintock1-2/+2
(From OE-Core rev: a175e09d1b0be85d8cbc58672485ec5ee5475ae2) Signed-off-by: Matthew McClintock <> Signed-off-by: Richard Purdie <>
2012-09-28autotools.bbclass: Add functionality to force a clean of ${B} when ↵Richard Purdie1-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 <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28eglibc_2.15: make patch only for Freescale machinesMatthew McClintock1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28valgrind: fix debug info reading error when do memcheck on ppc targetsZhenhua Luo2-1/+37
following is the error message: --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /lib/ --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/ --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/ --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /lib/ --2263-- Can't make sense of .data section mapping (From OE-Core rev: 14626cc76210ed6fe40316a311f24147ed8de8be) (From OE-Core rev: a76be502fbb9517c38cd716fa1f21a238b314162) Signed-off-by: Zhenhua Luo <> Signed-off-by: Richard Purdie <>
2012-09-28python-pygtk: Upgrade to 2.24Saul Wold2-10/+12
This is needed for the build appliance and Hob also (From OE-Core rev: a0abfd60e8cb78b40278eec85a8d0c722f8ef1e4) Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28build-appliance: add zip-native, which is needed to build the final zip bundleSaul Wold1-1/+2
(From OE-Core rev: 8aeceab5d03fa3c88f0128ce1ac6bfde0d88e1b6) (From OE-Core rev: 9ab2613327fcd4cf811afc52eff92903644e9b11) Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28kernel.bbclass: put perf .debug dir in -dbg packageScott Garman1-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 <> (From OE-Core rev: df879f191d1e86596444cb30a0a77a785958520c) Signed-off-by: Scott Garman <> Signed-off-by: Richard Purdie <>
2012-09-28relocatable.bbclass: Account for case when ORIGIN is in RPATHScott Garman1-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 <> Signed-off-by: Richard Purdie <> Signed-off-by: Scott Garman <> Signed-off-by: Richard Purdie <>
2012-09-28kernel.bbclass: Dont package kxgettext.oKhem Raj1-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 <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
2012-09-28kernel.bbclass: add non-santized kernel providesBruce Ashfield1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28kernel: Add kernel headers to kernel-dev packageDarren Hart2-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 <> CC: Bruce Ashfield <> CC: Tom Zanussi <> CC: Khem Raj <> Signed-off-by: Richard Purdie <>
2012-09-28kernel: save $kerndir/tools and $kerndir/lib from pruningBruce Ashfield1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinstMartin Jansa1-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 <> Signed-off-by: Richard Purdie <>
2012-09-28man: make man actually work by installing custom man.configKoen Kooi2-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 <> Signed-off-by: Richard Purdie <>
2012-09-28man: fix RDEPENDS and reformat recipeKoen Kooi1-3/+4
(From OE-Core rev: f9aba0793123dafffc305c028f10e8f595c5a4ee) Signed-off-by: Koen Kooi <> Signed-off-by: Richard Purdie <>