summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2012-09-03classes/packagegroup: Use package group nomenclaturePaul Eggleton1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-base: remove some useless itemsPaul Eggleton1
* Bootloader selection (u-boot, redboot, etc.) is not handled using feature selection anymore, so remove these packages * Realistically there are no packages we can always know that need to be installed for a screen/touchscreen these days, so remove these * Similarly, all RAID configurations can't be supported just using one package or list of packages, so remove the raid package. * Remove default settings of MACHINE_ESSENTIAL_*, these variables aren't referred to in this recipe. * Remove some outdated comments * Fix indenting Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03Rename task to packagegroupPaul Eggleton53
"Package group" is a much more appropriate name for these than task, since we use the word task to describe units of work executed by BitBake. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03classes/core-image: remove erroneous nfs-server commentPaul Eggleton1
It has never been true that this enables exporting the entire rootfs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03classes/core-image: remove *_IMAGE_FEATURES variablesPaul Eggleton6
This indirection does not add anything in terms of configuration and only serves to increase confusion; and given the nature of these it is unlikely they are being used outside of OE-Core. Change the sato-sdk and sato-dev images to be based on the main Sato image (avoiding the need for a common SATO_IMAGE_FEATURES variable) and eliminate all references to them. Fixes [YOCTO #2458]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03classes/core-image: remove SSHSERVER_IMAGE_FEATURESPaul Eggleton2
This variable was added in the very same commit that added a mechanism that makes it obsolete: if you have dropbear and you want openssh, you just add ssh-server-openssh to your IMAGE_FEATURES and it will replace dropbear via IMAGE_FEATURES_REPLACES_. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03uclibc-0.9.33: Update to latest on 0.9.33 branchKhem Raj3
Apply mount.h sync patch which is needed for systemd to work. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03build-appliance: add zip-native, which is needed to build the final zip bundleSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02ofono: Fix build on uclibcKhem Raj1
It used O_CLOEXEC which is a GNU libc feature so lets add the appropriate flag Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02pulseaudio: Always enable NLSKhem Raj2
When NLS is disabled e.g. on uclibc the build fails The actual problem is that pulseaudio build system should cater for it but it does not Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02eglibc: remove duplicate rquota filesSaul Wold2
The /usr/include/rpcsvc/rquota* files are provided by both eglibc and the quota package. Quota's version is newer and a superset of eglibc's [YOCTO #238] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02xserver-kdrive: remove.Ross Burton18
kdrive is effectively unmaintained upstream (it's only kept for Xephyr). Apart from two headless machines in meta-yocto (patches sent), every BSP I looked at (oe-core, meta-intel, meta-oe, meta-ti, meta-smartphone) is using the traditional X.org X server. Changing kdrive to Xorg means an extra ~200kb of disk usage but extra features and more importantly continued maintenance. Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-09-02image.bbclass: Convert runtime_mapping_rename to event handlerRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-02connman: Don't start connmand when booting using nfsrootSaul Wold2
There was a change to connman, such that it cleans up the route table for devices at startup, this was causing the network to get lost and NFS to loose it connection. [YOCTO #3008] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02kernelshark: remove duplicate trace-cmd pluginsSaul Wold1
Since kernelshark depends on trace-cmd, there is no reason to install and package the plugins that are part of trace-cmd. [YOCTO #238] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02elfutils: Fix build on uclibcKhem Raj1
It depends on libintl so add virtual/libintl to DEPENDS simplify the overridden statements Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02eglibc: Bring in the fix for glibc bug #14459, #14195Khem Raj2
Fixes strtod integer/buffer overflow bug as detailed below http://sourceware.org/ml/libc-alpha/2012-08/msg00202.html Remove rpc-bootstrap patch since its already applied upstream 2.16 branch Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02uclibc-git: Move to tip of master and sync mount.hKhem Raj3
mount.h sync with glibc is needed to get new defines which are needed for some packages like systemd Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02package.bbclass: fix stripping for kernel modulesTomas Frydrych1
runstrip(path, elftype, d) does bitwise & on the elftype parameter, so it has to be passed an integer. Passing None fails with: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'. Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02gettext: bump PR to avoid RPATH QA failurePaul Eggleton1
Erroneous paths being added to gettext by libtool were fixed, but the fix in libtool did not trigger a recompile of gettext, so if you are already in the situation where you are receiving the QA error, you are stuck. Bump PR to force a recompile. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02x11-common: don't prune .svn directories on install, we're in git nowRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02x11-common: just support Xorg now that kdrive has been removedRoss Burton2
This script was also handling Xomap, Xipaq and Xepson... Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02task-core-x11: default to xserver-xorg instead of kdriveRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02xserver-xorg: ship the exa module in a separate packageRoss Burton2
EXA is used by some Xorg video drivers, it doesn't need to be shipped unless it's being used. Note that it's dynamically loaded so the automatic library dependencies won't catch this, but as far as I'm aware nothing on oe-core or meta-oe is using EXA. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02avahi: systemd postinst and postrm removed in favor of using systemd.bbclassSander van Grieken1
The recipe's custom systemd service enable code is now handled by the meta-systemd bbappend recipe in meta-openembedded. Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02tzdata: install /etc/localtime alongside /etc/timezoneRoss Burton1
Lots of code (such a GLib) expects this to exist and link to the current timezone definition. /etc/localtime is a symlink instead of a copy of hard link to make it obvious what timezone data it's pointing at. For systems with /etc on a separate filesystem to /usr this will result in a dangling symlink until /usr is mounted, but as this is early boot the assumption is that anything checking it will handle that case and fallback to UTC. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02dpkg: upgrade to 1.16.8Constantin Musca14
autofoo.patch: removed - the patch is not used check_version: adapted to the new version - adapt the linux-wrs kernel version, which has character '_' - remove the first-char-digit-check (as the 1.15.8.5 version does) dpkg-deb-avoid-fflush.patch: removed - the patch is included in the new version fix-timestamps.patch: added - the lutimes function doesn't work properly for all systems ignore_extra_fields.patch: adapted to the new version nochroot.patch: removed - the patch is not used noman.patch: adapted to the new version noupdalt.patch: removed - the patch is not used perllibdir.patch: removed - in the new version PERL_LIBDIR will be set only if empty preinst.patch: adapted to new version removed-tar-no-timestamp.patch: added - the busybox-1.19.4 tar utility doesn't support --warning=no-timestamp Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
2012-08-31sstate.bbclass: Remove hardcoded task mappingsRichard Purdie1
I've not idea why this got left in but as per the comment, it needs fixing and we shouldn't have hardcoded mappings like this. Lets remove it and dynamically generate the data instead. [YOCTO #3039] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-31perl: Fix various nativesdk build issuesRichard Purdie1
The config.sh lists -fstack-protector but this isn't in LDFLAGS. This can result in perl compilation failures due to the mismatch. Adding the flag to LDFLAGS solves makes all the flags consistent and avoids build failures from missing symbols. It was also found that the path substitutions made by the sed statement can conflict with each other and you can end up with $prefix$prefix type expressions in config.sh-X which can break the build in unusual ways. This patch anchors the expressions to ensure only true matches are replaced. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie51
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-31nativesdk: Convert to use classextend.pyRichard Purdie2
This patch converts the nativesdk class itself from operating as a suffix to a prefix (see the proceeding patch for the related changes outside this class). The big benefit here is that we can reuse the generic class extension code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30sstate: Ensure master.list exists if it doesn't alreadyRichard Purdie1
This fixes builds where master.list doesn't already exist. This change was meant to be part of the previous sstate commit but ended up separated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30tzdata: this package isn't architecture specificRoss Burton1
The data files are compiled to a binary but architecture-independent format, so this package can be allarch. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30ltp: add dependency libaioKang Kai1
When libaio has been populated to sysroot, ltp will be compiled with libaio. If rpm/deb package of libaio doesn't be created, bitbake core-image-xxx will fail with: | Processing task-core-apps-console... | Processing ltp... | error: Failed dependencies: | libaio.so.1(LIBAIO_0.4) is needed by ltp-20120614-r0.i586 | libaio.so.1(LIBAIO_0.1) is needed by ltp-20120614-r0.i586 | libaio.so.1 is needed by ltp-20120614-r0.i586 | ERROR: Function failed: do_rootfs Add libaio to ltp dependency to fix this issue. Similiar to [Yocto #2973] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30task-self-hosted: remove e2fsprogs-fsck from task listSaul Wold1
Matches changes made to the e2fsprogs PACKAGE list Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30sstate.bbclass: Detect overwriting files in sstate controlled directoriesRichard Purdie1
We have a potential problem where two sstate packages try and touch the same file. This adds code which will print a warning whenever this happens. The implementation does but by maintaining a master file list and comparing file accesses against this. There are a number of places we have duplicate accesses which are harmless, mostly in the deploy directory so these are whitelisted. For now the code prints warnings, this could be strengthened in future to become error messages. Whilst working on this code on and off over the past few months various issues were uncovered, some serious. [YOCTO #238] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30glib-2.0: don't disable all debugging functionalityRoss Burton2
GLib will use "minimal" debugging on non-development builds and the extra safety net and ability to debug at all is totally worth the small performance cost. If someone has a need for every ounce of performance, a simple .bbappend can restore this option. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30Update lttng-2.0 versionsChristopher Larson3
lttng-modules: 2.0.pre11 -> 2.0.5 lttng-tools: 2.0.1 -> 2.0.4 lttng2-ust: 2.0.2 -> 2.0.5 Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30sysstat: Explicitly disable sensors support.Marc Ferland2
Since no lmsensors recipe exists by default in oe-core, explicitly disable support for it in sysstat. In my case sysstat would fail linking complaining about undefined references when adding my own lmsensors recipe. Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-29gail: removeRoss Burton1
This functionality was integrated into GTK+ 2.13 and we've dropped support for anything before that. [ YOCTO #2954 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-29intltool: Add Upstream-Status and Signed-off-by to remove-xml-check.patchFlorin Sarbu1
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-28runqemu-export-rootfs and friends: don't put pseudo db in target fsPeter Seebach1
In a few places, we have scripts which use <rootfs>/var/pseudo for the pseudo state directory controlling a given filesystem. This seems possibly risky because it means that stuff running under qemu or whatnot could wipe out the data being used to handle that rootfs. Move this to: <rootfs>/../$(basename_rootfs).pseudo_state to avoid problems. This also solves at least one case (not directly hit by yocto's tree) wherein you could end up trying to remove a rootfs while pseudo was using a database inside that rootfs, and thus the remove would fail. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
2012-08-28ethtool: package update 3.4.1 -> 3.5Constantin Musca1
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
2012-08-28perf: add bison and flex to DEPENDSTom Zanussi1
perf depends on bison and flex for event parsing - add them as dependencies. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-28archiver.bbclass: fix the remove errorRobert Yang2
* The "tar-package" is used for saving the "Source" list for rpmbuild, there is no such a file when "ARCHIVER_MODE[type] ?= srpm", and there would be errors, it hadn't happen before was becuase that the remove function didn't work. Let the "rpmbuild --rmsource" to remove the Sources, and the remove function will just remove the tar-package file. * Remove several unwanted "try ... exception" sentences, let the error raise rather than ignore them when the error happens. * Remove several un-needed code. [YOCTO #2619] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-28copyleft_compliance.bbclass: remove the duplicated codeRobert Yang1
A part of the code in copyleft_compliance.bbclass is duplicated to archiver.bbclass, remove the duplicated lines. [YOCTO #2619] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-28archiver.bbclass: remove the "upper()" functionRobert Yang2
The configuration value from the conf file is lower case, e.g. srpm, tar, so there is no reason to use the upper case which makes things complicated. [YOCTO #2619] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-28archiver.bbclass: fix the fakeroot and other issuesRobert Yang2
* Fix the fakeroot issue The archiver.bbclass is used for archiving sources, patches, and logs, it uses the "rpmbuild -bs" from the package_rpm.bbclass to generate the .src.rpm, but it didn't work (it's not easy to explain it clearly): Reason: - It directly used the "fakeroot" command, we don't have such a command in native tools, so it would use the fakeroot from the host, and it would fail when there is no fakeroot on the host. - The "rpmbuild -bs" doesn't need to work under root, but it is in the function do_package_write_rpm which is running under fakeroot, and "rpmbuild" needs to know the source file's user/group name, the source file is the tarball which is created by the postfuncs of do_unpack or do_patch which doesn't use the fakeroot, so the created file's owner would be the real user, e.g.: robert, but there is no such a user under our native tools' fakeroot(pseudo), then the rpmbuild would fail. It worked when use the host's fakeroot in the past was because that the host's fakeroot knows the users on the host. Fix: - Remove the incorrect "fakeroot". - Change the source file's owner to root.root under fakeroot will fix the problem. * Other fixes: - The typo: "do_remove_taball -> do_remove_tarball" which will cause the tarball is not removed. - Add the _sourcedir defination to the rpmbuild command since the the SOURCES would be added to the specfile when archiver.bbclass is inherited, otherwise there would be errors when "rpmbuild -bb", though the build is OK. It only added the defination to "rpmbuild -bs", didn't add to "rpmbuild -bb". [YOCTO #2619] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-28archiver.bbclass: fix the coding styleRobert Yang4
* Make the comment line under 80 characters. * Use the triple double quotes for the docstring. * Add a whitespace behind the comma (,). * Other minor fixes. [YOCTO #2619] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-28archiver.bbclass: indent fixesRobert Yang2
Several fixes: * It uses mixed tab and whitespace as the indent in one function, Fix them to use "4 spaces" as the indent. * Remove the unwanted blank, for example, more than one blank lines appeared together. * Remove the tail whitespace. [YOCTO #2619] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>