Scott Garman [Tue, 14 Jun 2011 16:49:18 +0000 (09:49 -0700)]
sudo: upgrade to v1.8.1p2
Upgrading to the latest stable release of sudo.
This version of sudo has reorganized its source code layout, hence
the LIC_FILES_CHKSUM related changes. Also, some of the individual
.c files we checksummed (nonunix.h, vasgroups.c) are no longer
shipped with the sources. Finally, an embedded copy of zlib is now
included in these sources, so Zlib is included as one of the
licenses. I could not find any evidence of MIT-licensed sources,
so that license has been removed.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Mei Lei [Mon, 20 Jun 2011 09:29:36 +0000 (17:29 +0800)]
distrodata.bbclass: Get the extend recipe's information from non bbextended recipe
This patch will check whether the recipe is an extened recipe, if yes, some informaiton couldn't be got, so collect those information(like maintainer information or lastcheckversion) from non bbextended recipe.
Mark Hatle [Fri, 24 Jun 2011 18:30:15 +0000 (13:30 -0500)]
prelink: Uprev prelink to latest version
The latest cross-prelink version tracks the prelink r190 SVN.
Fix two minor issues as well. If we remove the package, we would
unprelink the filesystem after the rm was finished. This is
incorrect.. we need to do this prerm.
Move the cron and cron configuration file to a new package split.
This item is not valid for most embedded users.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Scott Garman [Tue, 21 Jun 2011 00:21:16 +0000 (17:21 -0700)]
base-passwd: remove login.defs references
login.defs is owned by shadow-utils, and doesn't belong here. The
shadow-sysroot recipe was created to handle the case this was
originally added for (useradd.bbclass support).
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Scott Garman [Tue, 21 Jun 2011 00:11:34 +0000 (17:11 -0700)]
shadow-sysroot: new recipe for useradd.bbclass support
Packaging login.defs with base-passwd causes problems due to the
file being included in target package installs. Instead, this
shadow-sysroot recipe can be used by useradd.bbclass to put
login.defs into the target sysroot without disturbing packages
intended for target devices.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Richard Purdie [Thu, 23 Jun 2011 10:32:19 +0000 (11:32 +0100)]
base/glib-2.0: Simplify USE_NLS handling for glib-2.0
Currently the only way to get anything to build is to set USE_NLS="yes"
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.
The magic handling of USE_NLS_<recipename> is also removed since this
can be done in the form USE_NLS_pn-<recipename> using overrides these
days.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scott Garman [Wed, 15 Jun 2011 01:16:29 +0000 (18:16 -0700)]
bitbake wrapper: exit if python v3 is detected
Make sure we're not using python v3.x. This check can't go into
sanity.bbclass because bitbake's source code doesn't even pass
parsing stage when used with python v3, so we catch it here so we
can offer a meaningful error message.
This fixes bug [YOCTO #1128]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Dongxiao Xu [Tue, 28 Jun 2011 06:58:15 +0000 (14:58 +0800)]
libc-locale: split locale handling from libc recipe.
*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.
This commit moves locale handling into a separate recipe *libc-locale.
[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jiajun Xu [Fri, 24 Jun 2011 07:53:45 +0000 (15:53 +0800)]
qemuimagetest: update cvs and iptables to newer version for toolchain test
The old versions of cvs and iptables may meet compile error under some architecture
- cvs 1.11.23 fails on x86-64 host and iptables 1.4.9 fails on arm host. Update them
to latest version could solve these build error.
Meanwhile, 240s timeout is set for sudoku becasue 120s is not enough to finish
compile.
Mark Hatle [Tue, 21 Jun 2011 00:04:13 +0000 (19:04 -0500)]
python: Add python to the dependency to pygobject
pygobject requires both python and pygobject-native for compilation. Without
python pygobject may fail to compile.. and items that depend on pygobject will
fail to compile.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Mark Hatle [Mon, 20 Jun 2011 18:18:19 +0000 (13:18 -0500)]
ghostscript: Fix owner/group of /etc/cups
/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root. /etc/cups
is the authoritative source.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Mark Hatle [Mon, 20 Jun 2011 18:03:47 +0000 (13:03 -0500)]
base-passwd: Fix owners/groups
Fix the owners and groups of specific files copied from the developmen tree.
This resolves an issue where those files gain the user/group id of the build
user.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Mark Hatle [Thu, 23 Jun 2011 16:58:26 +0000 (11:58 -0500)]
native.bbclass: Add a simple chown intercept command
During native recipe processing we want to intercept any calls to chown
and do nothing. This prevents errors and allows the same recipes to be
used for both native and target recipes.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Richard Purdie [Thu, 23 Jun 2011 19:45:28 +0000 (20:45 +0100)]
kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.
This patch puts them in ${D} where they were supposted to be.
Tested-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 23 Jun 2011 15:01:18 +0000 (16:01 +0100)]
packagedata.py: Fix read_subpkgdata_dict()
If both VAR and VAR_foo are in subd, we need to ensure VAR_foo gets
returned. Currently the code would work randomly. The only current
user is the rpm packaging backend.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Hatle [Tue, 21 Jun 2011 00:08:19 +0000 (19:08 -0500)]
classes/package_rpm.bbclass: Change the way the PV is transformed
There were some odd instances where the PKGV could not be loaded in the old
way. Change to verify that PKGV exists before attempting to retrieve the
value from the key.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Bruce Ashfield [Tue, 21 Jun 2011 20:36:22 +0000 (16:36 -0400)]
linux-yocto: update meta SRCREV for new config groups
Updating the SRCREV for the kernel repo's meta branch to capture
the following commits:
94fa015 meta: add taskstats experimental feature group 4fb2ed5 meta: enable freezer support 88d619e meta: enable fuse and cuse as modules f465827 meta: add namespaces + experimental configs fbdd376 meta: add devtmpfs config group b04f6d9 meta: re-enable cgroups options in the standard kernel
There's also a change to the recipe itself to trigger the taskstats
optional config items by default. This is to allow the introduction
of these changes gradually, since other recipes inheriting the kernel
can add or ignore these options at their convenience.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Fix "invalid conversion from 'const void*' to 'void*'" error compiling
src/dbus/qdbusintegrator.cpp. It is assumed that the use of "const" here
is incorrect as no other usage of Q_GLOBAL_STATIC_WITH_ARGS uses const
prefix on the first (TYPE) argument.
Patch was imported from the Qt bug tracker (see above reference); the
patch was rejected but for procedural rather than validity reasons.
Fixes [YOCTO #1168]
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Paul Eggleton [Wed, 15 Jun 2011 14:56:16 +0000 (15:56 +0100)]
qt4-tools-nativesdk: fix unpack failure due to missing g++.conf
FILESPATHPKG was being used to in order to bring in linux.conf and
g++.conf in this recipe, however this probably never worked since
FILESPATHPKG always has the MACHINE appended to it and these are not
machine-specific files. The only reason it built was that these two files
could be found within the "files" subdir until we removed Qt 4.6.3.
Using FILESEXTRAPATHS (as qt4-tools-native does) solves this.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Xiaofeng Yan [Wed, 22 Jun 2011 05:18:59 +0000 (13:18 +0800)]
task-core-lsb: Add absent libraries and commands to task-core-lsb.bb
Due to "tools-profile" and "tools-testapps" were removed from variable \
"EXTRA_IMAGE_FEATURES" in meta-yocto/conf/local.conf.sample, some libraries \
needed by LSB Test Suite were absent in an lsb image. I add these absent \
libraries to task-core-lsb.bb.
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Khem Raj [Wed, 22 Jun 2011 00:55:33 +0000 (17:55 -0700)]
eglibc-package.inc: Package newly added sotruss and supporting libraries
2.14 has a new utility which can trace through PLTs of shared libraries
We package the library separately and the script is already packaged in
eglibc-utils so we create a RDEPEND so that the library is pulled in
if someone isntalls eglibc-utils
Paul Eggleton [Tue, 21 Jun 2011 17:13:28 +0000 (18:13 +0100)]
u-boot: set SRCREV to a git revision instead of a tag reference
If we use a tag here then bitbake has to connect to the repository to find
out the corresponding revision (so it can expand SRCPV which is part of PV,
which amongst other things is needed to determine whether or not the
package has to be rebuilt.) This occurs at parse time; on machines behind a
firewall or with no network access this can be a problem.
We wish to avoid unnecessary network accesses and network access in our
default configuration during parse time is even worse. Substituting the
git revision corresponding to the tag prevents bitbake from having to
contact the remote repository in order to expand PV.
Addresses [YOCTO #1186]
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This patch is already applied to eglibc 2.12 branch as seen here
http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_12/libc/manual/Makefile?rev=12230&sortby=date&r2=12230&r1=10495