summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bb.fetch2: add "BB_NO_NETWORK" optionYu Ke2011-01-251-0/+10
| | | | | | | | | | Sometime user want a purely local fetching, i.e. using local mirror without any remote netowrk access. BB_NO_NETWORK option is introduced for this purpose check_network_access() is the guard for BB_NO_NETWOKR option. it should be put in any place that fetcher use network access Signed-off-by: Yu Ke <ke.yu@intel.com>
* bb.fetch2: remove the obsolate Fetch.try_mirrors referrenceYu Ke2011-01-251-7/+0
| | | | | | Fetch.try_mirrors is no longer exists, so the code is obsolate Signed-off-by: Yu Ke <ke.yu@intel.com>
* git.py: split download to download() and build_mirror_data()Yu Ke2011-01-252-3/+9
| | | | | | | | the download is to fetch the source from URL, the build_mirror_data is to create the mirror tar ball. the original go() method mix them together, it is more clean to split them. Signed-off-by: Yu Ke <ke.yu@intel.com>
* base/sstate.bbclass: Rename fetcher "go" method to "download" when using ↵Yu Ke2011-01-252-2/+8
| | | | | | fetch v2 Signed-off-by: Yu Ke <ke.yu@intel.com>
* bb.fetch2: rename "go" with "download" to better reflect its functionalityYu Ke2011-01-2513-19/+19
| | | | | | no functional change Signed-off-by: Yu Ke <ke.yu@intel.com>
* base.bbclass: use bb.fetch2 unpack APIYu Ke2011-01-251-1/+7
| | | | Signed-off-by: Yu Ke <ke.yu@intel.com>
* bb.fetch: add fetch version to distinguish bb.fetch and bb.fetch2Yu Ke2011-01-252-0/+4
| | | | | | | | there is case that we need to distingush bb.fetch and bb.fetch2, and use different API for bb.fetch and bb.fetch2. so it is necessary to add version info for distinguish purpose Signed-off-by: Yu Ke <ke.yu@intel.com>
* bb.fetch2: revise the Fetch.unpack APIYu Ke2011-01-251-18/+15
| | | | | | | | | | change the unpack to use the urldata and rootdir parameter - urldata is the FetchData instance - rootdir is the dir to put the extracted source. the original unpack use current dir (os.getcwd) as destination dir, which is not flexible and error-prone (error will occur if caller not chdir to dest dir) Signed-off-by: Yu Ke <ke.yu@intel.com>
* bb.fetch2: add unpack method in fetcherYu Ke2011-01-251-0/+84
| | | | | | copy exactly the base.bbclass:oe_unpack_file() to bb.fetch2 as the code base Signed-off-by: Yu Ke <ke.yu@intel.com>
* emenlow: Change PACKAGE_EXTRA_ARCHS and BASE_PACKAGE_ARCH to core2Dongxiao Xu2011-01-251-3/+3
| | | | | | | | After machine specific sysroot is implemented, emenlow and atom-pc could build together as one architecture. Thus change emenlow architecture back to core2. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* bitbake: machine specific sysroots implementationDongxiao Xu2011-01-2512-24/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the sysroots path to be machine specific. Changes includes: 1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific paths. 2) task stamp files. Adding ${MACHINE} info into stamp files for do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged. 3) siteconfig path. Separate the site config path for different machines to avoid one machine adopting the cache file of another machine. 4) sstate. Add machine name to sstate manifest file. Change relocation code for sstate paths since sysroot is machine. Keep native, nativesdk, crosssdk, and cross-canadian unchanged. 5) toolchain scripts. Change the environment path to point to machine specific sysroots in toolchain scripts bbclass. 6) Relocate la files when populating to a different machine of the same architecture. 7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate siginfo since they contain ${MACHINE} information. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* base-files: Add to make some directories needed by LSB.Jingdong Lu2011-01-251-1/+17
| | | | | | LSB will check some directories,eg, "/usr/local/" and need to make them for LSB test. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* liburi-perl: Rename liburi-perlJingdong Lu2011-01-251-0/+0
| | | | Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* pseudo: Revert msg cache changesMark Hatle2011-01-253-23/+2
| | | | | | | | | The message cache code in pseudo seems to be causing problems. So we have finally decided to revert that optimization. (The revert is in the upstream pseudo.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc/libc: Change bootstrap to use an intermediate sysroot and hence no ↵Richard Purdie2011-01-257-4/+51
| | | | | | | | longer overwrite files Based upon patches from Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-intermediate, gcc-crosssdk-intermediate: change ↵Dexuan Cui2011-01-253-2/+18
| | | | | | CROSS_TARGET_SYS_DIR and install into new locations Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* gcc-cross-initial, gcc-crosssdk-initial: change CROSS_TARGET_SYS_DIR and ↵Dexuan Cui2011-01-257-2/+18
| | | | | | insall into new locations Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* sstate.bbclass: allow each step of toolchain bootstrap processes to do ↵Dexuan Cui2011-01-251-24/+0
| | | | | | | | | populate_sysroot independently Some steps (like gcc-cross-initial, gcc-cross-intermediate and eglibc-initial) will install to new locations to avoid file overwriting. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* cross.bbclass: make MULTIMACH_TARGET_SYS adjustable for bindir, libdir, ↵Dexuan Cui2011-01-251-3/+4
| | | | | | | | libexecdir This will be used by gcc-cross-initial and gcc-cross-intermediate. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* distro_tracking_fields: Updated sudo tracking dataScott Garman2011-01-241-4/+4
| | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* sudo: upgrade to 1.7.4p6Scott Garman2011-01-241-2/+2
| | | | | | Addresses CVE-2011-0010 Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* beagleboard: Not ready for 2.6.37 kernel yet, use stable insteadSaul Wold2011-01-241-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-yocto: update SRCREVs for emenlowBruce Ashfield2011-01-241-2/+2
| | | | | | | The emenlow has been ported/tested on 2.6.37. Updating the SRCREVs to reflect the change. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: allow multiple BSPs per branchBruce Ashfield2011-01-243-4/+4
| | | | | | | | | | | | | | | | | | | | By default the linux-yocto recipes operate on the current branch and use it as a trigger to locate the description of a board. This model works well when using the git repo outside of a build system since the commands can be simply invoked and will do something useful. However, it does mean that you can't have two BSPs that differ only by configuration, building out of a single branch in the repository. This means that you must have many branches for very similar BSPs. This model is still preferred, but having the choice of branching strategies is better. With this change we can have multiple BSPs using a single branch with the preferred description being hinted from the build system by passing the $machine value to updateme/configme. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* update-rc.d.bbclass: Changed RDEPENDS for nativeSaul Wold2011-01-241-1/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* send-pull-request: send all patches as the local userDarren Hart2011-01-241-1/+6
| | | | | | | | | | When using sendmail to send patches, patches would appear to be from the original author as git adds a From: header in the generated patches. This patch changes this behavior to match that of git-send-email, where the email From: header is that of the current sender (according to sendmail) and a "From: Original Author <email>" line is inserted into the body of the message. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* send-pull-request: unset $TO and $CC from environmentScott Garman2011-01-241-0/+4
| | | | | | | | | Darren Hart and I discovered that when $CC is set (which our meta-toolchain environment script sets up), the value leaks into the use of this script. Unsetting $TO as well just to be thorough. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* linux-yocto/stable: update beagleboard SRCREVBruce Ashfield2011-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Updating beagleboard SRCREV to pickup: commit 8e15b884ecf768fd9f898da5acf24938dfe81a83 Author: Koen Kooi <koen@beagleboard.org> Date: Tue Jan 11 17:13:35 2011 +0000 omap3: beaglexm: fix EHCI power up GPIO dir commit a5624323866c06156ca548b8515d9347fdd5188e angstrom-linux EHCI enable power pin is inverted (active high) in comparison to vanilla beagle which is active low. Handle this case conditionally. Without this fix, Beagle XM 4 port EHCI will not function and no networking will be available [nm@ti.com: split up, added descriptive changelogs] Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Koen Kooi <koen@beagleboard.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/stable: update crownbay kernel configurationBruce Ashfield2011-01-241-1/+1
| | | | | | | | | | Updating the meta branch to contain the latest crownbay configuration tweaks. e1f85a4 wrs_meta: turn on OHCI USB config option 8be8e45 wrs_meta (crownbay): turn on AHCI SATA option Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/stable: update beagleboard SRCREVBruce Ashfield2011-01-241-1/+1
| | | | | | | | | | Bumping the SRCREV to pickup some missing functionality: ebbca89 omap: Beagle: no gpio_wp pin connection on xM 671fd89 omap: Beagle: only Cx boards use pin 23 for write protect dccdf8a omap: Beagle: revision detection Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* distro tracking: Add more info for qemu, gdk-pixbuf...., after last interationZhai Edwin2011-01-241-50/+73
| | | | | | of upgrade Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* nfs-utils, e2fsprogs, mtd-utils, libsm: bump PRPaul Eggleton2011-01-244-4/+4
| | | | | | | | This ensures package runtime dependencies are up-to-date after splitting out libuuid and libblkid in util-linux recipe Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Qing He <qing.he@intel.com>
* gst-plugins-base: add util-linux to DEPENDSPaul Eggleton2011-01-241-2/+2
| | | | | | | gst-plugins-base requires libuuid, so add util-linux to DEPENDS. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Qing He <qing.he@intel.com>
* util-linux: fix lscpu packagingQing He2011-01-242-2/+5
| | | | | | | lscpu in util-linux 2.17.2 is specially under GPLv3, ensure it's packaged separately if it's being built. Signed-off-by: Qing He <qing.he@intel.com>
* util-linux: fix dangling symlinksQing He2011-01-242-6/+14
| | | | | | shutdown and swapon should be in $base_sbindir instead of $sbindir Signed-off-by: Qing He <qing.he@intel.com>
* util-linux: separately packaging blkid and uuidQing He2011-01-242-2/+9
| | | | | | | | To avoid full set of util-linux included by library dependencies. Fixes [BUGID #661]. Signed-off-by: Qing He <qing.he@intel.com>
* apt: revert the dso_linking_change patch as the new linker fixes itNitin A Kamble2011-01-242-28/+2
| | | | | | | | | | | | | The newer binutils recipe of version 2.21 has a fix for ld which avoids an issue where weak symbols like pthread_cancel were causing linking to fail wh --no-add-as-needed parameter was passed to ld. See more information here: http://bugs.debian.org/591405 This makes some of the fixes for breakage after gcc dso linking change unnecessary and this is one of them. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libzypp: revert the dso_linking_change patch as the new linker fixes itNitin A Kamble2011-01-242-53/+2
| | | | | | | | | | | | | The newer binutils recipe of version 2.21 has a fix for ld which avoids an issue where weak symbols like pthread_cancel were causing linking to fail when --no-add-as-needed parameter was passed to ld. See more information here: http://bugs.debian.org/591405 This makes some of the fixes for breakage after gcc dso linking change unnecessary and this is one of them. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libmusicbrainz: revert the dso_linking_change patch as the new linker fixes itNitin A Kamble2011-01-242-32/+2
| | | | | | | | | | | | | The newer binutils recipe of version 2.21 has a fix for ld which avoids an issue where weak symbols like pthread_cancel were causing linking to fail when --no-add-as-needed parameter was passed to ld. See more information here: http://bugs.debian.org/591405 This makes some of the fixes for breakage after gcc dso linking change unnecessary and this is one of them. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* poky-extract-sdk: allow relative paths for extract-dirScott Garman2011-01-241-0/+5
| | | | | | | | | | | | | psuedo needs a full path to its pid file, so convert relative extract-dir paths to full ones. The symptom of this bug is receiving the following error: pseudo: Couldn't open relative/path/to/var/pseudo/pseudo.pid: No such file or directory This fixes [BUGID #670] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* bitbake/utils: Ignore OSError in unlockfileRichard Purdie2011-01-241-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop remaining bootcdx86 references, the -live images for qemux86 and ↵Richard Purdie2011-01-2410-5587/+5
| | | | | | atom-pc replace this Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_deb: Remove access to the D directory which isn't used and might not ↵Richard Purdie2011-01-211-7/+2
| | | | | | exist (same problem as the previous patch to package_ipk fixes) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_ipk: Do not depend on the existence of "D" to create ipk packageDongxiao Xu2011-01-211-6/+1
| | | | | | | | | | If build from sstate results, the ${D} will not be installed. In this case the creation of ipk package will be skipped, which will cause the build failure. Fix the issue by removing the judgement of ${D} existence. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* glib-2.0: Add missing DEPENDS on dbusRichard Purdie2011-01-211-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Drop now unneeded DEPENDS on glib-2.0Richard Purdie2011-01-211-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Drop now unneeded DEPENDS on udevRichard Purdie2011-01-211-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-image*-dev: Add -dev Images contianing headers and librariesSaul Wold2011-01-213-0/+33
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu2011-01-2114-31/+41
| | | | | | | | | | Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* distro tracking: add graphics recipes tracking dataYu Ke2011-01-211-18/+19
| | | | | | | add required filed for package report system to generate more acurate report Signed-off-by: Yu Ke <ke.yu@intel.com>