summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-09-22icecc-create-env: rename to -nativeDmitry Eremin-Solenikov3
icecc-create-env(-native) is a native package. But if it doesn't have the -native suffix, some dependency tracking stuff in oe-core (in nativesdk.bbclass) get's crazy about it, trying to generate dependencies to icecc-create-env-native packages. To fix that simply add -native suffix to this package. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22python: Fix cgi.py runtime issueMark Hatle2
By default cgi.py attempts to use /usr/local/bin/python as its interpreter. However, on my Linux systems, including OE-Core, python is installed into {bindir}. Adjust this one file based on the comment at the top of the upstream file. This resolves an issue where a runtime dependency discovered during RPM packaging breaks the rootfs construction. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22task-core-lsb: Remove perl-devMark Hatle1
Remove the perl-dev recipe from the required packages. When this recipe is included, libc6-dev is automatically added as are a large number of other -dev packages. Eventually this creates a system where the dependencies may not be able to be satisfied. The perl-dev package should not be required in order to pass the LSB testing. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22sudo: Fix PAM dependenciesMark Hatle1
When PAM is enabled for the distribution we need to be sure to have a build dependency of libpam, and runtime dependencies on the pam modules used by the sudo package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22perl: Fix a few perl binaries to use target interpreter pathsMark Hatle1
A small number of target installed programs, "${bindir}/pod*", were incorrectly using the perl-native paths to access perl. This caused a dependency failure during RPM rootfs install, and also prevented those specific components from functioning. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22usbutils: Move the pkgconfig file(s) to the -dev packageMark Hatle1
pkgconfig files belong in the -dev package. They automatically add a runtime dependency (when packaging with RPM) for "pkgconfig", which is not desired to be installed with this package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22bluez4: Replace deprecated configure switchMarko Katić1
"--enable-configfiles" is deprecated upstream. Here is the original reason & patch: http://www.spinics.net/lists/linux-bluetooth/msg14266.html Replace "--enable-configfiles" with "--enable-datafiles" in the bluez4 recipe. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22libglade: fix the python environment settingsDongxiao Xu2
@PYTHON@ will points to the abstract path in sysroot, which should be replaced by "#!/usr/bin/env python". This should fix the sato-sdk rootfs error. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22glib-2.0: Fix python paths in scripts to use target pathsRichard Purdie3
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22procps 3.2.8: remove initscriptKoen Kooi2
Sysctl is managed by other initscripts in the sysV world and by systemd itself in the systemd world, so drop it from the procps recipe. This also fixes some style issues and a global FILES assignenment. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-22xserver-xf86-lite.inc: use ${datadir} instead of /usr/shareOtavio Salvador1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22xserver-xf86-dri-lite.inc: use ${datadir} instead of /usr/shareOtavio Salvador1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22xserver-xf86-common.inc: use ${datadir} instead of /usr/shareOtavio Salvador1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22linux-yocto: kernel configuration cleanupsBruce Ashfield3
There were some config fragment warnings that were being hidden by virtue of being output while generating the full config versus the ones that were generated during the configuration audit task. This change does the following: - Updates the kern-tools SRCREV to include changes that move all kernel configuration warnings to the audit script - Updates the meta SRCREV for linux-yocto to get updated kernel configuration fragments that are warning-free. These are duplicated configs, and other changes that have a net result of no runtime changes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22linux-yocto: add blktrace featureBruce Ashfield2
Updating the 3.0 kernel to enable blktrace to match our previous functionality. This is done by the following meta branch commit: [ meta: add blktrace feature Add a 'blktrace feature' that turns on kernel support for blktrace, a block I/O tracing tool. Added to 'standard' alongside similar tracing tool config. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22linux-yocto: simplify kernel configuration check expressionBruce Ashfield1
kernel configuration validation takes place between two files. An unprocessed configuration file (which is all the options found in the various configuration fragments) and the final .config produced by the lkc. The unprocessed configuration file's name historically is based on the name of the branch that was used to build the BSP. But with the ability to map machine names to arbitrary branches, this is no longer always true. Searching for the pattern *-config-* in the meta subdirectory will only match the config file, and frees the config validation phase from being concerned with what branch was used to build the BSP. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22distro tracking: Update Distro AliasesSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22rootfs_rpm: two step installationDongxiao Xu1
Firstly we install a base image. Then install those multilib packages listed in MULTILIB_IMAGE_INSTALL. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Acked-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21libpng: Add RPROVIDES for backwards compatibiliy with previous libpng packagingRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21debian.bbclass: Fix hardcoded "lib" referenceRichard Purdie1
This patch removes a hardcoded "lib" reference from debian.bbclass allowing libdirs like "lib64" to be used. Whilst working on this area of code, a similar assumption about "bin" is removed and the regular expression compilation is moved to the parent function since it doesn't change and this will improve the speed of the code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21Update python dependencies to be simply to "python"Mark Hatle3
Previously python dependencies were of the format "python(abi) = ..." This format is not yet supportable within OE, so revert to a form we know we can handle. Introduce a change to package.bbclass that ensures it will causes the sstate-cache's "package" to invalidate. Since pythondeps changed, the output of rpmdeps changes, which causes the per-file dependency information to change.... thus we need to invalidate the cache! Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21libpng: avoid dangling link in libpng packageDongxiao Xu1
As for libpng recipe, the libpng.pc is a symbol link to libpng12.pc, if packaging them into two different packages, we will get a dangling link for libpng.pc, and when calculating rpm dependency with that file, we will get nothing. Only keep one version of dev package to fix the issue. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-09-21oprofileui: Change avahi to avahi-ui dependsSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-21Fix alsa-utils package dependenciesDaniel Lazzari1
Make alsa-utils main package depend on all of the more specific alsa-utils packages (such as alsa-utils-alsamixer). Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com> PR Bump Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-21multilib_global.bbclass: Fix non-multilib package providesMark Hatle1
In non-multilib packages, configured in a multilib configuration we need to adjust the system provides and rprovides to include the virtual multilib variant. This resolves a problem introduced in the 329d864f9bbf94ad3aae8df43d63fe10e4237e4f commit. Where "allarch" packages were suddenly providing all variants of an object. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21busybox: Enhance to add dynamic per-file providesMark Hatle2
When using the RPM package backend, we need a full list of per-file provides (and requires). The busybox package provides a number of command line utilities, such as /usr/bin/env. However, because the utilities are created at post install time via scripting the provide of each of the links was never made. So any programs, such as python, that require /usr/bin/env were unable to resolve the dependency and failed. This change only affects packaging backends that use per-file dependency data. Currently RPM is the only packaging backend with this ability. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21Add a run-time dependency that eglibc support GNU_HASHMark Hatle3
RPM checks to see if binaries require GNU_HASH, if they do it adds an automatic dependency of "rtld(GNU_HASH)". We need to satisfy this dependency, and we do it by providing rtld(GNU_HASH) in the package(s) that provide a runtime-linker. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21Fix RPM dependenciesMark Hatle1
When packaging for RPM, dependencies were not being properly added to the packages. Only the "providing" dependencies were added due to a typo. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21multilib: install MULTILIB_IMAGE_INSTALLDongxiao Xu2
If user set MULTILIB_IMAGE_INSTALL, we need to install those multitlib packages into the final image. Also fix the logic in handling multilib prefix. For certain case like a normal image contains several multilib libraries, the image recipe isn't extended with MLPREFIX, therefore we need to enumerate the possible multilib prefixes and compare them with package prefixes. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-09-21rpm: add multilib prefix for archs under deploy/rpmDongxiao Xu2
Currently MACHINE_ARCH deploy folder is unique in multilib system, thus a lib32 version of rpm package will override a normal rpm package if its PACKAGE_ARCH is ${MACHINE_ARCH}. Define different deploy folder for multilib architectures to avoid the confliction. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-09-21avahi: Refactor recipe to move UI to avahi-uiSaul Wold3
[YOCTO #1492] This patch refactors avahi into a core non ui and avahi-ui, OE-Classic has a similar factoring, and it was used as a refernce to make this occur correctly here. This allows the package to be built without gtk and GPLv3 issues. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-21distrodata: fix distro_check codeSaul Wold2
This fixes a problem with package names from inherits showing up Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-21zypper: git repo moved to githubAnders Darander1
Signed-off-by: Anders Darander <anders@chargestorm.se>
2011-09-21sat-solver: git repo moved to githubAnders Darander1
Signed-off-by: Anders Darander <anders@chargestorm.se>
2011-09-21libzypp: git repo moved to githubAnders Darander1
Signed-off-by: Anders Darander <anders@chargestorm.se>
2011-09-21deb packages support: switch from /var/dpkg to /var/lib/dpkgDexuan Cui10
[YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-09-21scripts/combo-layer: fix still overzealous regex in default hook scriptPaul Eggleton1
In the previous fix to this hook script (OE core revision e7aae45414e4597e9244f86a81fbc940f73785c8) a start-of-line (^) marker was missed, so if a commit had no Signed-off-by line but it contained an inner patch that did, the inner patch was modified causing a "corrupt patch" error. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-19freetype: disable bzip2 compressed font supportPaul Eggleton1
If we do not disable this then it is enabled sometimes and disabled at others depending on whether bzip2 has been built at the time, and worst case it will cause a race condition if bzip2 is building at the same time. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-19libgnome-keyring: add libgcrypt to DEPENDSPaul Eggleton1
libgcrypt is a required dependency according to the configure script, so add it to DEPENDS. (This fixes a race condition when libgcrypt happens to be building at the same time as libgnome-keyring.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-19libgcrypt: add libcap to DEPENDSPaul Eggleton2
We explicitly enable capabilities, so libcap is required. (This fixes a race condition when libcap happens to be building at the same time as libgcrypt.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-18sanity.bbclass: add a sanity check for KDE 4.x konsole in TERMCMDPaul Eggleton1
If the user has specified konsole in TERMCMD and it is version 2.x from KDE 4.x, raise an error as this version will not work for patch resolution purposes (it forks into the background and returns immediately). Addresses [YOCTO #1294] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-18lib/oe/terminal.py: declare konsole from KDE 4.x as unsupportedPaul Eggleton1
Konsole 2.x (from KDE 4.x) does not work as devshell - it does not pass the environment or current working directory through among other issues, so do a version check and disable it if it is found (skipping to the next available terminal application.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-18texinfo: several changes to build without zlib and ncurses headers on hostJoshua Lock4
Texinfo very cleverly detects cross-compilation and builds host versions of the texinfo binaries it requires to bootstrap the build, however this was causing the host to require ncurses and zlib libraries and headers. Instead, since we require texinfo to be installed on the host, remove this feature from the texinfo configure.ac (disable-native-tools.patch). Further, fix texinfo to link with newer binutils (link-zip.patch) and to generate translations with newer gettext (gettext-macros.patch). With this patch I am able to build texinfo on Fedora without ncurses-devel and zlib-devel installed. This fixes [YOCTO #1483] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-09-16base.bbclass: add crosssdk items to INCOMPATIBLE_LICENSE exclude listSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-16sanity: disable mirrors for connectivity checkJoshua Lock1
It's difficult to test a range of fetchers when using mirrors, therefore create a throwaway copy of the datastore and delete the MIRROR and PREMIRROR variables to ensure they aren't used in the connectivity check. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16bugzilla.bbclass: add a class to report build problems to bugzillaDmitry Eremin-Solenikov1
Add a class to report build errors to bugzilla. Idea largely based on sepukku.bbclass, however it's rewritten nearly fully to use XML-RPC interface of bugzilla. Tested with bugzilla 4.0, other version might require some sort of adaptation. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16icecc.bbclass: replace with updated versionDmitry Eremin-Solenikov1
Replace a non-working icecc class with a rewritten one. It's cleaned up, most things are handled now in shell scripts, as it's possible that toolchains won't exist at the time of parsing/python substitution. Packages which empty PARALLEL_MAKE are ignored now, as not to break them. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16icecc-create-env: a tool to create icecc toolchain tarballsDmitry Eremin-Solenikov2
IceCC needs tarballs with toolchains to work correctly. This is a version largely based on one from org.openembedded.dev, plus a patch to support recent compilers, LTO, etc. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16image/package.bbclass: Revise multilib support for DEBIAN_NAME.Lianhao Lu2
[YOCTO #1486] 1. image.bbclass: In multilib_sanity_check, duplicated files except those matching to MULTILIBRE_ALLOW_REP are allowed if they're equal. 2. pacakge.bbclass: Allow DEBIAN_NOAUTONAMES variable to be automatically mapped in multilib case. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-09-16Misc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.Lianhao Lu6
[YOCTO #1486] Added MLPREFIX to the final package names of library packages in case of DEBIAN_NAMES. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>