summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | bitbake/fetch2: Rename Fetch class to FetchMethodRichard Purdie2011-02-0713-29/+29
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Drop old md5 handling codeRichard Purdie2011-02-071-30/+8
| | | | | | | | | | | | | | | | | | | | Drop some old md5 functions since we have improved functionality now which includes sha256 checksum support. This stops each download being md5 checksumed twice. Also change ".md5" stamp extentions to ".done" to better describe its use as a download complete marker file and no longer write the md5 sum to the files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Rewrite and improve exception handling, reusing core ↵Richard Purdie2011-02-0711-145/+121
| | | | | | | | | | | | functions for common operations where possible Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Have all fetcher exceptions derived from a common ↵Richard Purdie2011-02-071-7/+10
| | | | | | | | | | | | BBFetchException class Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | base.bbclass: Update after fetcher changesRichard Purdie2011-02-071-3/+7
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Drop unused parameter for localpath() and update commentsRichard Purdie2011-02-071-3/+2
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Simplfy setup_srcrevsRichard Purdie2011-02-071-13/+7
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Simplify localpath variable handling FetchData initRichard Purdie2011-02-071-34/+40
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Define a sane localpath function and remove code duplicationRichard Purdie2011-02-0711-31/+2
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Move ud.localfile setup into urldata_initRichard Purdie2011-02-0712-21/+29
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Drop horrible SRCREV hack which is no longer neededRichard Purdie2011-02-071-3/+0
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake.conf: Force git fetches to a new location after fetcher layout changesRichard Purdie2011-02-071-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | poky.conf: Turn off mirror tarball generation by defaultRichard Purdie2011-02-061-0/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2/git: Switch to completely use bare clonesRichard Purdie2011-02-061-9/+4
| | | | | | | | | | | | | | | | | | | | | | We no longer need index/workdir support in the mirror tree and it causes all kind of reference naming problems.Simplifying the code to remove this and use just bare clones addresses this problem. We increase the "version" number on the mirror tarballs to reflect the change and ensure older mirror tarballs are not used as they would break. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | prelink: Temporary workaround for documentation buildMark Hatle2011-02-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This issue is really do to the timestamps of files being different enough and that the make of the doc directory is being triggered by this. This is partly due to the new git fetcher laying the files down differently. Once this issue is resolve, this can be reverted. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | fetch2/git.py: Fix problem when fetching with no originSaul Wold2011-02-051-2/+6
| | | | | | | | | | | | | | When updating a git repo, its possible to not have an origin, so fail gracefully with a debug message. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | bitbake/fetch2/git: Ensure we prune origin to remove stale branchesRichard Purdie2011-02-051-0/+1
| | | | | | | | | | | | Thanks to Bruce Ashfield for the tip. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | Revert "iputils: enable generation of man pages"Saul Wold2011-02-031-5/+5
| | | | | | | | | | | | This reverts commit 62337be30b904542ca46333aa9b58fe0f09d3561. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | Revert "docbook-utils: new recipe v0.6.14"Saul Wold2011-02-031-20/+0
| | | | | | | | | | | | This reverts commit 8b5e600141b2b4275551bea925a2e63cfe1297bd. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | Revert "docbook-utils: fix build errors"Saul Wold2011-02-031-30/+0
| | | | | | | | | | | | This reverts commit 3eef8470547beed186c38a7da44cb8e22e1497e8. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | package.bbclass: Optimise file dependency calculations to ignore locales and ↵Richard Purdie2011-02-031-1/+1
| | | | | | | | | | | | kernel modules as these never have dependencies we'd detect anyway Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2/git: Ensure deleted branches upstream are removed, all branch ↵Richard Purdie2011-02-031-7/+10
| | | | | | | | | | | | tags are forced to the upstream revisions and all revisions and tags are always fetched Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | beagleboard: set kernel provider to linux-yocto (2.6.37)Darren Hart2011-02-032-2/+2
| | | | | | | | | | | | | | | | | | Support has been added for basic Beagleboard xM functionality, including networking, to the linux-yocto kernel repository. Tested on the Beagleboard xM. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* | bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTIONMark Hatle2011-02-032-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new default SUMMARY and DESCRIPTION was defined for any package that previously did not contain one. This value is based on the original SUMMARY_${PN} value. The new default SUMMARY and DESCRIPTION is used as a basis for all of the automatic summary and descriptions for the various package splits, include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales. A recipe may also override any of the automatic summaries by simply specifying the value. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | bitbake/fetch2: Remove old local file acceleration codeRichard Purdie2011-02-031-18/+4
| | | | | | | | | | | | | | | | Since local mirror fetches are always symlinked from the download directory directly, there is no need for this premirrors hack which doesn't cover mirrors and also abuses the localpath variable with inconsistent results. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Ensure that mirror fetches are symlinked from the download ↵Richard Purdie2011-02-031-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | directory When files are fetched from a mirror source that happens to be local, ensure links are created for the file since subsequent fetch calls can then follow the links to find files. Any other approach such as the existing manipulations of localpath internally to the fetcher are prone to errors, races and other issues. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: When encoding a file:// url, drop user and host informationRichard Purdie2011-02-031-2/+2
| | | | | | | | | | | | | | | | When processing a cvs SRC_URI to a file:// mirror, the user and host information will break the mirror processing. This patch addresses it by only constructing valid urls. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | recipes-graphics: Add more detailed SUMMARY and DESCRIPTIONSMark Hatle2011-02-03129-108/+790
| | | | | | | | | | | | | | | | | | | | | | | | | | Add more detailed SUMMARY and DESCRIPTIONS to various graphics and graphics related components. I've recently gotten question from users what something is, or why it was needed.. this should go a long way toward answering those questions. Many of the descriptions were taken directly from the upstream location, where one was not available the Debian packages were consulted for information. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | bitbake.conf: Fix missing NM definitionMark Hatle2011-02-031-0/+2
| | | | | | | | | | | | | | | | The definition of NM was missing, causing certain configure calls to revert to using the host system's version of NM. This can cause problems on some MIPS based targets, but is theoretically wrong everywhere. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | linux-yocto: BSP updatesBruce Ashfield2011-02-032-13/+13
| | | | | | | | | | | | | | | | | | Updating for the sugarbay and beagleboard BSPs. To make the sugbay inhert common-pc-64 generic config/changes/fixes it has been branched in the kernel as yocto/standard/common-pc-64/sugarbar, as a result, we'll bump the common-pc-64 to be yocto/standard/common-pc-64/base. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* | gobject-introspection: fix DEPENDSJoshua Lock2011-02-031-1/+1
| | | | | | | | | | | | | | We need flex and bison to build gobject-introspection Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | mailx: Disable parallel makeSaul Wold2011-02-031-0/+2
| | | | | | | | | | | | | | When makeconfig is called multiple times via parallel make, it causes the LIBS files to get corrupted. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | license.bbclass: Add coverage by sstate code (also use cleandirs and dirs ↵Richard Purdie2011-02-032-13/+17
| | | | | | | | | | | | task attribures for directory handling) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | rm_work: Retain package and package-split directories to be consistent with ↵Richard Purdie2011-02-031-1/+4
| | | | | | | | | | | | sstate code Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | rootrs_rpm.bbclass: Disable createrepo for now due to this error:Richard Purdie2011-02-031-2/+2
| | | | | | | | | | | | | | | | | | | | | + createrepo /media/build2/builds/rptest/b4/tmp/deploy/rpm | Traceback (most recent call last): | File "/media/build2/builds/rptest/b4/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", line 26, in <module> | import rpm | ImportError: No module named rpm Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | docbook-utils: fix build errorsScott Garman2011-02-031-0/+30
| | | | | | | | | | | | Fix build errors found in my first iteration of the recipe. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* | wpa-supplicant 0.7.3: fix packaging of dbus service files and fix layout ↵Koen Kooi2011-02-032-3/+4
| | | | | | | | | | | | | | variables Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/lib/bb/fetch2: Assign a default name in the names array as empty ↵Richard Purdie2011-02-031-1/+1
| | | | | | | | | | | | strings as names cause problems for python Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Add missing parameter to localcount_internal_helperRichard Purdie2011-02-021-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | libconvert-asn1-perl: upgrade from 0.21 to 0.22Nitin A Kamble2011-02-021-2/+4
| | | | | | | | | | | | | | | | | | And fix following issue caused by the upgrade | Can't load '/build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/auto/File/Glob/Glob.so' for module File::Glob: /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/auto/File/Glob/Glob.so: wrong ELF class: ELFCLASS32 at /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/XSLoader.pm line 79. | at /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/File/Glob.pm line 96 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | subversion: upgrade from 1.6.13 to 1.6 15Nitin A Kamble2011-02-022-9/+21
| | | | | | | | | | | | | | Rebased this patch to the newer code modified: subversion/disable-revision-install.patch Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | bitbake/fetch2/git: Ensure target directory exists when copying filesRichard Purdie2011-02-021-0/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | linux-yocto-stable: Update SRC_URI after fetcher changesRichard Purdie2011-02-021-3/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvementsRichard Purdie2011-02-023-6/+4
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | fetch2: Allow multiple src rev to be used in one src_uriYu Ke2011-02-025-64/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SRC_URI format: the SRC_URI are extended to allow multiple src rev: name=<name1>,<name2>,...<name-n> branch=<branch1>,<branch2>,...,<branch-n> also SRCREV can be defined with SRCREV_<name1> = xxxxx SRCREV_<name2> = xxxxx * FetchData extention to support multiple src rev, several FetchData data are added: - FetchData.names: list of name in SRC_URI, one name per srcrev. name is the index of revision and branch - FetchData.revisions: dictionary of name->revision. - FetchData.branches: dictionary of name->branch. For example, linux-yocto recipes becomes: SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;branch=${KBRANCH},meta;name=machine,meta" FetchData.names = ['machine', 'meta'] FetchData.revisions = { 'machine':xxxxx, 'meta':xxxxxx } FetchData.branches = { 'machine':${KBRANCH}, 'meta':'meta'} * generic revision handling extension the related revision handling code in fetch2.__init__.py are changed accordingly. the major change is add name parameter to indicate which src rev to handling. originally there is one src rev per FetchData, so FetchData parameter is enough. now since one FetchData has multiple src rev, it is necessary to use FetchData + name to specifiy src rev. * git extension git fetcher are also revised to take advantage of the multiple src rev in FetchData. especially the download() method are enhanced to fetch multiple src rev. * other fetcher (svn, hg, ...) does not support multiple src rev. they just sync the API to add name, and then simply ignore the name. no actually functional change Signed-off-by: Yu Ke <ke.yu@intel.com>
* | git.py: Remove the source tree tarball archivesYu Ke2011-02-021-58/+5
| | | | | | | | | | | | | | | | Since we're now always providing the git source control files it becomes pointless to handle the tarballs of specific git revisions so drop this part of the fetcher. Signed-off-by: Yu Ke <ke.yu@intel.com>
* | bitbake/fetch2/git: Add nocheckout option to disable checkouts and always ↵Richard Purdie2011-02-021-9/+12
| | | | | | | | | | | | add scm data to checkouts Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bb.fetch2: Add git unpackYu Ke2011-02-021-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The git download method clones the git repository to the local machine. The unpack process can be optimised to be a local to local machine clone or a direct readtree operation to the destination using git.will clone git repo to local, so git unpack can be simplified to only checkouting the code to the work dir. For fullclone case, we also need to manually copy all the ref info, which is needed by the later do_kernel_checkout(). Rather than use hardlinks, we reference the repository using alternatives since the download directory may be on a different filesystem. [Change to use -s by Richard Purdie] Signed-off-by: Yu Ke <ke.yu@intel.com>
* | autotools.bbclass: Drop info directory listings as they're going to be ↵Richard Purdie2011-02-021-0/+4
| | | | | | | | | | | | broken if generated at this point and cause file conflicts Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | package.bbclass: Ensure SUMMARY is written to pkgdata as well as DESCRIPTIONRichard Purdie2011-02-021-0/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>