]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoUpdate version after Green release
Joshua Lock [Fri, 11 Jun 2010 13:00:35 +0000 (14:00 +0100)]
Update version after Green release

14 years agopackaged-staging.bbclass: fix typo in scan_cmd
Joshua Lock [Fri, 11 Jun 2010 13:42:00 +0000 (14:42 +0100)]
packaged-staging.bbclass: fix typo in scan_cmd

it's PSTAGE_TMPDIR_STAGE, not PSTAGE_TMDPDIR_STAGE spotted by Chris Larson
<chris_larson@mentor.com>

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoxserver-kdrive: Disable dolt to fix build failures
Richard Purdie [Fri, 11 Jun 2010 10:36:37 +0000 (11:36 +0100)]
xserver-kdrive: Disable dolt to fix build failures

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux-moblin-2.6.33.2: Enable trackpads for netbooks
Joshua Lock [Fri, 11 Jun 2010 10:22:46 +0000 (11:22 +0100)]
linux-moblin-2.6.33.2: Enable trackpads for netbooks

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agosite/powerpc: Add popt site options
Richard Purdie [Fri, 11 Jun 2010 10:10:21 +0000 (11:10 +0100)]
site/powerpc: Add popt site options

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agognome-keyring: Add missing DEPENDS on gconf
Richard Purdie [Fri, 11 Jun 2010 10:09:58 +0000 (11:09 +0100)]
gnome-keyring: Add missing DEPENDS on gconf

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemuppc: Add ppc603e to PACKAGE_EXTRA_ARCHS, fixing image builds
Richard Purdie [Fri, 11 Jun 2010 09:27:02 +0000 (10:27 +0100)]
qemuppc: Add ppc603e to PACKAGE_EXTRA_ARCHS, fixing image builds

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky.bbclass: Add second fall-back sources mirror
Scott Garman [Wed, 9 Jun 2010 20:49:07 +0000 (13:49 -0700)]
poky.bbclass: Add second fall-back sources mirror

* Green and newer releases can now use http://autobuilder.pokylinux.org/sources/

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-tools: Disable kexec for powerpc
Richard Purdie [Fri, 11 Jun 2010 08:31:37 +0000 (09:31 +0100)]
task-poky-tools: Disable kexec for powerpc

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogypsy: Fix broken SRC_URI
Scott Garman [Fri, 11 Jun 2010 02:45:39 +0000 (19:45 -0700)]
gypsy: Fix broken SRC_URI

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoicu-native: LD_LIBRARY_PATH is required
Kevin Tian [Fri, 11 Jun 2010 03:57:22 +0000 (11:57 +0800)]
icu-native: LD_LIBRARY_PATH is required

Back to commit ea45876d7ba3d4d2b132fd38a2c40834a2385f34, LD_LIBRARY_PATH
is disable for cross-build, however it's required for native version. So
force noldlibpath.patch for non-native case only

Signed-off-by Kevin Tian <kevin.tian@intel.com>

14 years agoAdd an entry for ${BPN} in the handbook
Nitin A Kamble [Fri, 11 Jun 2010 00:25:25 +0000 (17:25 -0700)]
Add an entry for ${BPN} in the handbook

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agojs: Fix mips build and other architecture inconsistency
Richard Purdie [Thu, 10 Jun 2010 21:12:55 +0000 (22:12 +0100)]
js: Fix mips build and other architecture inconsistency

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoicu: Fix LD_LIBRARY_PATH corruption causing build failures
Richard Purdie [Thu, 10 Jun 2010 21:04:20 +0000 (22:04 +0100)]
icu: Fix LD_LIBRARY_PATH corruption causing build failures

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolib/oe/patch.py: Fix patch application failure interaction handling
Richard Purdie [Thu, 10 Jun 2010 19:22:41 +0000 (20:22 +0100)]
lib/oe/patch.py: Fix patch application failure interaction handling

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-env-internal: fix a typo
Joshua Lock [Thu, 10 Jun 2010 14:59:11 +0000 (15:59 +0100)]
poky-env-internal: fix a typo

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-evn-internal: Add some documentation about the config file and commonly used...
Richard Purdie [Thu, 10 Jun 2010 14:51:36 +0000 (15:51 +0100)]
poky-evn-internal: Add some documentation about the config file and commonly used build targets

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoopkg: ensure the data directory is created
Joshua Lock [Thu, 10 Jun 2010 14:04:38 +0000 (15:04 +0100)]
opkg: ensure the data directory is created

