aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-03eglibc-testing: Fix testing script to work well with dashKhem Raj
Dash did not like >& so we do 2 >& 1 > /dev/null Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-02initscripts: Create the volatiles cache atomically.James Limbouris
If a machine loses power while building the volatiles cache, it will continue to operate with an incomplete set of volatiles. Fix this by updating atomically. Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-01busybox: Restore 'date' compatabilityGary Thomas
Restore CONFIG_FEATURE_DATE_COMPAT so that all versions of 'date', whether from busybox or coreutils, agree on the format when setting the date from the command line. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-01initscripts: Properly format date when set from timestampGary Thomas
Reformat date, as stored in /etc/timestamp, to match CLI format. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-01util-linux: Fix build when NLS is disabledKhem Raj
AC_CHECK_DECLS generated defines should be checked with #if not #ifdef Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-01util-linux: Fix removal of lscpu for non-GPLv3 BuildSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-01netbase: fix QA WarningsSaul Wold
WARNING: For recipe netbase, the following files/directories were installed but not shipped in any package: WARNING: /usr/sbin Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-01self-hosted-image: Create a VMDK image with correct SYSLINUX_* settingsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-29busybox: Enable 64 bit shell tests, and disable non-standard date format ↵James Limbouris
interpretation. Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors. With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh. Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28gettext: Get gettext use its own libunistringWenzong Fan
According to its documentation, gettext 0.18.1.1 needs either libunistring or it will use its own internal version. Just add a configure option '--with-included-libunistring' to force the latter to avoid races. [YOCTO#1934] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2012-02-28util-linux: Update to 2.21Saul Wold
This updates various checksums for the COPYING files, which moved in the process no changes to Licenses Tweak the scanf_cv_alloc_modifier and rebase the patch Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-02-27glib-2.0: Disable fam, we don't depend on itRichard Purdie
Various people are reporting glib-2.0 failures from a dependency on libfam creeping in uninvited. This patch explicitly disables it to favour a deterministic build. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26More quoting fixesMartin Jansa
* We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26glib: Drop dbus dependency, it isn't usefulRichard Purdie
dbus is only needed for some of the glib tests which we don't use. We can therefore drop the dependency and gain some small parallelism gains. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24initscripts: mount and unmount cifs network filesystemsAndreas Oberritter
* Added cifs to mountnfs.sh and umountnfs.sh. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24psplash: allow building multiple splash executablesPaul Eggleton
Adds a SPLASH_IMAGES variable which you can set to include one or more images (listed in URI form as they would appear in SRC_URI), and an executable will be built for each one, with each executable packaged separately and managed at runtime using the alternatives system. An optional "outsuffix" parameter can be used to specify the suffix for the executable/package name. The images themselves can either be pre-processed image header files (produced using the make-image-header.sh script that comes with psplash), or alternatively you can provide a .png and it will be converted using the aforementioned script on the fly (at the expense of requiring gdk-pixbuf-native at build time). This has been implemented in such a way that you can still just provide your own psplash-poky-img.h in a bbappend and it will work as it did before; the only change being that the psplash executable is provided in a "psplash-default" package rather than in the main psplash package, and an RRECOMMENDS is set up to ensure psplash-default gets pulled in (if you specify your own file or change the outsuffix you will need to either install it separately yourself or add your own RRECOMMENDS relationship.) Implements [YOCTO #1947] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24psplash: use OpenEmbedded logoPaul Eggleton
Use the OpenEmbedded logo for psplash in OE-Core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24glib-networking: Add intltools-native to DEPENDSKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24task-self-hosted: add hicolor-icon-theme and socatDexuan Cui
python-pygtk depends on libgtk and libgtk's recommends have gdk-pixbuf-loader-{png,jpeg,gif,xpm}, so we have the warnings. We can add hicolor-icon-theme to fix the warning: Configuring gdk-pixbuf-loader-png. gtk-update-icon-cache: No theme index file. Configuring gdk-pixbuf-loader-jpeg. gtk-update-icon-cache: No theme index file. Configuring liberation-fonts. Configuring gdk-pixbuf-loader-xpm. gtk-update-icon-cache: No theme index file. Configuring gdk-pixbuf-loader-gif. gtk-update-icon-cache: No theme index file. Add socat for to faciliate proxy setting. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24dbus-glib: Correctly package bash completion pieces to avoid QA warningRichard Purdie
WARNING: For recipe dbus-glib, the following files/directories were installed but not shipped in any package: WARNING: /etc WARNING: /etc/bash_completion.d WARNING: /etc/bash_completion.d/dbus-bash-completion.sh WARNING: /usr/libexec/dbus-bash-completion-helper Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24glib-2.0: Fix unpackaged files warningRichard Purdie
WARNING: For recipe glib-2.0, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gio WARNING: /usr/lib/gio/modules Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24readline: Add a patch to remove the redundant rpath linker optionRichard Purdie
This resolves the QA warnings: WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libhistory.so.6.2 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libreadline.so.6.2 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libreadline.so.6 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libhistory.so.6 contains probably-redundant RPATH /usr/lib Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24eglibc: Fix package warningRichard Purdie
WARNING: For recipe eglibc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/locale Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-23task-self-hosted: make the package lists alphabeticalDexuan Cui
This patch makes no actual change to the functionality of the recipe. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-02-23task-self-hosted: remove duplicate packagesDexuan Cui
The package names are specified more than once. We only need to keep one for each of them, so let's remove the duplicated ones. This patch makes no actual change to the functionality of the recipe. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-02-23busybox: don't create /etc/defaultAndreas Oberritter
* It's not used by the recipe and its creation currently depends on CONFIG_HWCLOCK=y. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-02-23dbus: Remove empty ${lindir}dbus-1.0/test directory as we don't build testsAndrei Gherzan
This empty directory generates a QA warning of unshippped files/dirs. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-02-23initscripts: Make /etc/timestamp consistent again.Gary Thomas
Commit cc8695 changed the way timestamps were handled and added some extra munging to be able to compare them reliably. This change makes the timestamp value the same everywhere and simplifies how the check to set the system clock based on the timestamp is done. Also, if the value stored in /etc/timestamp is newer [at all] than the current system time, set the system clock from the stored value, down to the minute, not just the day. Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2012-02-22netbase: remove redundant assignmentsJoshua Lock
There's no need to explicitly set PACKAGE_ARCH = MACHINE_ARCH, base.bbclass takes care of setting this value for us based on the interfaces for those machines being an OVERRIDE. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-22external-csl-toolchain: skip parsing if CSL_VER_MAIN isn't setJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21udev.inc has a bad link for udev home page; update the linkBob Cochran
Fixed bad link in udev.inc to the udev home page / documentation on kernel.org Signed-off-by: Robert Cochran<yocto@mindchasers.com>
2012-02-21Add sanity checks for eglibc localeKen Werner
Add sanity checks that test for the existance of folders. This allows to use an external binary toolchain that doesn't have localization support.
2012-02-21task-self-hosted: add connman and connman-plugin-ethernetDexuan Cui
Without this, the VMware guest running self-hosted-image can't get IP address automatically. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-02-21zlib: remove ldconfig call from install-libsMartin Jansa
* it's called from install-libs target and when /etc/ld.so.cache is writeable by user running bitbake then it creates invalid cache (in my case libstdc++.so cannot be found after building zlib(-native) and I have to call touch */libstdc++.so && /sbin/ldconfig to fix it Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21recipes: bump PR to rebuild .la files without libz.laMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-10package.bbclass: Optimise the per file rpm handlingRichard Purdie
Currently a process was being forked off for each individual file this class wanted to inspect with rpmdeps. This converts it to use rpmdeps-oecore which allows batch processing of these dependencies. For do_package for perl, this reduced the time by about 1 minute (33%). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-10zlib: Upgrade 1.2.5 -> 1.2.6Khem Raj
Dont use autotools, it really not so autoconf like. the configure script gets updated with every release of zlib and we overwrite that. Instead use the upstream provided configure copyright year was changed in zlib.h which caused change in LIC_FILE_CHECKSUM fix.inverted.LFS.logic.patch is already applied upstream so drop it Drop the configure.ac and Makefile.am scripts since we do not autoreconf anymore and do not inherit autotools anymore Bump PR for depending recipes so a rebuild it ensues so that they dont depend on .la anymore and add missing dependencies discovered during incremental build Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-02-09external-csl-toolchain: fix mtd-user.h issueChristopher Larson
The use of __packed, which isn't defined in userspace, caused busybox build failures. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08external-csl-toolchain: split out gdbserver packagesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08external-csl-toolchain: correct binary packagingChristopher Larson
CS puts optimized executables in usr/lib/bin, not usr/bin. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08external-csl-toolchain: set PKG/PKGV for staticdevChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08task-core-tools-profile: fix valgrind for arm and systemtap for mipsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-02-07uclibc: Upgrade recipes from 0.9.32 -> 0.9.33Khem Raj
Prefer 0.9.33 by default Delete recipes for 0.9.32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-02-07classes,recipes: Replace POKY_* with CORE_IMAGE_*Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-02-07Enable options needed for ltp to compileKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-02-07task-core-tools: Divide it into 3 recipesKhem Raj
task-core-tools-debug, task-core-tools-profile, task-core-tools-testapps otherwise if we choose one through PACKAGE_GROUPS all packages are built since they are in same recipe. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-02-07udev: stop providing cache support by defaultOtavio Salvador
The usefulness of cache nowadays has been reduced a lot and thus it's better to stop using it by default. Dropping the recommends allows for image to decide if they want or not to have cache enabled, instead of require a machine override. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-02-07busybox: Add flock utility to default configuration.Peter Tworek
Flock is required by by pm-utils package to function properly (/usr/lib/pm-utils/functions). It's shipped in both busybox and util-linux. Both versions work fine with pm-utils. Enabling it in busybox seems like simpliest solution for the problem. Signed-off-by: Peter Tworek <tworaz666@gmail.com>