summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* git: upgrade from 1.7.4.3 to 1.7.5.1Nitin A Kamble2011-05-233-21/+4
| | | | | | | the autotools patch is not needed anymore. The code which the patch was patching is removed, and there is no use of the patch now. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* create-pull-request: generalize the repository URL parsingDarren Hart2011-05-231-17/+12
| | | | | | | | | | | | | | | | | | | The existing REMOTE_URL and REMOTE_REPO parsing made assumptions regarding the git URL format used for the known repository types. In fact, both of these ssh URL formats are valid for all the known repositories. Specifically: ssh://git@server/repository/path git@server:repository/path Generalize the parsing to work with each of these for all push URLs matching *@*. Tested with the following URLs: ssh://git@git.pokylinux.org/poky-contrib ssh://git@git.pokylinux.org/poky-contrib.git git@git.pokylinux.org:poky-contrib git@git.pokylinux.org:poky-contrib.git Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* ghostscript: fix run failure on mpc8315eKang Kai2011-05-2312-3/+448
| | | | | | | | | | | | | | When run gs on mpc8315, it fails with: GPL Ghostscript 9.02: ./psi/interp.c(291): Fatal error -20 in gs_interp_init! It is caused by cross compile. Accoding to the ghostscript document on: http://pages.cs.wisc.edu/~ghost/doc/cvs/Make.htm#Cross-compiling it needs some manual work, so import patches from WindRiver Linux. Update to using oe way to add arch.h, thanks to Richard. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* pulseaudio: package udev rulesKoen Kooi2011-05-233-3/+3
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* syslinux: rdepends on mtoolsOtavio Salvador2011-05-231-1/+3
| | | | | | | To be able to install into a disk, mtools are required thus we add it as rdepends of 'syslinux' package. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* send-pull-request: drop sendemail checksOtavio Salvador2011-05-231-16/+0
| | | | | | | | | | git send-email has the correct check on it. Basically the From is taken from the git 'user' and 'email' config values and in case 'sendemail.smtpserver' is not provided it defaults to use local sendmail command. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Darren Hart <dvhart@linux.intel.com>
* update-alternatives-dpkg: Update to dpkg base 1.15.8.7Saul Wold2011-05-233-9/+18
| | | | | | | | [YOCTO #1062] Due to failing fetch updated recipe and SRC_URI to use .bz2, Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gail: update gail to 1.20.2Saul Wold2011-05-231-3/+7
| | | | | | | | | [YOCTO #1042] - Added LIC_FILES_CHKSUM - Corrected LICENSE Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Merge branch 'master', remote-tracking branch 'origin/master'Richard Purdie2011-05-231-0/+1
|\
| * test commitCliff Brake2011-05-231-0/+1
| |
* | uclibc: Upgrade to 0.9.32-rc3Khem Raj2011-05-2360-2406/+7878
| | | | | | | | | | | | | | | | | | Bring in the uclibc recipes from meta-oe they have been well tested by now. Delete 0.9.30.1 recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | qemu machines: drop MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "qemu-config"Koen Kooi2011-05-231-1/+0
| | | | | | | | | | | | | | Things like 'distcc' and 'bash' are not essential to booting a qemu machine. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | distcc_2.18.3.bb: Fix compilation on uclibcKhem Raj2011-05-231-4/+11
| | | | | | | | | | | | | | | | We enable gtk/gnome in distcc that code uses loadavg() a function unimplemented in uclibc. Therefore for uclibc we disable gnome and gtk+ features in distcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | gplv2 recipes update upstream status of patchesNitin A Kamble2011-05-236-0/+12
| | | | | | | | | | | | | | | | | | grep-2.5.1a: update upstream status of patches tar-1.17: update upstream-status of patches at-3.1.12: update upstream-status for patches cpio-2.8: update upstream-status for patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | tcmode-default: switch to gcc 4.6.0 for ppc & mips alsoNitin A Kamble2011-05-231-4/+0
| | | | | | | | | | | | Now the kernel issues related to gcc 4.6.0 for mips & ppc are fixed. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | tcmode-default: switch to eglibc 2.13 from 2.12Nitin A Kamble2011-05-231-1/+1
| | | | | | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFSKhem Raj2011-05-232-21/+1
| | | | | | | | | | | | Remove headerfix.patch, its already applied upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | puzzles: update to r9173Saul Wold2011-05-231-0/+0
|/ | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* packagedata: don't choke on empty PACKAGESChris Larson2011-05-201-1/+2
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Move packagedata code into oe.packagedata (sync from OE)Chris Larson2011-05-204-66/+115
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.packagegroup: add code for package groups (sync from OE)Chris Larson2011-05-202-1/+30
| | | | | | | | | | | | | This includes some utility functions for dealing with groups of packages defined in the metadata. Metadata syntax: PACKAGE_GROUP_<group> = "<list of packages>" If the packages in the group are optional: PACKAGE_GROUP_<group>[optional] = "1" Signed-off-by: Chris Larson <chris_larson@mentor.com>
* base.bbclass: use oe.data for OE_IMPORTSChris Larson2011-05-201-1/+3
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Shift oe import logic out of the event handlerChris Larson2011-05-201-15/+18
| | | | | | | This can be useful if we need the imports from another config parsed event handler, and can't rely upon the base one running before that one. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* base.bbclass: switch to current OE's imports handlingChris Larson2011-05-201-13/+9
| | | | | | | The current mechanism makes it easier for classes to add new oe modules to be automatically imported, and thereby made available to python snippets (${@}). Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.data: expand the flagsChris Larson2011-05-201-0/+5
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Implement variable typing (sync from OE)Chris Larson2011-05-206-0/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation consists of two components: - Type creation python modules, whose job it is to construct objects of the defined type for a given variable in the metadata - typecheck.bbclass, which iterates over all configuration variables with a type defined and uses oe.types to check the validity of the values This gives us a few benefits: - Automatic sanity checking of all configuration variables with a defined type - Avoid duplicating the "how do I make use of the value of this variable" logic between its users. For variables like PATH, this is simply a split(), for boolean variables, the duplication can result in confusing, or even mismatched semantics (is this 0/1, empty/nonempty, what?) - Make it easier to create a configuration UI, as the type information could be used to provide a better interface than a text edit box (e.g checkbox for 'boolean', dropdown for 'choice') This functionality is entirely opt-in right now. To enable the configuration variable type checking, simply INHERIT += "typecheck". Example of a failing type check: BAZ = "foo" BAZ[type] = "boolean" $ bitbake -p FATAL: BAZ: Invalid boolean value 'foo' $ Examples of leveraging oe.types in a python snippet: PACKAGES[type] = "list" python () { import oe.data for pkg in oe.data.typed_value("PACKAGES", d): bb.note("package: %s" % pkg) } LIBTOOL_HAS_SYSROOT = "yes" LIBTOOL_HAS_SYSROOT[type] = "boolean" python () { import oe.data assert(oe.data.typed_value("LIBTOOL_HAS_SYSROOT", d) == True) } Signed-off-by: Chris Larson <chris_larson@mentor.com>
* kernel.bbclass: pass KERNEL_VERSION through legitimize_package_nameAndreas Oberritter2011-05-201-2/+2
| | | | | | | | | - KERNEL_VERSION may contain characters unsuitable for package names, e.g. underscores. Use legitimize_package_name to replace those characters. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "u-boot: fix LIC_FILE_CHKSUM"Richard Purdie2011-05-201-1/+1
| | | | | | This reverts commit bbdd81fcd25d2d5aa730a1ea99eecf50a2111989. Saul discovered this change was incorrect.
* ed (GPLv2): remove --disable-silent-rulesSaul Wold2011-05-201-1/+3
| | | | | | Older version of configure in ed does not like this option, so remove it from CONFIGUREOPTS Signed-off-by: Saul Wold <sgw@linux.intel.com>
* modutils-cross: fix install issueSaul Wold2011-05-201-2/+2
| | | | | | [YOCTO #1055] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tcmode-default: switch to gcc 4.6.0 for x86, x86-64 & armNitin A Kamble2011-05-201-2/+6
| | | | | | mips & ppc are not ready yet. Waiting for kernel issues to be fixed. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* uclibc/site_config/funcs: getloadavg is unimplementedKhem Raj2011-05-201-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nfs-utils_1.2.3.bb: Fix compile failure on uclibcKhem Raj2011-05-203-7/+36
| | | | | | | | | | libio.h is not needed even in case of eglibc but still the patch is uclibc specific Refreshed nfs-utils-1.0.6-uclibc.patch against nfs-utils_1.2.3 no code change Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opkg-utils: Synchronise with OEKhem Raj2011-05-202-2/+34
| | | | | | | | | Import mtime-int.patch from OE commit c81990aecae3bdf70a7c924699776b248ab7a006 Pass LDFLAGS to linker to avoid missing GNU_HASH QA errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* package-index.bb: add support for deb and rpm.Dexuan Cui2011-05-204-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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>
* gettext (gplv2): add virtual/gettext to PROVIDES listSaul Wold2011-05-201-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: fix LIC_FILE_CHKSUMSaul Wold2011-05-201-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* distro/defaultsetup.conf: Append TCLIBC to TMPDIR by defaultRichard Purdie2011-05-192-6/+4
| | | | | | | | | | | | | 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>
* default-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and ↵Khem Raj2011-05-191-3/+0
| | | | | | | | | 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>
* *pull-request: add copyright, license, and descriptionsDarren Hart2011-05-192-0/+51
| | | | | | Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
* send-pull-request: streamline git-send-email usageDarren Hart2011-05-191-42/+26
| | | | | | | | | | | | | | | | | | | | 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>
* create-pull-request: add untested oe repository supportDarren Hart2011-05-191-0/+7
| | | | | | Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
* create-pull-request: add GitHub remote supportOtavio Salvador2011-05-191-0/+7
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* create-pull-request: do not check certificateOtavio Salvador2011-05-191-1/+1
| | | | | | | | 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>
* send-pull-request: verify git sendemail configDarren Hart2011-05-191-0/+15
| | | | | | | | | 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>
* send-pull-request: don't send all patches to everyone even with -aDarren Hart2011-05-191-28/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* send-pull-request: fix greedy auto-cc regexDarren Hart2011-05-191-1/+1
| | | | | | | | | | | | | | | | | 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>
* send-pull-request: remove local mta supportDarren Hart2011-05-191-87/+21
| | | | | | | | | | | | 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>
* send-pull-request: whitespace cleanupDarren Hart2011-05-191-125/+125
| | | | | | | | 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>
* create-pull-request: provide an RFC mode via -c argumentDarren Hart2011-05-191-2/+22
| | | | | | | | | | | | | | | | | 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>