We need to ensure the data directory (/usr/lib/opkg) is created and shipped in
the package as it's used by opkg to create a lock file.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agorootfs_ipk.bbclass: ensure the package manager can create lock files
Joshua Lock [Thu, 10 Jun 2010 13:49:50 +0000 (14:49 +0100)]
rootfs_ipk.bbclass: ensure the package manager can create lock files

The opkg package manager uses /usr/lib/opkg to store lock files in, modify the
remove_package_data_files() function to create an empty directory once the data
files are removed so that the lock can be created.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoqemu-nativesdk: Make sure the compiler prefix is set fixing cross sdk builds
Richard Purdie [Thu, 10 Jun 2010 11:04:22 +0000 (12:04 +0100)]
qemu-nativesdk: Make sure the compiler prefix is set fixing cross sdk builds

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackaged-staging.bbclass: Use a differnet opkg.conf for each TARGET_ARCH
Joshua Lock [Thu, 10 Jun 2010 10:29:09 +0000 (11:29 +0100)]
packaged-staging.bbclass: Use a differnet opkg.conf for each TARGET_ARCH

Assembling an appropriate opkg.conf in the pstage_helper is difficult when
building for multiple target architectures in one Poky directory, work around
this by generating an appropriate opkg.conf for the TARGET_ARCH and using an
${TARGET_ARCH}-opkg.conf for packaged staging.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoqemu-helper-nativesdk: Fix after file:// url handling changes
Richard Purdie [Thu, 10 Jun 2010 09:55:43 +0000 (10:55 +0100)]
qemu-helper-nativesdk: Fix after file:// url handling changes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agom4: Set further site entries
Richard Purdie [Thu, 10 Jun 2010 09:42:21 +0000 (10:42 +0100)]
m4: Set further site entries

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoLICENSE: Clarify the license recipe source code is under
Richard Purdie [Thu, 10 Jun 2010 09:13:18 +0000 (10:13 +0100)]
LICENSE: Clarify the license recipe source code is under

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux-2.6.33.2: Ensure enable QEMU network drivers for qemux86
Joshua Lock [Wed, 9 Jun 2010 16:30:59 +0000 (17:30 +0100)]
linux-2.6.33.2: Ensure enable QEMU network drivers for qemux86

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoscripts: Fix setting up links to cc and gcc in runqemu
Joshua Lock [Wed, 9 Jun 2010 16:27:23 +0000 (17:27 +0100)]
scripts: Fix setting up links to cc and gcc in runqemu

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel.bbclass: Drop code which is duplicated later in the function, fixing older...
Richard Purdie [Wed, 9 Jun 2010 13:27:13 +0000 (14:27 +0100)]
kernel.bbclass: Drop code which is duplicated later in the function, fixing older kernel builds

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobootcdx86: This is dropped in favour of netbook iso images
Richard Purdie [Wed, 9 Jun 2010 11:58:46 +0000 (12:58 +0100)]
bootcdx86: This is dropped in favour of netbook iso images

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-image-sato-cd: This has been replaced by the -live image
Richard Purdie [Wed, 9 Jun 2010 11:58:06 +0000 (12:58 +0100)]
poky-image-sato-cd: This has been replaced by the -live image

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoxserver-kdrive-xomap: Bandaid for configure issues and modern autotools
Richard Purdie [Wed, 9 Jun 2010 11:56:21 +0000 (12:56 +0100)]
xserver-kdrive-xomap: Bandaid for configure issues and modern autotools

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-4.3.3: Drop unused patches
Richard Purdie [Wed, 9 Jun 2010 11:50:17 +0000 (12:50 +0100)]
gcc-4.3.3: Drop unused patches

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoudev: bump PR after cache fixes
Joshua Lock [Wed, 9 Jun 2010 11:07:59 +0000 (12:07 +0100)]
udev: bump PR after cache fixes

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoFix the boot process udev warning
Yu Ke [Wed, 9 Jun 2010 11:04:51 +0000 (12:04 +0100)]
Fix the boot process udev warning

Phenomena: there is udev warning in boot process
        tar: can't open '/etc/dev.tar': Read-only file system

The reason is that the init script /etc/rcS.d/S04udev will try to tar the /dev as cache to speed up udev at next boot time. Unfortunately, S04udev is too early and the filesystem is not writable yet.

