aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-05-20package-index.bb: add support for deb and rpm.Dexuan Cui
[YOCTO #1024] Currently package-index.bb only supports ipk. This commit adds the support for rpm and deb, too. ------------------------------ How to generate and use repos: 1) run "bitbake package-index" after building some target, e.g., core-image-sato-sdk; 2) export ${DEPLOY_DIR_RPM}, ${DEPLOY_DIR_IPK} and ${DEPLOY_DIR_DEB} by a webserver on the host, assuming the host IP is 192.168.7.1, at http://192.168.7.1/rpm http://192.168.7.1/ipk http://192.168.7.1/deb 3) inside the target, according to the packaging system (rpm, ipk or deb) used when we generate the target image, we can use different ways to manage packages: 3.1) RPM run "zypper addrepo http://192.168.7.1/rpm main; zypper refresh" to retrieve info about the repo; next, we can use "zypper install/remove" to manage packages. 3.2) IPK add the repo info into opkg config file, i.e., in /etc/opkg/arch.conf, we can add something like "src i586 http://192.168.7.1/ipk/i586", and next, we run "opkg update" to make opkg update the list of available packages. And later, we can use "opkg install/remove" to manage packages. 3.3) DEB Currently in target, some important config files, like /var/lib/dpkg/status and /etc/apt/sources.list, for deb/apt are missing. So we can't install/remove package in target at present. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-20gettext (gplv2): add virtual/gettext to PROVIDES listSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-20u-boot: fix LIC_FILE_CHKSUMSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19distro/defaultsetup.conf: Append TCLIBC to TMPDIR by defaultRichard Purdie
The current solutions to share uclibc, eglibc and glibc builds in the same tree all have various issues associated with them. Appending the suffix to TMPDIR seems like the best solution since sstate (which defaults to outside TMPDIR) will allow reuse of any components. This avoids messy changes to the core with other approaches to this problem inevitably entail, usually in code where this abstraction isn;'t logically best placed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19default-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and ↵Khem Raj
DISTRO_EXTRA_RRECOMMENDS We otherwise get these added to image dependencies in distributions and they may not want it but would like to use those variables Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-19*pull-request: add copyright, license, and descriptionsDarren Hart
Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19send-pull-request: streamline git-send-email usageDarren Hart
The script was sending one patch at a time, which defeats the internal confirmation mechanism of git-send-email (which would otherwise allow the user to send all patches or abort immediately). Rework the sending logic to use no more than two commands. Use two commands when the cover letter is to be sent to all recipients with the -a argument. Otherwise, send all patches via the same command. The script duplicates git's send confirmation, eliminate that. Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Khem Raj <raj.khem@gmail.com> Cc: Joshua Lock <josh@linux.intel.com> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19create-pull-request: add untested oe repository supportDarren Hart
Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19create-pull-request: add GitHub remote supportOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-05-19create-pull-request: do not check certificateOtavio Salvador
Some remotes can use HTTPS and we don't need to check the certificate of the host so wget call is changed to avoid it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-05-19send-pull-request: verify git sendemail configDarren Hart
Perform a quick sanity check to be able to direct users to configure git.sendemail if they haven't yet. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19send-pull-request: don't send all patches to everyone even with -aDarren Hart
Rather than sending every patch to every recipient of the entire series when -a is used, only send the cover letter to everyone and use git's --signed-off-by-cc feature to generate an auto cc list for the individual patches. Add a -c option to use --signed-off-by-cc to auto cc recipeients at the individual patch level. This is implied by -a. Using git to harvest the Cc list means only collecting Signed-off-by and Cc lines, rather than the more generic *-by lines previously. This is a fair trade-off for significantly reduced complexity. If users want to add Acked-by and Tested-by lines and want to use the -a feature, they should include those recipients as Cc lines as well. Now that we rely on git for auto-cc for the individual patches, make sure the user is prompted before sending each patch by forcing --confirm=always. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Khem Raj <raj.khem@gmail.com> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19send-pull-request: fix greedy auto-cc regexDarren Hart
A greedy regular expression caused emails to be harvested from patches that were quoted in the commit message. Ensure only tags that start at the beginning of the line are considered for harvesting. NOTE: users are still responsible for verifying the recipients list and to ensure they do not spam people! Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Saul Wold <sgw@linux.intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19send-pull-request: remove local mta supportDarren Hart
There is no real value in supporting sendmail directly when git can be configured to use it. The script used to generate the pull request mails relies heavily on git, so doing so here does not impose any additional dependencies and it greatly reduces the complexity of this script. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19send-pull-request: whitespace cleanupDarren Hart
Indent with tabs, not spaces, for consistency with other bash scripts. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19create-pull-request: provide an RFC mode via -c argumentDarren Hart
Currently it is difficult to know if a pull request is being sent for review or just to be pulled. Add a -c argument to add RFC to the subject prefix and a blurb requesting review to the cover letter. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Saul Wold <sgw@linux.intel.com> Cc: Paul Eggleton <paul.eggleton@intel.com> Cc: Joshua Lock <josh@linux.intel.com> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19create-pull-request: rewrite known private URLs to public URLsDarren Hart
Rather than requiring users to have public remotes and private remotes when their development remotes are ssh based (and therefor unsuitable for a pull request URL), rewrite the ones we know about from ssh://git@ to git://. As the remote url vary from remote to remote, do the REMOTE_REPO regex per remote. With this infrastructure in place, future patches can augment the list of known remotes for things like Git Hub, Gitorious, kernel.org, etc. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Tom Rini <tom_rini@mentor.com> Cc: Tom Rini <tom_rini@mentor.com> Cc: Martin Jansa <martin.jansa@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Joshua Lock <josh@linux.intel.com>
2011-05-19create-pull-request: use git request-pull and arbitrary remotesDarren Hart
Allow for arbitrary remotes via a new -u argument. Remove the hard coded references to the pokylinux repositories. Create the WEB_URL from known remotes. Future patches can add additional WEB_URL mappings for remotes like Git Hub, Gitorious, and kernel.org. Rather than duplicating the git request-pull command ourselves, just use the existing one. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Tom Rini <tom_rini@mentor.com> Cc: Tom Rini <tom_rini@mentor.com> Cc: Martin Jansa <martin.jansa@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Joshua Lock <josh@linux.intel.com>
2011-05-19create-pull-request: whitespace cleanupDarren Hart
Indent with tabs, not spaces, to be consistent with other bash scripts. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19create-pull-request: alphabetize argumentsDarren Hart
Some initial cleanup prior to a significant overhaul. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
2011-05-19qt4-tools-native: Fix the patch locationSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19utils.bbclass: modify create_wrapper to correctly follow symlinksSaul Wold
This ensures you look up the symbolic link to get the full path Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19Add adt repo checkingJessica Zhang
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-19extract bitbake config setting into data_define, use more variables ↵Jessica Zhang
replacing hardcoded values Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-19lsbsetup: Rename this file and add a link for lsb testXiaofeng Yan
[YOCTO #1079] Rename this file version from 0.9 to 1.0. Link time environment for Hong Kong time for lsb test. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Added yocto bugid Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19linux-yocto: fix gcc 4.6.0 compilation failuresBruce Ashfield
Fixes bug: [YOCTO #1035] Fixes bug: [YOCTO #1036] Fixes gcc 4.6.0 compliation issues by importing the upstream change: Author: Michal Marek <mmarek@suse.cz> Date: Mon May 2 12:13:01 2011 +0000 kbuild: Fix passing -Wno-* options to gcc 4.4+ Starting with 4.4, gcc will happily accept -Wno-<anything> in the cc-option test and complain later when compiling a file that has some other warning. This rather unexpected behavior is intentional as per http://gcc.gnu.org/PR28322, so work around it by testing for support of the opposite option (without the no-). Introduce a new Makefile function cc-disable-warning that does this and update two uses of cc-option in the toplevel Makefile. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Michal Marek <mmarek@suse.cz> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> Integrated-by: Bruce Ashfield <bruce.ashfield@windriver.com> :100644 100644 0ef00bd... 1d8e7e9... M Documentation/kbuild/makefiles.txt :100644 100644 7bd863e0.. 74bac80... M Makefile :100644 100644 ed2773e... ba25c44... M scripts/Kbuild.include Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-05-19tcp-wrappers: fix libc overridesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19sysstat: fix libc overridesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19lsof: fix libc overridesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19findutils: fix libc overridesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19diffutils: fix libc overridesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19mklibs-native: Update to 0.1.33Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19usbutils: Update to 0.91Saul Wold
Also move the upstream location to kernel.org Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19u-boot: update SRCREV to 2011.03Darren Hart
Fixes [YOCTO 1029] u-boot 2010.12 fails to run on the Beagleboard C4 and xM Rev A boards. Commit 55aacbc30e48f6f8a73fb989a58625e70887bc01 suggests there was a mixup during development, as the MD5SUM change is from the 2011.03 SRCREV back to the 2010.12. Chances are a patch was never sent to update the SRCREV, leaving the MD5SUM in a bad state. Update the SRCREV and COPYING MD5SUM to use the 2011.03 version. Built and tested on Beagleboard xM Rev A and Beagleboard Rev C4. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Tested-by: Jeff Osier-Mixon <jefro@jefro.net> Cc: Jeff Osier-Mixon <jefro@jefro.net> Cc: Yi Zhao <yi.zhao@windriver.com> Cc: Robert Berger <pokylinux@reliableembeddedsystems.com> Cc: Gary Thomas <gary@mlbassoc.com> Merged Richard's removal of PR from PV Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19u-boot: Don't add PR in PV, its pointlessRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19utils.bbclass: modify create_wrapper to correctly follow symlinksSaul Wold
This ensures you look up the symbolic link to get the full path Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18qt4: re-enable two 4.6.x patches in 4.7.3Paul Eggleton
Two patches that were being applied in 4.6.x are now applied for 4.7.3. The functions of these two patches are: * Add support for 2bpp (only affects qt4-embedded) * Use correct infix on QtUiTools library (only affects qt4-embedded as qt4-x11-free does not define an infix) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18qt4: add comments and Upstream-Status to all patchesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18qt4: remove Qt 4.6.3Paul Eggleton
We should only have one version of Qt4 supported in oe-core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18gst-openmax: Add patch for GCC 4.6.0Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18qemu: Fix Dependency and compatible machinesSaul Wold
add DEFAULT_PREFERENCE = "-1" to disable git recipe Added libx11 for GL support to DEPENDS Use BROKEN to disable qemuarm and qemumips world build of qemu target Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18gcc: remove unused patches and move patches in proper dirNitin A Kamble
gcc: update upstream-status for patches python: update upstream-status for patches libtool: update upstream-status of patches m4: update upstream status for patches eglibc: remove unused patches eglibc: update upstream status of patches glibc: update upstream-status of patches & remove unused patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-05-18Couple minor fixes for the OECORE renameJessica Zhang
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-18recipes: add Upstream-Status to various recipe patchesScott Garman
Add Upstream-Status tag to patches for the following recipes: apmd insserv linuxdoc-tools openjade sgmlspl at sudo Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-05-18Add a skeleton for init scriptsRobert Yang
Add a skeleton for init scripts, the original structure is from /etc/init.d/skeleton of Ubuntu 10.10, it is in sysvinit_2.87dsf, so add the COPYRIGHT(GPLv2) of sysvinit_2.87dsf. Modified the original skeleton a lot to make it as easy as possible, just use posix shell command, and have tested it with core-image-minimal. * The skeleton implements the following actions: - start, stop, restart, status, try-restart and force-reload. # force-reload is a alias of try-restart. - not implements reload, since only a few programs have it, just leave it as placeholder. * Add /usr/sbin/skeleton-test to test /etc/init.d/skeleton * The /etc/init.d/skeleton can be run and output the example messages: 1) #./skeleton start (test start) Starting skeleton ... 2) #./skeleton start (test start again when running) skeleton already running (1078). 3) #./skeleton status (test status when running) skeleton is running (1078). 4) #./skeleton stop (test stop) Stopped skeleton (1078). 5) #./skeleton stop (test stop again) skeleton is not running; none killed. 6) #./skeleton status (test status when stopped) skeleton is not running. 7) #./skeleton restart (test restart when running) Stopped skeleton (1128). Starting skeleton ... 8) #./skeleton restart (test restart when stopped) skeleton is not running; none killed. Starting skeleton ... 9) try-restart (or force-reload) means restart the service if the service is already running #./skeleton try-restart (test try-restart when stopped) skeleton is not running; none killed. #./skeleton try-restart (test try-restart when running) Stopped skeleton (1181). Starting skeleton ... * Have used syslogd to test it in a real world(with both core-image-minimal and core-image-sato) Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-05-18Add pidofproc to ${sysconfdir}/init.d/functionsRobert Yang
Add pidofproc to ${sysconfdir}/init.d/functions, this is used for getting the pid of the process. It uses pidof to implement currently, it may also use the pidfile or ps to implement in the future. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-05-18Cleanup the whitespace in functionsRobert Yang
Cleanup the whitespace in functions, replace the 4 whitespaces indent with tab. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-05-18Add the layer meta-skeletonRobert Yang
Add the layer meta-skeleton, it will be used to place the various canonical examples. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-05-18world-broken: remove non-existent itemsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18task-core-clutter: Update to 1.6Saul Wold
Removed clutter-gtk and box2d Signed-off-by: Saul Wold <sgw@linux.intel.com>