]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agorootfs_ipk: issue a diagnostic if rootfs is declared read-only and not all maintainer...
Phil Blundell [Tue, 24 May 2011 14:49:10 +0000 (15:49 +0100)]
rootfs_ipk: issue a diagnostic if rootfs is declared read-only and not all maintainer scripts could be applied offline

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoimage_types: add IMAGE_ROOTFS_EXTRA_SPACE
Saul Wold [Tue, 24 May 2011 06:22:41 +0000 (23:22 -0700)]
image_types: add IMAGE_ROOTFS_EXTRA_SPACE

[YOCTO #886]

This address 2 needs after the IMAGE_ROOTFS_SIZE is cleaned up, by
removing the _ext2/3 overrides it allows for a cleaner override
using IMAGE_ROOTFS_SIZE to create a large rootfs, or by setting the
IMAGE_ROOTFS_EXTRA_SPACE, will allow for extra space allocated in Kilobytes
above the base size (determined by du of the rootfs * IMAGE_OVERHEAD_FACTOR,
default of 1.3).

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoIMAGE_ROOTFS_SIZE Cleanup
Saul Wold [Tue, 24 May 2011 06:15:30 +0000 (23:15 -0700)]
IMAGE_ROOTFS_SIZE Cleanup

This basic cleanup removes the _ext2/3 overrides from places they
no longer belong since they did not allow further overrides. In doing
this the core-image-minimal* recipes can now set a reasonably small
rootfs so that it's a realistic size for minimal.

The new default for minimal is 8M and will be adujsted upward by the
IMAGE_OVERHEAD_FACTOR (default of 1.3).

This also fixes the ROOTFS_SIZE usage in the IMAGE_CMD_<fstype> code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoeglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
Khem Raj [Fri, 24 Sep 2010 07:09:12 +0000 (00:09 -0700)]
eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS

* Currently we are passing -jN or -j N flags to eglibc makefiles
  however eglibc uses a make variable called PARALLELMFLAGS
  to pass information about parallel build to sub-makes

* Currently make install ran without parallelism but now
  it should have parallel building flags passed to do_install
  correctly which inturn should improve build time of
  eglibc on systems using parallel build -j with values > 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoelfutils_0.148.bb: Fix compilation on uclibc
Khem Raj [Tue, 24 May 2011 01:53:59 +0000 (18:53 -0700)]
elfutils_0.148.bb: Fix compilation on uclibc

Currently all components of elfutils dont compile with uclibc
but elfutils is one part which is needed by other recipes e.g.
gcc 4.5 to compile. we make adjustments so that when compiling
for uclibc targets it _only_ builds and packages libelf

use --enable-uclibc only when building for uclibc targets

The supporting patch is also needed for compiling with uclibc
to specify -lintl and -luargp on linker commandline

Add missing inherit on gettext

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agogst-plugins-base: Add tremor to DEPENDS
Saul Wold [Wed, 25 May 2011 00:23:31 +0000 (17:23 -0700)]
gst-plugins-base: Add tremor to DEPENDS

gst-plugins-base requires the libvorbisidec library which is part of tremor

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistro-tracking: update toolchain recipe fields
Nitin A Kamble [Mon, 23 May 2011 23:03:53 +0000 (16:03 -0700)]
distro-tracking: update toolchain recipe fields

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopython-pygpbject: upgrade from 2.27 to 2.27.91
Nitin A Kamble [Mon, 23 May 2011 22:42:18 +0000 (15:42 -0700)]
python-pygpbject: upgrade from 2.27 to 2.27.91

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agobyacc: upgrade from 20101127 to 20101229
Nitin A Kamble [Mon, 23 May 2011 22:42:53 +0000 (15:42 -0700)]
byacc: upgrade from 20101127 to 20101229

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agolibpcre: upgrade from 8.10 to 8.12
Nitin A Kamble [Mon, 23 May 2011 22:41:57 +0000 (15:41 -0700)]
libpcre: upgrade from 8.10 to 8.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agogit: upgrade from 1.7.4.3 to 1.7.5.1
Nitin A Kamble [Mon, 23 May 2011 22:41:33 +0000 (15:41 -0700)]
git: upgrade from 1.7.4.3 to 1.7.5.1

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>
13 years agocreate-pull-request: generalize the repository URL parsing
Darren Hart [Mon, 23 May 2011 17:21:53 +0000 (10:21 -0700)]
create-pull-request: generalize the repository URL parsing

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>
13 years agoghostscript: fix run failure on mpc8315e
Kang Kai [Fri, 20 May 2011 09:26:36 +0000 (17:26 +0800)]
ghostscript: fix run failure on mpc8315e

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>
13 years agopulseaudio: package udev rules
Koen Kooi [Mon, 23 May 2011 14:59:17 +0000 (16:59 +0200)]
pulseaudio: package udev rules

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agosyslinux: rdepends on mtools
Otavio Salvador [Sun, 22 May 2011 13:21:45 +0000 (13:21 +0000)]
syslinux: rdepends on mtools

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>
13 years agosend-pull-request: drop sendemail checks
Otavio Salvador [Fri, 20 May 2011 20:36:33 +0000 (20:36 +0000)]
send-pull-request: drop sendemail checks

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>
13 years agoupdate-alternatives-dpkg: Update to dpkg base 1.15.8.7
Saul Wold [Fri, 20 May 2011 21:57:48 +0000 (14:57 -0700)]
update-alternatives-dpkg: Update to dpkg base 1.15.8.7

[YOCTO #1062]

Due to failing fetch updated recipe and SRC_URI to use .bz2,

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogail: update gail to 1.20.2
Saul Wold [Fri, 20 May 2011 21:45:52 +0000 (14:45 -0700)]
gail: update gail to 1.20.2

[YOCTO #1042]

- Added LIC_FILES_CHKSUM
- Corrected LICENSE

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoMerge branch 'master', remote-tracking branch 'origin/master'
Richard Purdie [Mon, 23 May 2011 22:00:20 +0000 (23:00 +0100)]
Merge branch 'master', remote-tracking branch 'origin/master'

13 years agouclibc: Upgrade to 0.9.32-rc3
Khem Raj [Sun, 22 May 2011 19:02:12 +0000 (12:02 -0700)]
uclibc: Upgrade to 0.9.32-rc3

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>
13 years agotest commit
Cliff Brake [Mon, 23 May 2011 14:50:04 +0000 (10:50 -0400)]
test commit

13 years agoqemu machines: drop MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "qemu-config"
Koen Kooi [Mon, 23 May 2011 11:58:14 +0000 (13:58 +0200)]
qemu machines: drop MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "qemu-config"

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>
13 years agodistcc_2.18.3.bb: Fix compilation on uclibc
Khem Raj [Thu, 19 May 2011 02:17:40 +0000 (19:17 -0700)]
distcc_2.18.3.bb: Fix compilation on uclibc

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>
13 years agogplv2 recipes update upstream status of patches
Nitin A Kamble [Thu, 19 May 2011 22:45:12 +0000 (15:45 -0700)]
gplv2 recipes update upstream status of patches

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>
13 years agotcmode-default: switch to gcc 4.6.0 for ppc & mips also
Nitin A Kamble [Sun, 22 May 2011 16:05:56 +0000 (09:05 -0700)]
tcmode-default: switch to gcc 4.6.0 for ppc & mips also

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>
13 years agotcmode-default: switch to eglibc 2.13 from 2.12
Nitin A Kamble [Thu, 19 May 2011 22:50:41 +0000 (15:50 -0700)]
tcmode-default: switch to eglibc 2.13 from 2.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoopkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS
Khem Raj [Thu, 19 May 2011 23:45:03 +0000 (16:45 -0700)]
opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS

Remove headerfix.patch, its already applied upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopuzzles: update to r9173
Saul Wold [Fri, 20 May 2011 22:02:16 +0000 (15:02 -0700)]
puzzles: update to r9173

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopackagedata: don't choke on empty PACKAGES
Chris Larson [Wed, 16 Mar 2011 14:46:14 +0000 (07:46 -0700)]
packagedata: don't choke on empty PACKAGES

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoMove packagedata code into oe.packagedata (sync from OE)
Chris Larson [Sun, 10 Oct 2010 04:24:38 +0000 (21:24 -0700)]
Move packagedata code into oe.packagedata (sync from OE)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agooe.packagegroup: add code for package groups (sync from OE)
Chris Larson [Sat, 9 Oct 2010 03:05:06 +0000 (20:05 -0700)]
oe.packagegroup: add code for package groups (sync from OE)

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>
13 years agobase.bbclass: use oe.data for OE_IMPORTS
Chris Larson [Wed, 18 May 2011 20:40:07 +0000 (13:40 -0700)]
base.bbclass: use oe.data for OE_IMPORTS

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoShift oe import logic out of the event handler
Chris Larson [Mon, 7 Mar 2011 16:51:39 +0000 (09:51 -0700)]
Shift oe import logic out of the event handler

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>
13 years agobase.bbclass: switch to current OE's imports handling
Chris Larson [Wed, 9 Feb 2011 14:09:43 +0000 (07:09 -0700)]
base.bbclass: switch to current OE's imports handling

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>
13 years agooe.data: expand the flags
Chris Larson [Tue, 29 Mar 2011 19:53:28 +0000 (12:53 -0700)]
oe.data: expand the flags

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoImplement variable typing (sync from OE)
Chris Larson [Tue, 9 Nov 2010 21:48:13 +0000 (14:48 -0700)]
Implement variable typing (sync from OE)

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>
13 years agokernel.bbclass: pass KERNEL_VERSION through legitimize_package_name
Andreas Oberritter [Fri, 20 May 2011 16:29:47 +0000 (17:29 +0100)]
kernel.bbclass: pass KERNEL_VERSION through legitimize_package_name

- 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>
13 years agoRevert "u-boot: fix LIC_FILE_CHKSUM"
Richard Purdie [Fri, 20 May 2011 16:09:32 +0000 (17:09 +0100)]
Revert "u-boot: fix LIC_FILE_CHKSUM"

This reverts commit bbdd81fcd25d2d5aa730a1ea99eecf50a2111989.

Saul discovered this change was incorrect.

13 years agoed (GPLv2): remove --disable-silent-rules
Saul Wold [Thu, 19 May 2011 21:12:47 +0000 (14:12 -0700)]
ed (GPLv2): remove --disable-silent-rules

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>
13 years agomodutils-cross: fix install issue
Saul Wold [Thu, 19 May 2011 03:56:29 +0000 (20:56 -0700)]
modutils-cross: fix install issue

[YOCTO #1055]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotcmode-default: switch to gcc 4.6.0 for x86, x86-64 & arm
Nitin A Kamble [Tue, 17 May 2011 18:00:06 +0000 (11:00 -0700)]
tcmode-default: switch to gcc 4.6.0 for x86, x86-64 & arm

mips & ppc are not ready yet. Waiting for kernel issues to be fixed.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agouclibc/site_config/funcs: getloadavg is unimplemented
Khem Raj [Thu, 19 May 2011 02:19:40 +0000 (19:19 -0700)]
uclibc/site_config/funcs: getloadavg is unimplemented

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agonfs-utils_1.2.3.bb: Fix compile failure on uclibc
Khem Raj [Thu, 19 May 2011 01:37:59 +0000 (18:37 -0700)]
nfs-utils_1.2.3.bb: Fix compile failure on uclibc

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>
13 years agoopkg-utils: Synchronise with OE
Khem Raj [Thu, 19 May 2011 20:56:00 +0000 (13:56 -0700)]
opkg-utils: Synchronise with OE

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>
13 years agopackage-index.bb: add support for deb and rpm.
Dexuan Cui [Wed, 18 May 2011 04:09:01 +0000 (12:09 +0800)]
package-index.bb: add support for deb and rpm.

[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>
13 years agogettext (gplv2): add virtual/gettext to PROVIDES list
Saul Wold [Thu, 19 May 2011 21:24:53 +0000 (14:24 -0700)]
gettext (gplv2): add virtual/gettext to PROVIDES list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agou-boot: fix LIC_FILE_CHKSUM
Saul Wold [Fri, 20 May 2011 01:12:36 +0000 (18:12 -0700)]
u-boot: fix LIC_FILE_CHKSUM

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistro/defaultsetup.conf: Append TCLIBC to TMPDIR by default
Richard Purdie [Tue, 17 May 2011 10:48:29 +0000 (12:48 +0200)]
distro/defaultsetup.conf: Append TCLIBC to TMPDIR by default

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>
13 years agodefault-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and DISTRO_EXTRA_RRECOMMENDS
Khem Raj [Mon, 16 May 2011 06:04:17 +0000 (23:04 -0700)]
default-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and 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>
13 years ago*pull-request: add copyright, license, and descriptions
Darren Hart [Mon, 16 May 2011 22:18:20 +0000 (15:18 -0700)]
*pull-request: add copyright, license, and descriptions

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Otavio Salvador <otavio@ossystems.com.br>
13 years agosend-pull-request: streamline git-send-email usage
Darren Hart [Mon, 16 May 2011 20:34:28 +0000 (13:34 -0700)]
send-pull-request: streamline git-send-email usage

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>
13 years agocreate-pull-request: add untested oe repository support
Darren Hart [Sat, 14 May 2011 05:36:27 +0000 (22:36 -0700)]
create-pull-request: add untested oe repository support

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Otavio Salvador <otavio@ossystems.com.br>
13 years agocreate-pull-request: add GitHub remote support
Otavio Salvador [Sat, 14 May 2011 05:33:53 +0000 (22:33 -0700)]
create-pull-request: add GitHub remote support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agocreate-pull-request: do not check certificate
Otavio Salvador [Sat, 14 May 2011 04:16:06 +0000 (04:16 +0000)]
create-pull-request: do not check certificate

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>
13 years agosend-pull-request: verify git sendemail config
Darren Hart [Fri, 13 May 2011 22:42:37 +0000 (15:42 -0700)]
send-pull-request: verify git sendemail config

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>
13 years agosend-pull-request: don't send all patches to everyone even with -a
Darren Hart [Fri, 13 May 2011 20:58:36 +0000 (13:58 -0700)]
send-pull-request: don't send all patches to everyone even with -a

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>
13 years agosend-pull-request: fix greedy auto-cc regex
Darren Hart [Fri, 13 May 2011 21:03:07 +0000 (14:03 -0700)]
send-pull-request: fix greedy auto-cc regex

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>
13 years agosend-pull-request: remove local mta support
Darren Hart [Fri, 13 May 2011 20:33:57 +0000 (13:33 -0700)]
send-pull-request: remove local mta support

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>
13 years agosend-pull-request: whitespace cleanup
Darren Hart [Fri, 13 May 2011 17:36:03 +0000 (10:36 -0700)]
send-pull-request: whitespace cleanup

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>
13 years agocreate-pull-request: provide an RFC mode via -c argument
Darren Hart [Fri, 13 May 2011 20:10:14 +0000 (13:10 -0700)]
create-pull-request: provide an RFC mode via -c argument

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>
13 years agocreate-pull-request: rewrite known private URLs to public URLs
Darren Hart [Fri, 13 May 2011 19:21:57 +0000 (12:21 -0700)]
create-pull-request: rewrite known private URLs to public URLs

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>
13 years agocreate-pull-request: use git request-pull and arbitrary remotes
Darren Hart [Fri, 13 May 2011 17:44:49 +0000 (10:44 -0700)]
create-pull-request: use git request-pull and arbitrary remotes

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>
13 years agocreate-pull-request: whitespace cleanup
Darren Hart [Fri, 13 May 2011 17:33:39 +0000 (10:33 -0700)]
create-pull-request: whitespace cleanup

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>
13 years agocreate-pull-request: alphabetize arguments
Darren Hart [Fri, 13 May 2011 16:30:53 +0000 (09:30 -0700)]
create-pull-request: alphabetize arguments

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>
13 years agoqt4-tools-native: Fix the patch location
Saul Wold [Wed, 18 May 2011 21:39:07 +0000 (14:39 -0700)]
qt4-tools-native: Fix the patch location

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutils.bbclass: modify create_wrapper to correctly follow symlinks
Saul Wold [Wed, 18 May 2011 04:43:42 +0000 (21:43 -0700)]
utils.bbclass: modify create_wrapper to correctly follow symlinks

This ensures you look up the symbolic link to get the full path

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoAdd adt repo checking
Jessica Zhang [Wed, 18 May 2011 04:23:17 +0000 (21:23 -0700)]
Add adt repo checking

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agoextract bitbake config setting into data_define, use more variables replacing hardcod...
Jessica Zhang [Wed, 18 May 2011 03:50:43 +0000 (20:50 -0700)]
extract bitbake config setting into data_define, use more variables replacing hardcoded values

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agolsbsetup: Rename this file and add a link for lsb test
Xiaofeng Yan [Wed, 18 May 2011 11:12:01 +0000 (19:12 +0800)]
lsbsetup: Rename this file and add a link for lsb test

[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>
13 years agolinux-yocto: fix gcc 4.6.0 compilation failures
Bruce Ashfield [Wed, 18 May 2011 16:07:44 +0000 (12:07 -0400)]
linux-yocto: fix gcc 4.6.0 compilation failures

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>
13 years agotcp-wrappers: fix libc overrides
Koen Kooi [Wed, 18 May 2011 13:44:49 +0000 (15:44 +0200)]
tcp-wrappers: fix libc overrides

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agosysstat: fix libc overrides
Koen Kooi [Wed, 18 May 2011 13:44:48 +0000 (15:44 +0200)]
sysstat: fix libc overrides

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agolsof: fix libc overrides
Koen Kooi [Wed, 18 May 2011 13:44:47 +0000 (15:44 +0200)]
lsof: fix libc overrides

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agofindutils: fix libc overrides
Koen Kooi [Wed, 18 May 2011 13:44:46 +0000 (15:44 +0200)]
findutils: fix libc overrides

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agodiffutils: fix libc overrides
Koen Kooi [Wed, 18 May 2011 13:44:45 +0000 (15:44 +0200)]
diffutils: fix libc overrides

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agomklibs-native: Update to 0.1.33
Saul Wold [Wed, 18 May 2011 19:13:11 +0000 (12:13 -0700)]
mklibs-native: Update to 0.1.33

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agousbutils: Update to 0.91
Saul Wold [Wed, 18 May 2011 21:37:13 +0000 (14:37 -0700)]
usbutils: Update to 0.91

Also move the upstream location to kernel.org

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agou-boot: update SRCREV to 2011.03
Darren Hart [Tue, 17 May 2011 18:30:03 +0000 (11:30 -0700)]
u-boot: update SRCREV to 2011.03

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>
13 years agou-boot: Don't add PR in PV, its pointless
Richard Purdie [Thu, 19 May 2011 14:20:52 +0000 (15:20 +0100)]
u-boot: Don't add PR in PV, its pointless

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutils.bbclass: modify create_wrapper to correctly follow symlinks
Saul Wold [Wed, 18 May 2011 04:43:42 +0000 (21:43 -0700)]
utils.bbclass: modify create_wrapper to correctly follow symlinks

This ensures you look up the symbolic link to get the full path

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqt4: re-enable two 4.6.x patches in 4.7.3
Paul Eggleton [Tue, 17 May 2011 16:18:16 +0000 (17:18 +0100)]
qt4: re-enable two 4.6.x patches in 4.7.3

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>
13 years agoqt4: add comments and Upstream-Status to all patches
Paul Eggleton [Tue, 17 May 2011 14:51:01 +0000 (15:51 +0100)]
qt4: add comments and Upstream-Status to all patches

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: remove Qt 4.6.3
Paul Eggleton [Tue, 17 May 2011 10:53:22 +0000 (11:53 +0100)]
qt4: remove Qt 4.6.3

We should only have one version of Qt4 supported in oe-core.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agogst-openmax: Add patch for GCC 4.6.0
Saul Wold [Wed, 18 May 2011 06:11:58 +0000 (23:11 -0700)]
gst-openmax: Add patch for GCC 4.6.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqemu: Fix Dependency and compatible machines
Saul Wold [Sun, 15 May 2011 01:44:36 +0000 (18:44 -0700)]
qemu: Fix Dependency and compatible machines

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>
13 years agogcc: remove unused patches and move patches in proper dir
Nitin A Kamble [Tue, 17 May 2011 15:43:56 +0000 (08:43 -0700)]
gcc: remove unused patches and move patches in proper dir

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>
13 years agoCouple minor fixes for the OECORE rename
Jessica Zhang [Tue, 17 May 2011 21:34:39 +0000 (14:34 -0700)]
Couple minor fixes for the OECORE rename

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agorecipes: add Upstream-Status to various recipe patches
Scott Garman [Tue, 17 May 2011 00:34:13 +0000 (17:34 -0700)]
recipes: add Upstream-Status to various recipe patches

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>
13 years agoAdd a skeleton for init scripts
Robert Yang [Tue, 17 May 2011 03:57:21 +0000 (21:57 -0600)]
Add a skeleton for init scripts

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>
13 years agoAdd pidofproc to ${sysconfdir}/init.d/functions
Robert Yang [Tue, 17 May 2011 15:35:57 +0000 (09:35 -0600)]
Add pidofproc to ${sysconfdir}/init.d/functions

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>
13 years agoCleanup the whitespace in functions
Robert Yang [Tue, 17 May 2011 01:29:25 +0000 (09:29 +0800)]
Cleanup the whitespace in functions

Cleanup the whitespace in functions, replace the 4 whitespaces
indent with tab.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoAdd the layer meta-skeleton
Robert Yang [Wed, 11 May 2011 06:08:11 +0000 (14:08 +0800)]
Add the layer meta-skeleton

Add the layer meta-skeleton, it will be used to place the various
canonical examples.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoworld-broken: remove non-existent items
Saul Wold [Sun, 15 May 2011 04:23:37 +0000 (21:23 -0700)]
world-broken: remove non-existent items

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-core-clutter: Update to 1.6
Saul Wold [Sun, 15 May 2011 04:23:06 +0000 (21:23 -0700)]
task-core-clutter: Update to 1.6

Removed clutter-gtk and box2d

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoclutter: Clean up old recipes
Saul Wold [Sat, 14 May 2011 02:22:10 +0000 (19:22 -0700)]
clutter: Clean up old recipes

clutter-1.4 is moved to meta-extras
clutter-box2d is migrated to latest 1.6 version

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc: Move 4.3.3 and Special kernel 3.4.4 to meta-extras
Saul Wold [Sat, 14 May 2011 02:22:50 +0000 (19:22 -0700)]
gcc: Move 4.3.3 and Special kernel 3.4.4 to meta-extras

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyaffs2: Remove yaffs2 from oe-core
Saul Wold [Sat, 14 May 2011 00:43:12 +0000 (17:43 -0700)]
yaffs2: Remove yaffs2 from oe-core

Move to meta-extras
Also remove yaffs2 from image_types.bbclass

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogtk+: Ensure that the default dependencies are ones that exist in OE-Core
Richard Purdie [Wed, 18 May 2011 11:34:30 +0000 (12:34 +0100)]
gtk+: Ensure that the default dependencies are ones that exist in OE-Core

Also use the glibc override instead of target overrides and remove
distro overrides creating variables that can be overridden instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Disable the is DISTRO set check since we can now run distro-less
Richard Purdie [Wed, 18 May 2011 11:34:07 +0000 (12:34 +0100)]
sanity.bbclass: Disable the is DISTRO set check since we can now run distro-less

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/oe-buildenv-internal: Improve message when bitbake is missing
Richard Purdie [Wed, 18 May 2011 11:33:27 +0000 (12:33 +0100)]
scripts/oe-buildenv-internal: Improve message when bitbake is missing

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>