To fix it, this patch split the cache action to another init script, and register it as /etc/rcS.d/S36, which is after the S35mountall, and the filesystem is already writable.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agopciutils: Stop build breakage if HOST is set in the environment
Richard Purdie [Wed, 9 Jun 2010 10:29:30 +0000 (11:29 +0100)]
pciutils: Stop build breakage if HOST is set in the environment

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocurl: Fix configure issue on mips
Richard Purdie [Wed, 9 Jun 2010 10:12:12 +0000 (11:12 +0100)]
curl: Fix configure issue on mips

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux: bump PR of linux-2.6.3243.2 after the fix for RTC
Joshua Lock [Wed, 9 Jun 2010 09:22:58 +0000 (10:22 +0100)]
linux: bump PR of linux-2.6.3243.2 after the fix for RTC

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobusybox: bump the PR after the syslog fix
Joshua Lock [Wed, 9 Jun 2010 09:22:24 +0000 (10:22 +0100)]
busybox: bump the PR after the syslog fix

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoFix the syslog starting failure
Zhai Edwin [Wed, 9 Jun 2010 06:55:13 +0000 (14:55 +0800)]
Fix the syslog starting failure

Should use "-Cxx" instead of "-C xx" as command line for syslog in busybox

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoFix the issue of /dev/misc/rtc missing from hwclock.sh
Zhai Edwin [Wed, 9 Jun 2010 06:41:15 +0000 (14:41 +0800)]
Fix the issue of /dev/misc/rtc missing from hwclock.sh

