aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2012-03-14ncurses: fix build when ENABLE_WIDEC is not setPaul Eggleton
If wide character support is disabled (as it is with poky-tiny, for example) then we won't have libncursesw.so.*, so skip moving these files in that case. (Fixes a regression introduced in OE-Core revision ccd370ab147b78de7a5bd74818f755f4d3ca6d81). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-03-13gettext: Set the LICENSE field to GPLv3+Saul Wold
This change is needed because currently the INCOMPATIBLE_LICENSE checking code does not map between SPDX and older style naming (GPL-3+ vs GPLv3+). Yocto bug number 2093 filed to track this. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-13initscripts: test whether /etc/init.d/hwclock.sh existsAndreas Oberritter
* bootmisc.sh executes /etc/init.d/hwclock.sh, which is optional (depends on CONFIG_HWCLOCK in busybox). Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-13Revert "gettext: do not set libncurses prefix explicitly"Richard Purdie
This reverts commit 37b9d140b5d55af4f77baab0c0b0343d8b5e8b6c since it caused QA issues for several people. The ncurses location needs to be explicitly specificed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13gettext: do not set libncurses prefix explicitlyScott Garman
The --with-libncurses-prefix configure option was added before this recipe had ncurses in DEPENDS, so it should be safe to remove it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-03-13ncurses: move only libncurses and libtinfo to base_libdirScott Garman
The previous approach to moving the ncurses libraries to base_libdir was too aggressive, and it broke curses support in python. Instead, move only libncurses, libncursesw, and libtinfo to base_libdir and leave the remaining libraries in libdir. Also delete ${libdir}/terminfo as it never gets packaged to avoid a QA warning. This fixes [YOCTO #2070] and is a partial fix for [YOCTO #1937]. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-03-13util-linux: explicitly disable udevAndreas Oberritter
* util-linux auto-detects libudev for lsblk, so disable it, because it's not listed in DEPENDS. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-13udev-164: fixup "don't hardcode path to pidof"Andreas Oberritter
* Remove -e shell option, because pidof may return nonzero. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-13glib-2.0: Add Upstream Status for nodbus.patchSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-08external-csl-toolchain: override PKGV, not PKGV_${PN}Christopher Larson
This is needed to ensure that the RDEPENDS_${PN}-dev, RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging issue, as rpm dislikes the recipe PV as PKGV. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08psplash: Add mising commands module import.Peter Tworek
Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "do_compile", line 24, in <module> ERROR: ERROR: File "do_compile", line 11, in do_compile ERROR: ERROR: The code that was being executed was: ERROR: 0020: bb.build.exec_func("oe_runmake", d) ERROR: 0021: shutil.copyfile("psplash", outputfile) ERROR: 0022: ERROR: 0023: ERROR: *** 0024:do_compile(d) ERROR: 0025: ERROR: (file: 'do_compile', lineno: 24, function: <module>) ERROR: 0007: localfiles = d.getVar('SPLASH_LOCALPATHS', True).split() ERROR: 0008: outputfiles = d.getVar('SPLASH_INSTALL', True).split() ERROR: 0009: for localfile, outputfile in zip(localfiles, outputfiles): ERROR: 0010: if localfile.endswith(".png"): ERROR: *** 0011: outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile) ERROR: 0012: print(outp[1]) ERROR: 0013: fbase = os.path.splitext(os.path.basename(localfile))[0] ERROR: 0014: shutil.copyfile("%s-img.h" % fbase, destfile) ERROR: 0015: else: Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08udev-164: don't hardcode path to pidofAndreas Oberritter
* pidof lives in /bin, search it in $PATH. * Assume pidof's presence. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>