summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-04-22poky-tiny: Drop now unneeded DISTRO_FEATURES_LIBC_TOOLCHAIN (after gettext fix)Richard Purdie
After the recent gettext dependency fix (commit 6e5cb40dfaeae4843dd65115f0b8b0f20f58d30e "gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values", its no longer necessary to have to have these options to build meta-toolchain. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22initramfs-live-boot: Disable unionfs until its issue with the system rootdir ↵Richard Purdie
are resolved There are issues with the current unionfs when making a union mount over "/". Until these are resolved we can't use unionfs for live booting so disable this temporarily as a workaround. unionfs is usable in other circumstances. [YOCTO #2331 workaround] (From OE-Core rev: 60ee26ae23132b916019d58e20b8c2e1ddd2b471) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22pseudo: Drop nativesdk wrapper and link against old memcpy symbolRichard Purdie
The -nativesdk pseudo wrapper setting LD_LIBRARY_PATH turned out to be a bad idea since it can mix up different libc and lib-dl verisons which may or may not work depending on the phase of the moon. As an alternative to solving the original problem, this patch drops the symbol version requirement on memcpy which allows pseudo to work with libc's back to 2.7 which should be sufficient for our supported targets using nativesdk. [YOCTO #2299] [YOCTO #2351] (From OE-Core rev: c6c701f424aeb502d20ff02d02712e56f4e259a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22pseudo: Fix bashismsRichard Purdie
(From OE-Core rev: 90e22bbb316088fa951d51e75de4e5424bd51ed6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22package.bbclass: Ensure kernel modules get strippedRichard Purdie
Kernel modules are not marked as executable but we do expect to strip them. This patch adds in missing code to ensure we do this. Without this images are getting sigificantly bloated in size. (From OE-Core rev: 00b0a5f2f51bb3f88bbb9ae558c2859e3c1c406c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT valuesRichard Purdie
In particular, this overwrites the value from cross-canadian.bbclass in some cases which isn't the desired behaviour and unnecessarily complicates/breaks the dependency chain. (From OE-Core rev: 751ead4fa7d4120de906a1d9cb1d5a29357bebad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-22qemu: Backport a patch to solve SSE2 instruction emulation issuesRichard Purdie
This fix addresses various issues seen in qemux86-64 images: * scroll bars in matchbox-terminal not working * files not appearing in pcmanfm * warnings on the console from glib/gobject about invalid gdouble values Its due to an emulation issue in qemu which the backported patch fixes. I managed to debug it to a specific function, Khem found the qemu patch to backport, thanks Khem! [YOCTO #1906] (From OE-Core rev: 69d083f8b8d8f7d095ed5682d305870c4d93fe62) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18documentation/bsp-guide/bsp.xml: spelling corrected.Scott Rifenbark
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> (From yocto-docs rev: c0ee8ce391114f7a5b4f1c59fdf997ba4f3bcf75) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18documentation/poky-ref-manual/ref-images.xml: Added self-hosted imageScott Rifenbark
I added the self-hosted-image to the list of images. (From yocto-docs rev: a8265cb523705a374d23bf60aab5b7969ad937fc) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18self-hosted-image: Update poky revision to point at the 1.2 release branch1.2_M4.rc4.0Richard Purdie
(From OE-Core rev: 00256125873ff6f1630743a712e882e5f473a9d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18distro.conf: Flipping for denzilElizabeth Flanagan
Flipping values in distro.conf for upcoming release Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
2012-04-18packageinfo.bbclass: A workaround for RPM architecture renamingDongxiao Xu
For beagleboard platform, the PACKAGE_ARCH for certain recipes is "armv7a-vfp-neon", however, the architecture label in RPM file name is "armv7a" due to a potential bug in RPM backend. This commit is a workaround to make Hob work in this case. (From OE-Core rev: 00bd4589b21fe3a716ff2732ea55651c4abd77e4) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18lsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package ↵Richard Purdie
description (From OE-Core rev: 48ef8dbb0d1bdbc7e0e62665b5112282637f3266) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18classes/sanity: import regular expression module in SuSE distro checkPaul Eggleton
We call re.sub here, so we need to "import re" or an error occurs (tested on OpenSuSE 12.1). (From OE-Core rev: cb1f7cffc171e6b182f33a69ff688d76b7f1baed) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18classes/sanity: trim trailing newline when reading /etc/redhat-releasePaul Eggleton
Any trailing whitespace needs to be stripped before comparing it to the SANITY_TESTED_DISTROS list. (From OE-Core rev: bea0311a6478febe8ab4884fb1c479f610856534) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18conf/distro/poky.conf: set SANITY_TESTED_DISTROSPaul Eggleton
Specify a list of tested host distributions, based on those tested prior to the Yocto Project 1.2 release. This will enable a warning to be printed upon starting bitbake if the host distribution is not one on the list. Note: this warning is intended to help new users; if you are receiving this warning and wish to disable it, just add SANITY_TESTED_DISTROS = "" to your local.conf. Fixes [YOCTO #1096]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURESPaul Eggleton
This allows libzypp to successfully build when x11 is not in DISTRO_FEATURES (avoiding the libzypp -> libproxy -> gconf -> gtk+ dependency chain which without X results in gtk+ failing at do_configure). Fixes [YOCTO #2320]. (From OE-Core rev: 973351cf2e338f07c11395d494193e9c62857f2d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18qemugl: make postinst run at first bootScott Garman
The previous postinst script was not working for images which use RPM because do_rootfs could allow qemugl to be installed after libgl1, and the postinst needs to run after libgl1 is installed. Hence, it's being changed to run at first boot instead of during do_rootfs. (From OE-Core rev: dc0fe3fbf9ca862c1d0d90468e6da326f58e3b41) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREVSaul Wold
Remove BB_NO_NETWORK because we can not guarentee that all downloads will be available in the self-hosted image for the possible targets being built. If this image is run with out networking, failures may be seen and BB_NO_NETWORK should be set via the Hob Update the Poky SRCREV so it has the latest set of fixes and patches. (From OE-Core rev: 70541d5e82ee05289eb0095bed4b121d12a00729) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17task-self-hosted: Add LSB for distro infoSaul Wold
The lsb package is needed to enable the distro checking in the self hosted image. Currently there is no standard identification in the self-hosted image so use the existing lsb package which provides lsb_release that parses the /etc/release file (From OE-Core rev: 1373865ce7f205a8e63f42caf436e9e2f7a565f5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17lsb: Add DISTRO Info to /etc/lsb-release file also add util-linux to DEPENDSSaul Wold
Add the DISTRO* fields to the /etc/lsb-release file so the distro parsing code can find standard information about the Poky Distro when using the Self-Hosted Image. The lsb_release command uses getopt which is provided by util-linux (From OE-Core rev: eddb1d6f458bcf8b0473a360fad3f4a259a57d28) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17linux-yocto/meta: remove kernel config audit warningsBruce Ashfield
Updating the meta SRCREVs to pickup the following meta change for the 3.0 and 3.2 kernels: [ meta: Clean up BSPs kernel config Clean up some QEMU and non-x86 BSPs kernel config, including qemuarm qemuppc qemux86 beagleboard mpc8315e_rdb Only obsolete/invalid kernel configs are removed. (From OE-Core rev: 1f68d624c109c3f31a6f2f6106b5ef56e3d9a166) Signed-off-by: Yang Shi <yang.shi@windriver.com> ] With this commit, the configuration audit for the qemu and hardware reference boards is (largely) warning free. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17linux-yocto/meta: beagleboard: disable CONFIG_PREEMPTBruce Ashfield
Updating the meta SRCREV for both the 3.0 and 3.2 kernel trees to pickup the beagleboard xM boot fix: [ meta/beagleboard: disable CONFIG_PREEMPT The boot hangs with the message: mmc0: error -110 whilst initialising SD card The MMC driver has issues initializing when PREEMPT is enabled (either forced or voluntary). Unplugging and then plugging the card back will reset the driver and continue booting. Alternatively, disable preemption. ] [YOCTO: #1892] (From OE-Core rev: 36e9e6a88bc4436efefd4a25c0a58be75f887142) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17linux-yocto: .diff is a valid patch extensionBruce Ashfield
In fixing an existing patch migration bug, the list of valid extensions got out of sync from the core patch class. As a result, valid patches were not being applied to the tree. Updating the tools to migrate .diff files fixes the issue. Also in this fix is the removal of .patch in the find_sccs() routine, since it will never be returned by patch.bbclass when all non-patches are requested, it is simply confusing. (From OE-Core rev: 0ade3f26f40b67d7296725b1e956c46be9a86089) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17matchbox-wm-2: Fix incorrect update-alternativesMark Hatle
Update-alternatives was pointing to matchbox-session, and should have been pointing to matchbox-window-manager. (From OE-Core rev: 9c08dcf468fd41897627d9efc650c74f8f5d8ed0) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17lrzsz: sz, sx and sb were linked incorrectlyMark Hatle
The sz, sx and sb links were created incorrectly to lrz, they should point to lsz. (From OE-Core rev: 663b608357b86aba5cdf7f07291893725e579b75) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17lib/bb/ui/crumbs/recipeselectionpage: fix type availabel->availableJoshua Lock
(Bitbake rev: 1a39698ab8498410d159c665c015f9297f153797) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17meta-yocto: remove kernel26 machine feature usageTom Zanussi
kernel26 is now obsolete so remove it from the machine configs that use it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-04-17yocto-bsp: remove kernel26 machine feature from templatesTom Zanussi
kernel26 is now obsolete so remove it from the templates that use it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-04-17libproxy: Allow to build in non-gplv3 configurationRichard Purdie
(From OE-Core rev: 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17gst-plugins-bad: Add missing PR bump after curl changeRichard Purdie
(From OE-Core rev: 2865d01773e405212aa6f531139898d90a6819a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17qemu: Disable curl explicitly, its not in DEPENDSRichard Purdie
There is an error when build meta-toolchain-sdk on Ubuntu 10.10: | Installing NATIVESDK packages | Processing task-sdk-host-nativesdk... | Processing task-cross-canadian-mips... | error: Failed dependencies: | libcurl.so.4 is needed by qemu-nativesdk-0.15.1-r5.i686 NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed ERROR: Task 21 (/buildarea2/lyang1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code '1' This is because qemu would depend on curl if it happened to be available at build time and could confuse the -native and -nativesdk librbaries. [YOCTO #2305] (From OE-Core rev: 566ad643efd03db34b59a427f48ca55ce613cf89) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17sanity.bbclass: If the sanity tests fail, don't mark them as completeRichard Purdie
If the sanity tests fail, we still were writing out the stamp which means they'd get skipped the next time we run bitbake. This is clearly wrong and we should only write out the stamp file if the sanity tests complete successfully. (From OE-Core rev: b99acaa8aa06dcbca46c3f7048124d6f8d643a8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17perl: fix re-execution of compile taskVenkata ramana gollamudi
After building perl package, re-execution of compile task recursively substitutes the path, making it an invalid path. Fixed to prevent recursive substitution. Similar case as [Yocto #2194] (From OE-Core rev: 16542d982d86d42d3189d47a8180f0f71646a9ca) Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17avahi-daemon: fix missing init script linksAndreas Oberritter
* update-rc.d wasn't executed when the rootfs was built, because pkg_postinst_avahi-daemon exited early. It wasn't run either on first boot, because the exit code was 0. (From OE-Core rev: c084759d7f69b751e1ed3ef79d686389d867f248) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17bitbake-layers: hide deprecation warningsPaul Eggleton
There are a number of DeprecationWarnings within BitBake code which bitbake itself filters out; bitbake-layers was not doing this, resulting in a stream of warnings printed out when used with Python < 2.7 (these warnings default to disabled on version 2.7 and above.) (Bitbake rev: 0a2378237f07eb1c812e2308e64b7d70781e2b39) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17hoblistmodel.py: description for selfcreated imageBeth Flanagan
The current description is empty. This adds a default description for hob's dummy_image. (Bitbake rev: 68a65e5eeeb01d78444f1e5b5d1bb7b21c9d0b2c) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17Hob: Set the "stop" button insensitive before hide itDongxiao Xu
If user stops a build, we need to firstly set the button insensitive and then hide it. This ensures the button's init status is "insensitive" in next build. (Bitbake rev: ea37272ccc28d6e24b48286e5c4c3edbad1d57cd) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17Hob: Enlarge the upper value of image sizeDongxiao Xu
Originally the upper value for image size and extra size is 1024M, which is relatively small. Enlarge it to 64GB. Besides, fix tooltip for toolchain build. (Bitbake rev: 99f01305b4c2253567a1a13a33339b1755a86e6d) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17data_smart: Improve the calculation of config hashDongxiao Xu
For config hash, we put the keys in structure of "set()", which is not order sensitive. Therefore when calculating the md5 value for config hash, we need to identify the order of the keys. (Bitbake rev: 0f1b142a3f6b8125bf023c2e5ec269618869abf7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17documentation/dev-manual/dev-manual-common-tasks.xml: Fixed exampleRobert Cochran
A reference to meta/recipes-sato/tasks/task-poky.bb is made as a good example of a task; however, this file / recipe doesn't exist. I replaced it with meta/recipes-core/tasks/task-core-boot.bb, which I think is a both useful and basic example to consider. (From yocto-docs rev: 977877efa7781dd00c53cfa914dd710de7d934a1) Signed-off-by: Robert Cochran <yocto@mindchasers.com> Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17poky-tiny: Separate the libc features required for meta-toolchainDarren Hart
This fixes bug [YOCTO #2295] eglibc needs libc-posix-regexp-glibc & libc-libm-big enabled in its configuration to avoid following eglibc build issue. Thanks to Nitin for identifying the required features. ... | In file included from xregex.c:634:0: | xregex.c: In function 'byte_regex_compile': | xregex.c:3395:8: error: too few arguments to function 'findidx' | ../locale/weight.h:23:1: note: declared here ... The libc features added to support building meta-toolchain add 461KB to the C libraries. 320KB directly to libc (a 32% increase in size). If not building meta-toolchain, the user should be able to easily configure these out. Create a new variable to capture these dependencies, DISTRO_FEATURES_LIBC_TOOLCHAIN, keeping them separate from the core tiny requirements. Make it clear how to disable these if meta-toolchain is not needed. This patch has been tested by running the following for the qemux86 machine with DISTRO=poky-tiny: $ bitbake -c cleansstate eglibc $ bitbake meta-toolchain $ bitbake core-image-minimal The libc comparisons were made from core-image-minimal ext2 filesystems build before and after the applicaiton of this patch and Nitin's previous poky-tiny libc features patch in support of meta-toolchain: commit 8c48ab6183934fd32600997cc33e0cd3bf63139b Author: Nitin A Kamble <nitin.a.kamble@intel.com> Date: Mon Apr 9 15:15:01 2012 -0700 poky-tiny.conf: adjust eglibc options for poky-tiny Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Nitin A. Kamble <nitin.a.kamble@intel.com> CC: Saul Wold <sgw@linux.intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16bitbake.conf: Add PARALLEL_MAKE to BB_HASHBASE_WHITELISTRichard Purdie
The value of PARALLEL_MAKE shouldn't affect sstate checksums. In general it doesn't as the value is injected as a task override and the sstate checksum doesn't track these. That isn't the case for linux-yocto in particular so adding it the list of variables to ignore is useful. (From OE-Core rev: a0fbbd7ba979b8aaee701e0997115f89b361b920) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16libzypp: add libproxy to DEPENDSSaul Wold
libzypp uses proxy.h to handle proxies [YOCTO #2306] (From OE-Core rev: 03cfc6ea6df9d1fbf5520c9707a725e38d2e377b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16distrodata.bbclass: fix comment typoOtavio Salvador
Fixes: - xf86-intput-synaptics-12.6.9.tar.gz + xf86-input-synaptics-12.6.9.tar.gz (From OE-Core rev: 96800c4801fc7a89d3510763d007fd7854f1a9e3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16flex: backport Debian patches to fix generated code warningsOtavio Salvador
The generated parser had warnings regarding signess and return check which makes Linux Kernel's perf tool from 3.4 release to fail without those patches. (From OE-Core rev: f3d7197252d1ede627a561fbd5b3b7fb759bf75b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16connman-gnome: fix segfault on connectPaul Eggleton
Fixes a segfault in the properties application when connecting to a WiFi service succeeds. (From OE-Core rev: 767ec69e6ca633e5bde604241a598147075b1ac0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16automake-nativesdk: fix builds on fedora 17Robert Yang
Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes automake-nativesdk build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by automake-nativesdk-1.11.2-r2.x86_64 NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed The second sed command is for such a case: eval 'case $# in 0) exec /bin/perl -S "$0";; *) exec /bin/perl -S "$0" "$@";; esac' This line has two "/bin/perl" and we can't use a line number to tell sed which line it is since the line numbers in different files are defferent. [YOCTO #2304] (From OE-Core rev: ee7a86c06c2289f01aa5f1da958ce51523495572) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16autoconf-nativesdk: fix builds on fedora 17Robert Yang
Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes autoconf-nativesdk build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by autoconf-nativesdk-2.68-r6.x86_64.rpm NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed The second sed command is for such a case: eval 'case $# in 0) exec /bin/perl -S "$0";; *) exec /bin/perl -S "$0" "$@";; esac' This line has two "/bin/perl" and we can't use a line number to tell sed which line it is since the line numbers in different files are defferent. [YOCTO #2304] (From OE-Core rev: 393908e53b243b16ab984da7f073be371e062946) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16glib-2.0: fix builds on fedora 17Robert Yang
Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes glib-2.0 build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by libglib-2.0-utils-2.30.3-r0.ppc603e NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed [YOCTO #2304] (From OE-Core rev: 13e6e316d751d0ea3107d5547f6bdd2b74919cad) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>