Commit Graph

6684 Commits

Author SHA1 Message Date
Richard Purdie 54bb4b4abd site/x86_64: Add entries to allow various programs to compile
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-30 18:11:06 +01:00
Jeff Dike e4d743e0da xserver-xf86-config: netbook - merge the two ServerFlags sections
A previous commit added AutoAddDevices as a separate ServerFlags
section. This is apparently overridden by the one at the end of the
file, so they need to be merged.

[BUGID #141]

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-30 14:50:31 +01:00
Yu Ke 71bf22d9db distro tracking field: iputils, mktemp, xinetd, cracklib
these four are new packges. so add basic tracking filed first.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-07-30 14:50:31 +01:00
Kevin Tian 8f756a7bfd distro-tracking: for new packages
gzip
	iptables
	ethtool
	net-tools
	shadow
	coreutils
	libuser
	bc
	ed
	pax
	quota
	which
	watchdog

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-30 14:50:31 +01:00
Kevin Tian 754c54818d pam: use volatile to avoid /var/run population in do_rootfs
also disable doc rebuild to reuse existing man pages.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-30 14:50:31 +01:00
Dexuan Cui 8362a98b8e tcf-agent: fix the init script: remove the "-s SSL:" option
[BUGFIX#158] tcf-agent launched with misleading options
In the commit 90e80aafbd, with the image built by
poky-image-sdk(MACHINE=qemux86), tcf-agent is launched automatically with
the option "-s SSL:" in script /etc/init.d/tcf-agent, which is misleading to
users. This option tells the agent to use SSL instead of TCP for communication.
Because tcf-agent is not built with the SSL option enabled (libssl is not
installed in the target), the agent will fall back to TCP.

This could be misleading to users, so we may as well remove it.

Thanks Lianhao Lu for reporting the bug and clarifying it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-07-30 14:50:31 +01:00
Dexuan Cui cdece36231 distro tracking: add distro_sdk_tools.inc, add lttng-ust
Add conf/distro/include/private/distro_sdk_tools.inc;
Move some sdk tools from distro_x11_libs.inc to the new .inc file;
Add tracking info for lttng-ust.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-07-30 14:50:31 +01:00
Qing He 5fba534b15 dhcp: fix $PATH environment for dhclient-script
CLIENT_PATH is the only environment variable of dhclient-script,
change it to include major run path, [BUGFIX#132]

Signed-off-by: Qing He <qing.he@intel.com>
2010-07-30 14:50:31 +01:00
Nitin A Kamble 1acae1c500 libmusicbrainz: fix a build issue with gcc 4.5.0
Added a new patch
   fix_build_issue_for_gcc_4.5.0.patch

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-30 14:50:31 +01:00
Nitin A Kamble 620aece563 gcc-4.5.0: import an arm fix patch from OE
And bump PRs of affected recipes

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-30 14:50:31 +01:00
Nitin A Kamble 7325781e35 gcc-4.5.0: apply the lib64 path 64bithack.patch
Bump the PR for all the affected recipes

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-30 14:50:30 +01:00
Nitin A Kamble 067863d38d distro tracking: add tracking for libmpc
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-30 14:50:30 +01:00
Yu Ke 8658f478b7 rootfs_ipk.bbclass: add keyword "Collected errors" for log error check
Once ipk meet errors, the log will show "Collected errors:\n xxxx ".
so keyword "Collected errors" is more general to catch errors.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-07-30 14:50:30 +01:00
Yu Ke 16877ce14b avahi: fix the /var/run conflict with other package
avahi will create an empty /var/run dir, which will conflict with base-files package.
This patch fix this by using populate-volatiles.sh approach recommended by OE handbook.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-07-30 14:50:30 +01:00
Zhai Edwin d9f22d4024 binutils: Fixed cross-compile issue for 64b build + arm target
Incoportate RP's patch, which seems to be lost when update.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-30 14:50:30 +01:00
Richard Purdie 049aaa0233 staging: Remove now unused legacy staging code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-30 14:41:45 +01:00
Jeff Dike ab37f53c7b xserver-xf86-config: Add a netbook xorg.conf with an extra option
The X server on some netbooks don't interact well with HAL with their
keyboard or mouse and consequently one or both is unusable.  This
patch adds AutoAddDevices = False to a new netbook-specific
xorg.conf.  If this breaks any systems which currently work, we'll
have to figure out what's really going on with hotplug and the X
server.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-27 22:51:34 -07:00
Kevin Tian 637ad7ef8c bitbake.conf: change inode calculation for genext2fs [BUGFIX#138]
genext2fs 1.4.1 creates minimal inode number based on specified rootfs
directory. This is desired in some embedded devices as storage/memory
are precious. However it's not suitable in development phase where target
rootfs may be changed heavily on the fly (remote debug, test, ...).
Sometimes this may even cause "No space on device" error due to limited
free inodes exhaulted at the 1st boot.

Here a new option is added to allow falling back to original 1.3 behavior,
i.e caculating inode number based on specified bytes-per-inode parameter.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-27 22:51:34 -07:00
Kevin Tian 218e441dd5 utility-tasks.bbclass: miscellaneous fix
Fix parse error with packages such as spectrum-fw whose name has no
version string. Later we may have per-recipe option to disable automatic
check for those known with troubles, to reduce complexity in this part.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-07-27 22:51:34 -07:00
Kevin Tian ea3cfbaf26 cmake: only search root directory for FIND_***
default cmake behavior for FIND_***, is to first search listed directories prefixed
with CMAKE_FIND_ROOT_PATH, and if not found then go to unprefixed directories. This
is not desired as build system may be referenced.

this commit refine the search path only on prefixed directories, and thus fix
libmusicbrains build failure on some systems

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-27 22:51:34 -07:00
Dexuan Cui 106de1f41c distro tracking: add tcf-agent
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-07-27 22:51:33 -07:00
Dexuan Cui 90e80aafbd tcf-agent: add the latest version 0.3.0+svnr1078
install a proper script /etc/init.d/tcf-agent
make it autostart in runlevels 3 and 5

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-07-27 22:51:33 -07:00
Richard Purdie c62be5367c site/x86_64: Add missing site config for glib-2.0
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-27 22:45:41 -07:00
Richard Purdie fb10983b99 qemux86-64: Add new emulation machine for 64bit x86
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-27 22:45:41 -07:00
Richard Purdie 752435eb3b x86-64: Fix up COMPATIBLE_HOST defintions for x86-64
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-27 22:45:41 -07:00
Richard Purdie faf6b2d33e cross-canadian.bbclass: Tweak secondary toolchain path component to account for multimachine
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 15:42:56 +01:00
Richard Purdie 2685863618 rm_work.bbclasS: Don't remove the pseudo database as it causes problems with meta-toolchin
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 15:27:16 +01:00
Richard Purdie 7a18558925 gcc: For 64 bit targets don't use lib64
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 15:04:35 +01:00
Richard Purdie 43b8e66467 Revert "pcmanfm: Update to 0.9.7"
This reverts commit d6ba72ac34.

This recipe is not cross compile safe and failes on non0x86 builds.
2010-07-25 13:40:17 +01:00
Richard Purdie 0babe2c507 cross-canadian.bbclass: Add in the target compiler paths as well as the sdk compilers
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 01:37:53 +01:00
Richard Purdie 0b60744a00 gcc-configure-sdk.inc: Remove hardcoded util paths
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 01:37:06 +01:00
Richard Purdie 42df9e99a4 cross-canadian: Fix toolchain path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 01:12:06 +01:00
Richard Purdie 3a526152d9 gcc-runtime: Fix stashed libs path for nativesdk
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 00:41:45 +01:00
Richard Purdie ae2836692f pseudo: Fix path length issues and resulting chdir issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 00:33:30 +01:00
Richard Purdie ff0e858780 gcc-cross: Remove obsolete hacks from 4.5 version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 23:08:04 +01:00
Richard Purdie 2e5df820ce nativesdk.bbckass: Fix toolchain path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 23:07:07 +01:00
Richard Purdie 53b11611e1 pseudo: Make sure log/pid/lock/socket files are covered by data directory moves
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 10:55:51 +01:00
Richard Purdie bcba4515e5 binutils: Remove zlib DEPENDS as it causes circular references
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 09:50:38 +01:00
Nitin A Kamble 17326346ff elfutils: add nativesdk target
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-24 01:38:36 +01:00
Nitin A Kamble c7c5c34188 gcc family : upgrade to 4.5.0
Imported OE patches into the poky recipes.
	- Use elfutils instead of libelf

Converted OE's svn source into tar ball & a patch.

Added a patch to revert the baseversion to 4.5.0

Merge OE & poky extra_oeconf_options

Fix the zlib (inside gcc)  make issue by providing the --with-system-zlib switch in EXTRA_OECONF

Found out that some header file dirs were soft linked to non-existing
locations like c_std. Changed the configure options to point them to
existing locations like c_global.

gcc-cross-canadian_4.5.0: fix configure issue

Thanks to Saul Wold for providing poky gcc patches rebased to the 4.5.0
sources.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-24 01:38:36 +01:00
Nitin A Kamble 722e27e448 libmpc: bring for gcc 4.5.0
Import the recipe from OE
Upgrade from 0.8.1 to 0.8.2, and it solved the build failure
Cleaned up the libmpc-native recipe for poky tree
Add nativesdk target for gcc-cross-canadian_4.5.0

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-24 01:38:36 +01:00
Mark Hatle 4f19548bfb prelink: Add prelink-native
Add the new cross prelink support as the prelink-native integration.

Set the prelinker to use the prelink-cross.git repository as the upstream.

Note: libiberty.a is required on the host at this time

Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-07-24 01:23:53 +01:00
Mark Hatle 5e3da1b94e elfutils: add elfutils native
Add elfutils native, also change the binaries being installed to be
prefixed with 'eu-' to avoid conflict with binutils

Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-07-24 01:23:53 +01:00
Richard Purdie 33ee4079a2 binutils: Add native version and tweak
Enable use of BBCLASSEXTEND to generate a native verison of binutils for the
libiberty, libbfd and libopcodes libs.

Also stop installing useless libs in the cross-canadian recipe.

Partially based on a patch by Mark Hatle <mhatle@windriver.com>.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 01:07:54 +01:00
Richard Purdie 8b3f94e27d binutils: Set DEPENDS correctly and remove unneeded PACKAGES setting
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 00:57:29 +01:00
Richard Purdie 7069fb8542 binutils: Drop FILESPATHPKG, its no longer needed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24 00:53:15 +01:00
Mark Hatle 62540b2a15 meta/conf/bitbake.conf: Configure pseudo to not expand symlinks
When using the fake chroot ability of pseudo, it will expand absolute
symlinks to their full non-fake path by default.  The simple change disables
that behavior, as it is undesired when generating a rootfs.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-07-24 00:50:10 +01:00
Mark Hatle d668b80e86 meta/classes/rootfs_rpm.bbclass: re implement base on rpm5
Re implement the rootfs generation using rpm5.  This also gets rid of the
need for yum, and handles all dep resolving internal to the script itself.

The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original
yum integration work.  It has been unchanged, but since yum is no longer used
we needed to move the script somewhere else.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-07-24 00:46:57 +01:00
Joshua Lock 8760cde94a rpm: switch to using RPM 5
Switch to RPM5 as our rpm provider of choice and update the recipe to the latest
stable release.

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

Modify the package_rpm.bbclass to understand the macro and command line changes
present in rpm5.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-07-24 00:46:57 +01:00
Joshua Lock 60fa21d157 beecrypt: upgrade to version 4.1.2
Add new patches to fix visiblity of C++ methods and to disable running a
program to detect the ICU version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-24 00:46:57 +01:00