Build RTC driver into kernel by default on qemux86 to avoid missing of /dev/misc/rtc

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agom4: Drop broken custom do_configure which stops site cache taking effect (amongst...
Richard Purdie [Wed, 9 Jun 2010 09:12:40 +0000 (10:12 +0100)]
m4: Drop broken custom do_configure which stops site cache taking effect (amongst other issues) and drop duplicate PR setting

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosite/common-glibc: Add entries for m4
Richard Purdie [Wed, 9 Jun 2010 09:11:52 +0000 (10:11 +0100)]
site/common-glibc: Add entries for m4

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux-moblin: Drop old versions (2.6.31.5 and 2.6.29.1)
Richard Purdie [Tue, 8 Jun 2010 20:04:38 +0000 (21:04 +0100)]
linux-moblin: Drop old versions (2.6.31.5 and 2.6.29.1)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc: Drop 4.2.3 as its unused
Richard Purdie [Tue, 8 Jun 2010 20:03:12 +0000 (21:03 +0100)]
gcc: Drop 4.2.3 as its unused

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agometadata_scm.bbclass: Make errors quiet if we're not in a git based scm
Joe Sauer [Tue, 8 Jun 2010 19:54:26 +0000 (20:54 +0100)]
metadata_scm.bbclass: Make errors quiet if we're not in a git based scm

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-runtime: Various bug fixes
Richard Purdie [Tue, 8 Jun 2010 19:33:16 +0000 (20:33 +0100)]
gcc-runtime: Various bug fixes

* Use the -nostdinc++ to CXX fixing libstdc++
* Generate libgcc in gcc-cross, save the result and use in gcc-runtime
* Fix the layout of the crt*.o files so the SDK compiler can find them

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-configure-sdk.inc: local-prefix should be in SDKPATH, not a build patch
Richard Purdie [Tue, 8 Jun 2010 19:32:44 +0000 (20:32 +0100)]
gcc-configure-sdk.inc: local-prefix should be in SDKPATH, not a build patch

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-configure-cross.inc: local-prefix should be the target exec_prefix
Richard Purdie [Tue, 8 Jun 2010 19:32:01 +0000 (20:32 +0100)]
gcc-configure-cross.inc: local-prefix should be the target exec_prefix

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agocross/cross-canadian.bbclass: Save target_exec_prefix variable
Richard Purdie [Tue, 8 Jun 2010 19:30:26 +0000 (20:30 +0100)]
cross/cross-canadian.bbclass: Save target_exec_prefix variable

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agohandbook: document the LAYERDIR variable
Joshua Lock [Tue, 8 Jun 2010 16:53:25 +0000 (17:53 +0100)]
handbook: document the LAYERDIR variable

LAYERDIR is one of the few variables which requires immediate expansion and is
worth documenting explicitly.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years ago.gitignore: Ignore the built bsp-guide
Joshua Lock [Tue, 8 Jun 2010 16:24:42 +0000 (17:24 +0100)]
.gitignore: Ignore the built bsp-guide

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agohandbook: point out required Python version
Joshua Lock [Tue, 8 Jun 2010 16:23:22 +0000 (17:23 +0100)]
handbook: point out required Python version

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agohandbook: add documentation for layers
Joshua Lock [Tue, 8 Jun 2010 16:18:29 +0000 (17:18 +0100)]
handbook: add documentation for layers

Collections and overlays are deprecated in favour of layers, a much cleaner and
non-intrusive way of extending Poky with custom recipes, classes and
configuration.

This patch updates the Extending Poky section of the handbook to show how to
use layers to tailor Poky while dropping  the existing section on using
collections.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agosanity.bbclass: Check for Python 2.6 or newer
Joshua Lock [Tue, 8 Jun 2010 13:50:54 +0000 (14:50 +0100)]
sanity.bbclass: Check for Python 2.6 or newer

In relocatable.bbclass and utility-tasks.bbclass we depend on functionality
that was only introduced with Pytrhon 2.6, so we now check that the build
system has it in the sanity class.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agohandbook: Use new style patch application syntax
Joshua Lock [Tue, 8 Jun 2010 07:24:12 +0000 (08:24 +0100)]
handbook: Use new style patch application syntax

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agotask-poky-standalone-sdk-target: Add libgcc-dev and libstdc++-dev to allow compiling...
Richard Purdie [Tue, 8 Jun 2010 12:13:18 +0000 (13:13 +0100)]
task-poky-standalone-sdk-target: Add libgcc-dev and libstdc++-dev to allow compiling in meta-toolchain to work

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-cross: Fix install path typo.
Dongxiao Xu [Tue, 8 Jun 2010 09:09:33 +0000 (17:09 +0800)]
gcc-cross: Fix install path typo.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agolinux-moblin: Fix defconfig-netbook
Richard Purdie [Mon, 7 Jun 2010 22:29:58 +0000 (23:29 +0100)]
linux-moblin: Fix defconfig-netbook

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-runtime: Make sure multiple target builds work correctly
Richard Purdie [Mon, 7 Jun 2010 22:08:02 +0000 (23:08 +0100)]
gcc-runtime: Make sure multiple target builds work correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosyslinux: Fix native install to use the correct paths
Richard Purdie [Mon, 7 Jun 2010 20:58:21 +0000 (21:58 +0100)]
syslinux: Fix native install to use the correct paths

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobase.bbclass: Fix after bb.decodeurl was fixed
Richard Purdie [Mon, 7 Jun 2010 20:16:16 +0000 (21:16 +0100)]
base.bbclass: Fix after bb.decodeurl was fixed

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosanity.bbclass: version each of the files in the build/conf/ directory
Joshua Lock [Mon, 7 Jun 2010 15:10:48 +0000 (16:10 +0100)]
sanity.bbclass: version each of the files in the build/conf/ directory

We already have versioning of the local.conf file but it's entirely plausible
for the bblayers.conf and site.conf to change incompatibly so we should version
those too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoFixes for Qemu to use VGA and Touch Screen
Saul Wold [Fri, 4 Jun 2010 22:23:37 +0000 (15:23 -0700)]
Fixes for Qemu to use VGA and Touch Screen

Added usb tablet options to poky-qemu-internal script, and adjusted the
xorg.conf script for x86 to use VGA screen and tablet input device

Signed-off-by: Saul Wold <saul.wold@intel.com>
14 years agoqemu: Update to 0.12.4
Jeff Dike [Thu, 3 Jun 2010 19:39:57 +0000 (15:39 -0400)]
qemu: Update to 0.12.4

Renamed the recipe to 0.12.4.

Moved the patches directory to qemu-0.12.4 - when it was named
qemu-0.12, bitbake silently ignored the patches, and only failed when
it came time to apply them.

Added a FILESDIR to the git recipe and changed its PV to 0.12.4 so it
can use the same patches as the normal recipe for now.

Removed the series file - it wasn't needed.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agoinsane.bbclass: Throw better error if path is bad
Nitin A Kamble [Fri, 4 Jun 2010 04:48:16 +0000 (21:48 -0700)]
insane.bbclass: Throw better error if path is bad

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobitbake decodeurl: fix the file:// url handling
Nitin A Kamble [Fri, 4 Jun 2010 04:50:02 +0000 (21:50 -0700)]
bitbake decodeurl: fix the file:// url handling

Without this patch decoding a url of this kind file://dir/filename gives
path=/filename host=dir.
With the patch it decodes as path=/dir/filename host=""

Probably nobody stumbled on this issue yet because nobody used
file:// urls with directory names in the path.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoe2fsprogs: Remove all mention of anything associated with uuids
Jeff Dike [Thu, 3 Jun 2010 19:27:30 +0000 (15:27 -0400)]
e2fsprogs: Remove all mention of anything associated with uuids

--disable-libuuid is added to the configure command line.  This has
the effect of disabling the compilation of uuidgen and libuuid.so.

These two are specified as making up their own packages, which turn
out to be empty, and thus aren't created in the first place.  The
error which manifests itself is at the final creation of the rootfs
when the global package depends on the e2fsprogs-uuidgen and libuuid,
which turn out not to exist, because they weren't created.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agowpa-supplicant: Don't run populate-volatile.sh on the build system
Jeff Dike [Thu, 3 Jun 2010 19:23:17 +0000 (15:23 -0400)]
wpa-supplicant: Don't run populate-volatile.sh on the build system

Move the populate-volatile.sh call to below the offline check.
Otherwise, it will try to run during the build, on a system which
likely doesn't have populate-volatile.sh.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agopackaged-staging: Add the correct architectures to the opkg conf
Joshua Lock [Fri, 4 Jun 2010 16:45:31 +0000 (17:45 +0100)]
packaged-staging: Add the correct architectures to the opkg conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agohandbook: use XML catalogues to make building work on all(?) distros
Joshua Lock [Fri, 4 Jun 2010 13:48:34 +0000 (14:48 +0100)]
handbook: use XML catalogues to make building work on all(?) distros

Thanks to Damien's pointers we should now be able to generate the handbook
regardless of host distro

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobusybox: Fix redirection of fd 0 in ash interactive
Joshua Lock [Thu, 3 Jun 2010 08:57:28 +0000 (09:57 +0100)]
busybox: Fix redirection of fd 0 in ash interactive

Backported change from the 1.16.1 ash patches.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agomodule-init-tools: Don't cross-build static binaries
Jeff Dike [Tue, 1 Jun 2010 16:34:07 +0000 (12:34 -0400)]
module-init-tools: Don't cross-build static binaries

When building the native version, I get errors from ld complaining
about not being able to find a static libc.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agoutility-tasks.bbclass: automatic upstream version check
Kevin Tian [Sun, 30 May 2010 11:14:24 +0000 (19:14 +0800)]
utility-tasks.bbclass: automatic upstream version check

Automatic upstream version check can be triggered by "bitbake xxx -c checkpkg".
The rationale behind is to find a automatic way for version comparison between
current in-use one and upstream progress. The tricky thing is how to find out
useful version string from mass diverse information. Fortunately now it mostly
work for wget based protocol, except some sites (e.g. sourceforge) not providing
a directory service. Repo (git/svn/cvs) based protocols are handled in a very
simple manner, by always tagging as update required. This will be further
improved later. Use 'world' target to retrieve a full version check for all
active recipes.

Along with version check, other package information is also collected from
existing fields in .bb file

Signed-off-by Kevin Tian <kevin.tian@intel.com>

14 years agolibtool-cross: Allow the compile to run else we can generate invalid (unpatched)...
Richard Purdie [Thu, 3 Jun 2010 08:05:03 +0000 (09:05 +0100)]
libtool-cross: Allow the compile to run else we can generate invalid (unpatched) libtool files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake.conf: Remove util-linux from ASSUME_PROVIDED
Joshua Lock [Wed, 2 Jun 2010 15:13:34 +0000 (16:13 +0100)]
bitbake.conf: Remove util-linux from ASSUME_PROVIDED

We need to build our own util-linux now

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoutil-linux: bump to 2.17 based on OE recipe
Joshua Lock [Wed, 2 Jun 2010 13:47:53 +0000 (14:47 +0100)]
util-linux: bump to 2.17 based on OE recipe

Needed to increase version to one which includes libuuid and change do_install
for building a native version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoe2fsprogs: add util-linux to depends
Joshua Lock [Wed, 2 Jun 2010 11:04:37 +0000 (12:04 +0100)]
e2fsprogs: add util-linux to depends

e2fsprogs requires libuuid to build and we have disabled its built in version
in favour of the one in util-linux, therefore we need util-linux in the DEPENDS

Drop old configure option --enable-dynamic-e2fsck

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agosanity.bbclass: check for invalid characters in OEROOT
Joshua Lock [Wed, 2 Jun 2010 14:24:05 +0000 (15:24 +0100)]
sanity.bbclass: check for invalid characters in OEROOT

Some characters in the path for OEROOT are known to cause issues, so check for
them in the sanity checker.
Currerently we warn on +'s and spaces.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoutility-tasks: Remove unneeded addtask parameter
Richard Purdie [Wed, 2 Jun 2010 13:07:59 +0000 (14:07 +0100)]
utility-tasks: Remove unneeded addtask parameter

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoHandbook: Documentation for DISTRO_PN_ALIAS
Nitin A Kamble [Tue, 1 Jun 2010 23:19:22 +0000 (16:19 -0700)]
Handbook: Documentation for DISTRO_PN_ALIAS

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com
14 years agoxset: Defining DISTRO_PN_ALIAS for distro_check
Nitin A Kamble [Tue, 1 Jun 2010 21:22:12 +0000 (14:22 -0700)]
xset: Defining DISTRO_PN_ALIAS for distro_check

This recipe has different names in the different distros. So defining
these aliases for the distro_check task use.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoHandbook: Documentation for LIC_FILES_CHKSUM
Nitin A Kamble [Fri, 28 May 2010 22:21:49 +0000 (15:21 -0700)]
Handbook: Documentation for LIC_FILES_CHKSUM

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agodo_distro_check: Recipe exists in other distros?
Nitin A Kamble [Thu, 27 May 2010 19:18:23 +0000 (12:18 -0700)]
do_distro_check: Recipe exists in other distros?

This adds a new task (distro_check) for each recipe.
The task generates the source package list for Fedora OpenSuSE
Ubuntu Debian & Mandriva Linux distros.

As one recipe or source package can generate multiple target packages
the recipe name is compared with the source package name list of LInux
distributions.

Thread locking is used to avoid multiple threads racing for the
package list update.

Then the recipe name (PN) is checked if it exists in the package
list of distros. And if the DISTRO_PN_ALIAS then it is used to copmare
pacakge_name instead of the PN variable. Just for example the
DISTRO_PN_ALIAS can be defined in the recipe (.bb) files like this

In the file xset_1.0.4.bb:

DISTRO_PN_ALIAS = "Fedora=xorg-x11-server-utils;\
   Ubuntu=x11-xserver-utils; Debian=x11-xserver-utils;Opensuse=xorg-x11"

The final results are stored in the tmp/log/distro_check-${DATETIME}.result
file.

FYI this command will generate the results for all recipies:
bitbake world -f -c distro_check

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoiproute2: fix an issues with DATETIME
Nitin A Kamble [Thu, 27 May 2010 19:15:40 +0000 (12:15 -0700)]
iproute2: fix an issues with DATETIME

The DATE variable in this bb files was distrubing the DATETIME variable
used by the distro_check task.
Renamed the DATE variable to SRCDATE

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobitbake.conf: add the LOG_DIR variable
Nitin A Kamble [Fri, 28 May 2010 17:48:34 +0000 (10:48 -0700)]
bitbake.conf: add the LOG_DIR variable

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agolibtool: Make sure ltmain.sh is always regenerated. We can't just remove it since...
Richard Purdie [Tue, 1 Jun 2010 13:49:54 +0000 (14:49 +0100)]
libtool: Make sure ltmain.sh is always regenerated. We can't just remove it since it has to be present to run configure

14 years agoinitscripts: Tweak checkroot to work with recent versions of busybox
Richard Purdie [Wed, 2 Jun 2010 10:45:59 +0000 (11:45 +0100)]
initscripts: Tweak checkroot to work with recent versions of busybox

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoe2fsprogs: Upgrade 1.41.5 -> 1.45.12
Richard Purdie [Tue, 1 Jun 2010 21:13:35 +0000 (22:13 +0100)]
e2fsprogs: Upgrade 1.41.5 -> 1.45.12

* The no-hardlinks patch is no longer required
* There was an autoconf macro issue which required a new patch (details in patch)
* libuuid was disabled, this should be provided by util-linux on modern systems
* Not providing libuuid is useful for the -native tools as it stops library symbol
  confusion with those from the host system.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-configure-runtime: Make sure the sysroot is configured
Richard Purdie [Fri, 9 Apr 2010 15:02:50 +0000 (16:02 +0100)]
gcc-configure-runtime: Make sure the sysroot is configured

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosanity.bbclass: Check for SDKMACHINE=i686 and error if found
Richard Purdie [Tue, 1 Jun 2010 16:25:05 +0000 (17:25 +0100)]
sanity.bbclass: Check for SDKMACHINE=i686 and error if found

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodropbear: don't apply no-password patch
Joshua Lock [Tue, 1 Jun 2010 14:08:02 +0000 (15:08 +0100)]
dropbear: don't apply no-password patch

The patch.bbclass changes default to applying listed patches without an
apply/patch parameter. Set the apply parameter to no.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobusybox: disable mdev, we use udev
Joshua Lock [Wed, 26 May 2010 15:05:18 +0000 (16:05 +0100)]
busybox: disable mdev, we use udev

The import from OE had included some mdev configuration, whereas Poky switched
to udev and a static (tarred) dev some time ago.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopatch.bbclass: Merge patch enhancements from OE by Chris Larson
Joshua Lock [Tue, 1 Jun 2010 13:24:13 +0000 (14:24 +0100)]
patch.bbclass: Merge patch enhancements from OE by Chris Larson

Chris made some interesting changes to the patch handling in OE. Firstly the
patch and pnum parameters have been renamed, to better reflect their function,
to apply and striplevel. The apply parameter now takes either yes or no as its
value.

Therefore a patch line would be changed from:
file://some.patch;patch=1;pnum=2
to:
file://some.patch;apply=yes;striplevel=2

Secondly the apply parameter is inferred if not defined. Entries in SRC_URI
with diff or patch filename extensions will be automatically applied as patches
if the apply parameter is not set to no (or an unknown value).

Note: We have disabled the warnings when using the old style parameters for now

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopm-utils: Upgrade to 1.3.0 and fix SRC_URI not to point at SCM generated tarballs
Richard Purdie [Tue, 1 Jun 2010 14:14:26 +0000 (15:14 +0100)]
pm-utils: Upgrade to 1.3.0 and fix SRC_URI not to point at SCM generated tarballs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoeds-dbus: Disable parallel make
Richard Purdie [Tue, 1 Jun 2010 11:45:07 +0000 (12:45 +0100)]
eds-dbus: Disable parallel make

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu: add some extra ldflags to make it link succesfully
Joshua Lock [Fri, 28 May 2010 09:28:32 +0000 (10:28 +0100)]
qemu: add some extra ldflags to make it link succesfully

qemu-native was failing to link on my 64bit Fedora 13 machine with this error:

| /usr/bin/ld: libqemu.a(helper_opengl.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
| /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
| /lib64/libdl.so.2: could not read symbols: Invalid operation

So I did as the linker told me and added -ldl to the linker flags

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoDrop vm_mmap_min_addr checks from scripts and sanity class
Joshua Lock [Fri, 21 May 2010 10:38:09 +0000 (11:38 +0100)]
Drop vm_mmap_min_addr checks from scripts and sanity class

QEMU 0.12.x is relocatable so we no longer need these tests, which is good
because it doesn't work reliably with modern kernels.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoqemu: reduce duplication, use an inc file and share common patches
Joshua Lock [Fri, 28 May 2010 08:13:03 +0000 (09:13 +0100)]
qemu: reduce duplication, use an inc file and share common patches

There's no need to carry around two copies of the same patches for qemu-git and
qemu-0.12 so drop the qemu-git directory and update the git recipe to use the
qemu-0.12 directory for patches.

Move common code from the two recipes to an inc file.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
fweh

14 years agoqemu: Update the static recipe to 0.12.0
Jeff Dike [Thu, 27 May 2010 19:22:50 +0000 (15:22 -0400)]
qemu: Update the static recipe to 0.12.0

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agoqemu: updated the glflags patch, which is needed by qemusdk.
Jeff Dike [Thu, 27 May 2010 17:16:59 +0000 (13:16 -0400)]
qemu: updated the glflags patch, which is needed by qemusdk.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agolib/oe/patch.py: Fix datastore references in error paths
Richard Purdie [Thu, 27 May 2010 14:58:00 +0000 (15:58 +0100)]
lib/oe/patch.py: Fix datastore references in error paths

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>