summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
AgeCommit message (Collapse)AuthorFiles
2012-09-20Replace "echo -e" with "printf" to have the same behavior in dash or bashAndrei Gherzan2
oe-core removed the prerequisite to have sh as bash. POSIX doesn't define any options and furthermore allows 'echo -e' to be the default behavior. This means that in dash 'echo -e' will actually print '-e' and interpret backslashes by default. We use instead 'printf' builtin command with or without '\n' to simulate 'echo -e' or 'echo -n'. 'printf' needs format while 'echo' can be used without any arguments. So 'echo >' was replaced by 'printf "" >'. 'echo' without '-n' flag adds a new line by default so to keep the same behavior of two new lines while using 'echo "\n"', 'printf "\n\n"' is used. [YOCTO #3138] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20byacc: update config.{sub, guess} before running configureMarcin Juszkiewicz2
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-18recipes: bump PR to rebuild after libffi5 -> libffi6Martin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12quota 4.00: add DEPENDS gettext-nativeJackie Huang1
do_install needs command 'msgfmt', it would fail if the command doesn't exist on the host, add DEPENDS gettext-native to fix this. [YOCTO #2811] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-12sysstat: upgrade to 10.1.1Constantin Musca2
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12shadow-native: Ensure that ${sbindir} and ${base_sbindir} are respectedPhil Blundell1
These values need to be passed on the command line to "make install" otherwise shadow will use its own built-in idea of where those directories are located. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12shadow: Fix various invalid assumptions about directory layoutPhil Blundell1
The makefiles in the shadow package have their own hard-coded paths for ${base_bindir} and ${base_sbindir} (known as "bindir" and "sbindir" in shadow-speak). Ensure that they install into our paths rather than their own. Also check that ${base_bindir} and ${bindir} are different before trying to move files from one to the other; likewise for ${base_sbindir} and ${sbindir}. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10Add package wget and perl modules.Saul Wold1
LSB needs wget to download packages but wget provided by busybox doesn't support some options such as '-N'. LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl, ../lib/Class/ISA/t/00_about_verbose and ../lib/Class/ISA/t/01_old_junk.t fail because of lack of these modules, add them to make test pass. File CORE/config.h which is provided by perl-dev and file unicore/version which is provided by perl-doc are required by LSB perl test cases. Add perl-dev and perl-doc to packagegroups-core-lsb. [Yocto #3030 #3031 #3052 #3054 #3055] Signed-off-by: Kang Kai <kai.kang@windriver.com> Rebased for packagegroup change -sgw These perl libraries are being added directly to OE-Core for 4.1 LSB Complainace, when 5.0 comes out early next year (2013), we will remove these changes. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10lsb: update versionKang Kai1
Update package lsb version to be same with current lsb test suit version. Because when install the suit, it warns that need lsb version >= 3.0 at least. Drop the duplicated creating files under /etc/lsb-release.d. Provides directories /etc/opt and /var/opt that they are required by package lsb-dist-checker in lsb test suit. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10ltp: updateKang Kai1
Update to latest version 20120903 Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10package_rpm.bbclass: fix the arch (replace "-" with "_")Robert Yang1
rpm can't use the "-" as the arch, which causes problem, e.g., when MACHINE = "beagleboard": * The arch should be armv7a-vfp-neon, but rpm only takes the armv7a, this is incorrect since it is mixed with real arch armv7a. * The nativesdk's arch should be i686-nativesdk (or x86_64-nativesdk), but rpm only takes the i686 (or x86_64), this in incorrect since it is mixed with the arch i686 (or x86_64). Replace "-" with "_" when rpm package and the rootfs generation would fix the problem, I think this is fine since it doesn't change the tune's arch, the package manager doesn't care about the arch's name, but it needs a unify arch system to avoid confusing. This is similar to what we have done on the deb which fixed the arch i486, i586 and so on to i386. [YOCTO #2328] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-05packagegroup-(base|core-basic): add RREPLACES/RCONFLICTSPaul Eggleton1
These are needed to support upgrading from task-* to packagegroup-* within existing target images at runtime. Note: these settings will very likely be moved to a separate inc file at some point in the future. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03ghostscript: disable libidn supportKang Kai1
If libidn is just populated to sysroot but rpm packages are not created, build ghostscript will check libidn automatically and then depends on libidn. But package libidn doesn't exist, so build image which contains ghostscript will fail with: | error: Failed dependencies: | libidn11 >= 1.25 is needed by ghostscript-9.05-r2.i586 | libidn.so.11(LIBIDN_1.0) is needed by ghostscript-9.05-r2.i586 | libidn.so.11 is needed by ghostscript-9.05-r2.i586 Disable libidn support to fix this issue. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03msmtp: disable libidn supportKang Kai1
When libidn has been populated to sysroot but rpm packages are not created, build msmtp will check libidn support automatically and then depends on libidn. But package libidn doesn't exist, build image which includes msmtp will fail with: | error: Failed dependencies: | libidn11 >= 1.25 is needed by msmtp-1.4.24-r3.i586 | libidn.so.11(LIBIDN_1.0) is needed by msmtp-1.4.24-r3.i586 | libidn.so.11 is needed by msmtp-1.4.24-r3.i586 Disable libidn support to fix this issue. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03wget: disable iri/idn supportKang Kai1
There is a build issue with wget idn support. When libidn has been populated to sysroot but rpm packages are not created, wget checks libidn support automatically and then depends on libidn. But package libidn doesn't exist, build image which includes wget will fail with: | error: Failed dependencies: | libidn.so.11 is needed by wget-1.13.4-r14.3.core2 | libidn.so.11(LIBIDN_1.0) is needed by wget-1.13.4-r14.3.core2 Disable iri/idn support to fix it. Signer-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03man-pages: upgrade to 3.42Constantin Musca1
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03lsof: upgrade to 4.86Constantin Musca1
License checksum change due to the modification of the pre-compiled binaries section (no change in the license part). Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-*: add RPROVIDES for backwards compatibilityPaul Eggleton2
Allow references to the old task packages to continue to work. This does not add RPROVIDES for everything, just those packages that are likely to have been referred to. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03core-image-basic: tidy upPaul Eggleton1
Set a more appropriate DESCRIPTION and remove commented-out line. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-core-lsb: reworkPaul Eggleton1
Create package groups covering the Core, Desktop, Runtime Languages sections of the LSB specification 4.1. Most of the packages were just moved around or copied in from packagegroup-core-basic (which is currently included in LSB images anyway) with the eventual aim of having the LSB package groups be completely independent as well as following the specification as closely as possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-core-basic: tidy upPaul Eggleton1
* Remove packagegroup-core-basic-rpm - we already have a mechanism for ensuring that packaging tools are installed on the target if desired; we don't need a package group to bring them in as well (especially if packagegroup-core-basic is used with other packaging systems). * Remove the poorly-named packagegroup-core-base-utils: we already get busybox via packagegroup-core-boot. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-*: set reasonable SUMMARY/DESCRIPTIONPaul Eggleton1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-core-console: removePaul Eggleton4
This provides one package group, packagegroup-core-apps-console, which is usually brought in by adding "apps-console-core" to IMAGE_FEATURES. Aside from the naming inconsistencies, this is a group of mostly unrelated packages, none of which are actually "apps". Handling each one: * dbus: should mostly be brought in by package runtime dependencies * avahi-daemon: if you are using packagegroup-base (as all images that inherit from core-image do) this is brought in by having "zeroconf" in DISTRO_FEATURES. * portmap: not very useful by itself; should be brought in by selecting NFS server/client through other means. * psplash (or whatever SPLASH is set to): this has been changed to be an explicit item "splash" in IMAGE_FEATURES. Since this is a fairly fundamental feature, a piece of code has been added to automatically handle this for images still using apps-console-core (and show a warning). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-*: drop LIC_FILES_CHKSUMPaul Eggleton2
Since package groups don't actually fetch or distribute anything and we no longer run do_configure we don't need to set this variable anymore. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03packagegroup-*: change to inherit from packagegroup.bbclassPaul Eggleton2
Also clean out items already handled by that class (dev/dbg packages, ALLOW_EMPTY, etc.) 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 Eggleton8
"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-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-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2
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-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-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-28ethtool: package update 3.4.1 -> 3.5Constantin Musca1
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
2012-08-25wget: upgrade to 1.14Constantin Musca4
remove-gets.patch: removed - included in the new version Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-25task-core-lsb: Don't pull in eglibc-pic via RDEPENDSAndy Ross1
The task-core-lsb-runtime-add subpackage includes eglibc-pic as an RDEPEND. That's incorrect, eglibc-pic is nothing but 22MB of static libraries and should never appear as a runtime dependency. Signed-off-by: Andy Ross <andy.ross@windriver.com>
2012-08-24iputils: chmod in pkg_postinst are redundantSaul Wold1
With pseudo the cmod in pkg_postinst is actaully redundant since the do_install uses install -m 4555 and pseudo is able to track that between the install time and the rootfs package installation, so the perms are correct. [YOCTO #2894] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-24mc: upgrade to 4.8.4Andrei Dinu1
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
2012-08-24foomatic-filters: upgrade to 4.0.17Constantin Musca1
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
2012-08-23cups: disable pdftopsSaul Wold2
This ensure a reliable built without host contamination, this will also disable the usage of ghostscript. [YOCTO #2966] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19libpam: Fix missing DESTDIR for a mkdir causing build failuresRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-19libpam: Update recipes from 1.1.5 -> 1.1.6Khem Raj2
Drop include-sys-resource.patch already fixed upstream LIC_FILE_CHKSUM change is due to deletion of space in COPYING file see http://git.fedorahosted.org/cgit/linux-pam.git/commit/COPYING?id=1814aec611a5f9e03eceee81237ad3a3f51c954a Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-17iptables: upgrade to 1.4.15Constantin Musca1
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15man: make man actually work by installing custom man.configKoen Kooi2
The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom. Before: root@beaglebone:~# man man sh: /usr/bin/gtbl: No such file or directory sh: line 0: echo: write error: Broken pipe gunzip: write: Broken pipe gunzip: error inflating sh: line 0: echo: write error: Broken pipe sh: line 0: echo: write error: Broken pipe After: root@beaglebone:~# man man MAN(1) Manual pager utils MAN(1) NAME man - an interface to the on-line reference manuals SYNOPSIS man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I] [--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi- cation] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] [[section] page ...] ... man -k [apropos options] regexp ... man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ... man -f [whatis options] page ... man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ... man -w|-W [-C file] [-d] [-D] page ... man -c [-C file] [-d] [-D] page ... man [-hV] Check for config name: root@beaglebone:~# rm /etc/man.config root@beaglebone:~# man man Warning: cannot open configuration file /etc/man.config No manual entry for man As a bonus a bunch of references to the buildhost get removed from the config file. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15man: fix RDEPENDS and reformat recipeKoen Kooi1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15pigz: Update to upstream version 2.2.5Björn Stenberg2
Also added beginline/endline to LIC_FILES_CHKSUM to not track whole pigz.c. Signed-off-by: Bjorn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15sysklogd: removed tabs from syslog.confMihai Lindner2
Yocto #2926: syslog.conf should not have tabs within the selector field. Removed tabs from the selector field of syslog rules. Tabs or spaces should be used, in syslog.conf, only when separating selectors from actions. Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15at 3.1.13: get 'at' depends on 'flex-native' explicitlyWenzong Fan1
'at' needs flex to generate source file lex.yy.c, but it doesn't depend on flex-native directly; This maybe cause a do_compile failure if flex-native is not built or included in project. Error message is: error: lex.yy.c: No such file or directory Get 'at' depends on flex-native to fix this potential issue. [YOCTO #2919] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15net-tools: cleanup update-alternatives deprecated codeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15gawk: cleanup update-alternatives deprecated codeSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15sed: cleanup update-alternatives deprecated codeSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15wget: cleanup update-alternatives deprecated codeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>