summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-09-05qt4e-demo-image: Ensure a shell is presentXiaofeng Yan
"/bin/sh" is needed by qt4e-demo-image, So I add busybox for fixing this problem. [YOCTO #999] (From OE-Core rev: 5f06d5012bfa8b2bd83092e41ab29babdfd4605e) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05git: fix sstate relocation for git-nativePaul Eggleton
Create a wrapper for git to set GIT_EXEC_PATH and GIT_TEMPLATE_DIR so that git-native is relocatable. Fixes specific example given in [YOCTO #1137] (From OE-Core rev: 9a3e25b5a3aa5e3b6ba543c4f789f66b240b38a7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05lib/bb/siggen.py: return a string from noop get_taskhashDmitry Eremin-Solenikov
OpenEmbedded is expecting to get a string from get_taskhash, but noop siggen returns just 0 (number), so OE classes/sstate.bbclass barfs badly. Fix that. (Bitbake rev: 24272dae15ccf641ece11ef5a6e2bfa3ebb6f5f9) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05hob: fix segfault on second buildPaul Eggleton
Some internal lists were not being cleared, resulting in incorrect program flow on the second build, causing a structure to be accessed incorrectly which resulted in a segfault. Fixes [YOCTO #1332] (Bitbake rev: 71ac7fda51ed80e9ef6d1a3bca653683893e4770) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05hob: clear out temporary file list after deletingPaul Eggleton
If you don't clear out files_to_clean after the files get deleted and then you run a second build, it will try to delete the files from the first build and you will get a "No such file or directory" error. (Bitbake rev: 069d85cde01d14f8da31ad5cbd843a4d99628d42) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05hob: disable removal of packagesJoshua Lock
It's felt that the stability of package deselection is not sufficient for the upcoming release and thus package removal should be disabled. I'd actually like to see this patch, or its effects, reverted as soon as the release bits have been frozen so that this issue can continue to be worked on. (Bitbake rev: 73b6ff4654d10baae59d83e8568d58d989e99dd7) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05ui/crumbs/runningbuild: mask run_buildstats failureJoshua Lock
The buildstats handler causes an exception with: "'NoneType' object has no attribute 'startswith'" early a build via hob, leaving a glaring red row which means nothing to the user. Mask this error until such a time as we have opportunity to correctly diagnose and fix the root problem. Workaround fix for [YOCTO #1433] (Bitbake rev: b0cce5b52a20c0dad5ec0c4053f437cae89b6137) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05ui/crumbs/hobprefs: disable 'build toolchain with headers'Joshua Lock
The generic meta-toolchain-sdk we are currently building when this option is enabled is likely unsuitable for the majority of images built with hob. Remove this option from the Preferences UI until such a time as we can correctly implement this feature to include the library headers for the selected packages. Addresses [YOCTO #1302] (Bitbake rev: 3157967d08266b8d1ac563ba609ac3027b60d040) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05hob: add a test to ensure hob is run with the required pre and post filesJoshua Lock
hob requires pre and post configuration files to store configuration values in, whilst this should (and will) be fixed long-term for so long as we require these files we should alert the user should they run without them. Fixes [YOCTO #1383] (Bitbake rev: bb3e9113074ea1254aa03a247a1a1070682df9c8) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05hob: reflect defaultsetup being default distroJoshua Lock
If no value is set for DISTRO the defaultsetup policy is used, reflect this in the UI by having defaultsetup selected in the Distribution combo when no other DISTRO is set. (Bitbake rev: 126267c545ede65042959d134ea75c0345577747) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05hob: use both pre and post files for hob configurationJoshua Lock
We need to set various variables *before* parse begins, the simplest way to ensure this is to use a pre configuration file for the relevant configuration entries. This series adapts hob to use both pre and post files to store its configuration. Any variables which affect initial parse are set in the pre file and all others in the post file. Unfortunately this requires hob related code to have even more hard-coded data as to what is relevant but this is the simplest way to solve issues with variables and parse order at this time. Addresses [YOCTO #1281] (Bitbake rev: 02ab0e11d8dd42f5ca440b3d8d2073e23f55113a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05linux-yocto/meta-yocto: update SRCREV for v3.0.4Bruce Ashfield
Updating the kernel SRCREVs to pickup the latest meta and BSP changes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05opensp: Fix sstate relocation issueSaul Wold
[YOCTO #1440] This fixes a problem where the native nsgmls has a path hard coded into it, therefor add a wrapper to set the environment with the correct paths for catalog files. (From OE-Core rev: ce236234831ebc05ffdf1e0a368692ac2818a388) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05groff: Fix sstate relocation issueSaul Wold
[YOCTO #1439] This fixes a problem where the native groff has a path hard coded into it, therefor add a wrapper to set the command line with the correct paths for fonts and tmac directories. (From OE-Core rev: 9106e2922ba5972e3b87436372a12c2e04e9eb65) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02YOCTO #1088: documentation - Added text to partially address package bugScott Rifenbark
This bug was filed by Gary Thomas and was requesting more information on the "hows" and "whys" of setting up your own package repositories. At this point, I have added information to help the user understand build performance issues when choosing between the RPM and IPKG packaging systems. Likely, there is more that needs to be added to fully address this bug. For now, I added explanations in the packaging class and glossary areas of the YP reference manual, a new paragraph in the YP QS just prior to firing off a build, and a new bit of information in the configuring PMS in the ADT Manual. (From yocto-docs rev: d0025f862cb85ca741787b4737dca286e3ebfb45) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/adt-manual/adt-prepare.xml: Updates to variable and other editsScott Rifenbark
Updated the variable name of the adt_installer.conf file that points to the IPKG repo. This changed for 1.1. Also made some small edits. (From yocto-docs rev: 893b8b2f4bed8d4fce9a876e2184b3f5b9b004c0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/adt-manual/adt-prepare.xml: added reference to dev manual.Scott Rifenbark
I added a link to the getting setup section of the YP dev manual for help on setting up the YP files. (From yocto-docs rev: 13832465de69bc41ddcc5e5696e707be8a3b6c5a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02YOCTO #1419: General edits and fix for oprofile-server rev requirements.Scott Rifenbark
I performed general edits to this chapter as well as addressed the two items for the YOCTO #1419, which was re-opened. These included specifying oprofile version 0.9.4 required and the note that oprofile-server is only installed by default in the core-image-sato-sdk image. (From yocto-docs rev: fdca6458d9cd431052126d31f6eb4396c3327982) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/adt-manual: General edits.Scott Rifenbark
I made a pass through the manual and made some general formatting changes, updated some links in anticipation for the 1.1 release. (From yocto-docs rev: f2d3a012fbe4e8db3cf07e5497acfdf732e55d97) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/bsp-guide/bsp.xml: Edits for Crownbay example in kernel recipesScott Rifenbark
Because the Crownbay uses both EMGD and non-EMGD statments in the linux-yocto_3.0.bbappend file I had to do some explaining. It turns out you don't really need to just delete or comment out the non-applicable statements. I also adjusted some wording around the tuning file example. This file I assumed was in the conf directory of the meta-crownbay directory. It is really in the meta/conf/machine/include directory. (From yocto-docs rev: 3f82656f7ffb392333f8cf59abf1414af5da512b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/dev-manual/dev-manual-bsp-appendix.xml: Fixed BBFILES_COLLECTIONS.Scott Rifenbark
Jim Abernathy ran into an error in the BSP example. The error had the BBFILES_COLLECTIONS_mymachine in it (incorrect). It needs to be BBFILES_COLLECTIONS. (From yocto-docs rev: 267a385aa5ab0eb46cf583db418cbbcab1e8b89b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/poky-ref-manual/usingpoky.xml: Edits per Darren HartScott Rifenbark
Darren provided me with some feedback on the logging mechanism section for both Python and Bash. (From yocto-docs rev: 7dddadf8caba01d3ef1046be52a1435eeaed60a3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/dev-manual/dev-manual-kernel-appendix.xml: moved statementScott Rifenbark
Dave Stewart said that good coding practice is to set the variables before any print statements. So I moved one statement above the example printk statements. (From yocto-docs rev: bad0537a5a6472fb3fef06de9763990a0c352e25) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/dev-manual/dev-manual-model.xml: minor editsScott Rifenbark
Feedback per Dave Stewart added to clarify which two important configuration files need editing. (From yocto-docs rev: f37ade7f0d31ae6284c3bfee184c88b523f5fe69) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/Makefile: Updated the dev-manual to include three new pics.Scott Rifenbark
(From yocto-docs rev: 6bd75cf91bb0a55d1c706d9249e12a24f24b30c1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/dev-manual/figures: Three figures for kernel added.Scott Rifenbark
these are new figures to support the "Modifying the Kernel" conceptual section. (From yocto-docs rev: 1a0ecc104479b54a8122e3de2b30694fac8d7e73) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02documentation/dev-manual/dev-manual-model.xml: Edits to Modifying KernelScott Rifenbark
Complete re-write of this section based on feedback from Dave Stewart. Dave's comments centered around not being able to understand the overall concepts of the Git repositories, the source areas on the host, etc. I have added several illustrations and written around them to try and better explain the kernel storage system in Git used by YP and how that tranlates into host-resident code that the developer ultimately uses and the Poky build system uses for the build. (From yocto-docs rev: 4e37f68f77261f6519426fb81ba407c456f8d1a1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02YOCTO #1426: documentation/yocto-project-qs/yocto-project-qs.xml: added xterm.Scott Rifenbark
Added 'xterm' as a required package to both Debian-based and RPM-based hosts. (From yocto-docs rev: 0a933001bd8c546a5d4960842c5e897061d09369) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCHRichard Purdie
If we don't do this, the SDK target sysroot is named generically even when it contains package architecture specific optimisations. (From OE-Core rev: 0616557a8c29b42bae0ffd5fd665a046810047e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROSPaul Eggleton
This variable should be split with \n sequences and these need to be specified literally in the string. A corrected version of the example given in the original commit (OE-core rev 75e3875341ddc8940e9ee2ccbbb2ec18194a68e6): SANITY_TESTED_DISTROS = " \ Ubuntu 11.04 \n \ Fedora release 14 (Laughlin) \n \ " (From OE-Core rev: cfc72d5796b6f83a01e06f3a1f044869db2d5d18) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02useradd.bbclass: remove hardcoded reference to /usr/binPhil Blundell
Otherwise the class doesn't work if ${bindir} is set to a different value; likewise for /var vs ${localstatedir}. (From OE-Core rev: 21371df16917cd82642b39763793783d61ee5516) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02gcc: Fix multilib baselib confusionRichard Purdie
Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use baselib for the compiler location. This is fine as long as baselib happens to match the platform multilib definition which is enabled at the time. This patch fixes things so that gcc will honour whatever ${base_libdir} is set to re-allowing suitable customisation of the system layout. [YOCTO #1362] (From OE-Core rev: bc5f293b151b9ba0d6660814d88ee5041efce318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02multilib: Only build one kernelRichard Purdie
For a given system we only want one kernel to be built. This change makes the main kernel recipe provide all of the provides of the various enabled multilibs hence allowing it to fulfil all the appropriate dependencies. To make this work a global multilib class file needed to be created. This patch also enables this multi provider functionality for "allarch" packages. [YOCTO #1361] (From OE-Core rev: 2fd257f6c610624f05c8dd3fe1486364af04696f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02multilib: extend multilib prefix for libsdlDongxiao Xu
libsdl is required by sato image, so extend it for multilib. (From OE-Core rev: 88abab9ba9632e87f3a081915a69cbc5c36b4d3c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02multilib: Using different sysroot for multilib recipesDongxiao Xu
Thinking of the senario that, if we already built out a 64bit image along with the full toolchain bootstrapped, then we need to build some 32bit libraries, which needs lib32 versions of gcc and eglibc. These toolchain recipes will bootstrap again in the same sysroot, resulting that lib32-gcc-cross-initial will find some macros owned by eglibc have already been defined and thus it includes non-existed headers that provided by later lib32-eglibc. The solution for the above issue is to use different sysroot for multilib recipes, here we add ${MLPREFIX} in front of the machine specific sysroot directory name. [YOCTO #1372] (From OE-Core rev: a1508ad1aec2d2f9ee040aa217c33193cd5bd871) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02rootfs_rpm: setting DEFAULTTUNE for multilib archsDongxiao Xu
To get the MULTILIB_PACKAGE_ARCHS, we need to get the corresponding DEFAULTTUNE value. This fixes the multilib arch directory missing issue in solvedb-ml_archs.conf. (From OE-Core rev: 54306ff373e13696637b547fa1514e0ef8633248) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02hal: Remove build time dependency of virtual/kernelDongxiao Xu
hal has runtime dependency on kernel, but not build time. Remove it from "DEPENDS" list. Also fix a wrong PACKAGE_ARCH setting when building multilib lib32-hal, because ":=" will be extended immediately which is not the right value. Using TUNE_PKGARCH instead. (From OE-Core rev: 74646a2b2d7d452dfe95b08940389a686e8addcb) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02dropbear: add missing filesKoen Kooi
(From OE-Core rev: 4bc94f1896aad7f540ac520cd69edf3e96029319) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02tzcode: Update to 2011iSaul Wold
(From OE-Core rev: 2c0c78fc777a7dbe098f2518ecbaf24d03227f5d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02sato recipes: Update PR because of libowl conversion to gitSaul Wold
(From OE-Core rev: 8216888c1caba6d469a5443ba74fce0f1392792e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold
(From OE-Core rev: 4e7218c19775ef81caed27742e9d203af10b7416) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02util-linux: fix packaging of readprofileJoshua Lock
We rename readprofile to readprofile.util-linux so we need to use that binary name in the FILES entry for the readprofile package. (From OE-Core rev: 55168655ec95e8eff70f90a462ed0a8d87d8d87f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02bitbake/event: Allow event handlers to quietly raise SkipPackage eventsRichard Purdie
(Bitbake rev: 2a7c92bdadf9a86d9ea2ea0c128108e38e0e97e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02fetch2/git: Allow to specify the name of the checkout directoryHolger Hans Peter Freyther
(Bitbake rev: 639db8c766cada7180f9447f51303f9b30d7e817) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02scripts: Show sensible warning messages if expected binaries don't existRichard Purdie
[YOCTO #1438] (From OE-Core rev: 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02scripts: Don't show errors from which ifconfig failingRichard Purdie
(From OE-Core rev: 06625096f897235ed85f0d9a1355497f92938454) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31poky.conf: perform network sanity check by default for poky distrosJoshua Lock
Add CONNECTIVITY_CHECK_URIS to run the network connectivity sanity test for http, https and git sources. The variable is soft-assigned so that it's easily overrideable. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31Fix powerpc term and provide more template for different archesJessica Zhang
(From OE-Core rev: bf9e9961ec4e7b2d10f25b550b902df62b3939b1) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang
template for installation" This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d. (From OE-Core rev: 13d713dccd7fedb5a223f1292227e177d7a44164) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31libcap: only enable pam if DISTRO_FEATURES requests itPhil Blundell
(From OE-Core rev: 9864b0a8253922e044f61506a4a8e9064aac2bd7) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>