summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
AgeCommit message (Collapse)AuthorFiles
2012-11-14bash: fix mkbuiltins build failureChristopher Larson2
On hosts with FORTIFY_SOURCES, stringize support is required, as it's used by the macros to wrap functions (e.g. read and open in unistd.h). Those wrappers use the STRING() macro from unistd.h. A header in the bash sources overrides the unistd.h macro to 'x' when HAVE_STRINGIZE is not defined, causing the wrappers to generate calls to 'xread' and 'xopen', which do not exist, resulting in a failure to link. Assume we have stringize support when cross-compiling, which works around the issue. It may be best for upstream to either give up on supporting compilers without stringize support, or to not define STRING() at all when FORTIFY_SOURCES is defined, letting the unistd.h one be used, instead. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12meta: remove redundant _FOR_BUILD variablesRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-extended: replace virtclass-native(sdk) with class-native(sdk)Robert Yang9
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-30polkit: remove license.html from LIC_FILES_CHKSUMPhil Blundell1
This is a generated file and gets removed by "make clean" which then causes subsequent rebuilds to fail. Also, the content in this file is taken verbatim from COPYING (which is already in LIC_FILES_CHKSUM) so checking it for a second time doesn't accomplish much. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-27ltp: add perl to RDEPENDSSaul Wold1
Some of the ltp scripts are perl, this was not seen in the past because ltp is normally installed in an -sdk build with perl already there. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-25diffutils: fix rebuildsRoss Burton1
If diffutils rebuilds it tries to remove with "rm" files that don't exist anymore, resulting in an error. Use rm -f so the removal always succeeds. 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-10-24shadow-securetty: add ARM AMBA serial portsMarcin Juszkiewicz2
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-19PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa1
* to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa2
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19diffutils: Fix gplv2 version to work with recent gettextRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19sed: Fix gplv2 version to work with recent gettextRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19grep: Fix gplv2 version to work with recent gettextRichard Purdie3
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18sysklogd: fix update-rc.d handlingAndy Ross1
The sysklogd recipe had a cut-n-paste version of the update-rc.d.bbclass code which didn't work, but this was hidden because all images contain the busybox version which does. Building a busybox-free image unmasked the issue and syslogd wouldn't start on first boot. The comments seem to be wrong/stale. AFAICT update-rc.d and update-alternatives work fine with each other, though there is an ordering constraint (alternatives must be specified last, so it "wraps" update-rc.d). This version builds and works both with and without busybox. Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18texi2html: Add check for directory existenceRichard Purdie1
Without this, if configure fails, it won't be able to run again as the directory already exists. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18diffutils: Remove rather bizzare gettext macrosRichard Purdie1
diffutils has a rather confused set of getext macros with different names and strange conflicting version requirements. This patch removes the problematic macros allowing it to 'gettextize' to the latest standard gettext code without issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18chkconfig: pass CFLAGS to MakefileJoe Slater1
The environment CFLAGS is not used by the chkconfig Makefile, so debug and optimization options are ignored. So, we use RPM_OPT_FLAGS to pass CFLAGS into Makefile. Upstream-Status: Inappropriate [configuration] Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-03bzip2 and busybox: Incorrect LICENSEElizabeth Flanagan1
The license for bzip2 is not quite BSD. I have an email out to the maintainer to see if we can utilize a common BSD license (or something else) however, for now, we should revert bzip2 back to a special license. As busybox also utilizes a lightly modified bzip2, this also effects busybox. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02gzip: The native version should provide gzip-replacement-nativeRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02Cleanup: fix PN == BPN casesMark Hatle1
When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-28ltp: add dependency libcapKang Kai1
Similar to libaio, libcap is another dependency of ltp. If libcap has been done populate_sysroot but rpm/ipk package is not created, ltp will be compiled with libcap. So when install ltp to a image, it complains that package libcap is not found. [Yocto #2973] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-26at: atd remove useless --make-pidfile option.Xin Ouyang2
For start-stop-daemon, --make-pidfile is used when starting a program that does not create its own pid file. atd would create its own /var/run/atd.pid, so remove this option. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24lsbtest: update list fileKang Kai2
Update the lsbtest's list file that we can download the latest sub-packages of LSB suite 4.1.0 and then run the test with them. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24bash: Make it possible to run bash 3.2.48 instead of 4.2.Martin Ertsaas3
bash-3.2.48 did not provide the linking from sh to bash, making it unusable. Moving the license part out of the bash.inc file, and into bash_4.2.bb file makes us able to use that file also for bash_3.2.48.bb, which makes maintaining both at the same time a lot easier. Signed-off-by: Martin Ertsaas <mertsas@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>