summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* bootimg: Fix a math thinko in the block count calculationDarren Hart2012-01-251-1/+1
| | | | | | | | | | | | | Fixes [YOCTO #1852] ... again. The conversion from sectors to blocks was multiplying by 2 instead of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The result was images being much larger than intended. Reported-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/sstatesig.py: Exclude common machine specific dependencies from task ↵Richard Purdie2012-01-251-0/+4
| | | | | | | | | | | | signatures Where we have machine specific recipes with well defined behaviour, it makes no sense to rebuild recipes with these as dependencies whenever the machine changes. This patch lists those well behaved recipes and excludes them from the task signatures so we can change MACHINE without invalidating existing PACKAGE_ARCH binaries. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Split securetty into a separate recipeRichard Purdie2012-01-252-20/+31
| | | | | | | | | | | | | The securetty file is machine specific whilst the rest of the shadow recipe is not. Unfortunately making the recipce machine specific is both inefficient and also causes dependency problems since parts of the system such as the useradd code depend upon it and this introduces a machine specific element to sstate checksums which should not be machine specific. To resolve this, this patch separates out the file into a separate recipe meaning the machine specific components are isolated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-common.inc: Fix commentRichard Purdie2012-01-241-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-common.inc: Ensure WORKDIR doesn't adversly affect sstate checksumsRichard Purdie2012-01-241-0/+4
| | | | | | | | Changes in WORKDIR were changing the do_patch stamps between gcc-crosssdk and gcc-cross. This excludes the variable since in this case, we don't need want those changes to affect the signatures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: fix a quote in descriptionNitin A Kamble2012-01-241-2/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* ltp: disable elf binary strippingNitin A Kamble2012-01-241-1/+5
| | | | | | | | | | | Otherwise the ltp tests ldd01 & nm01 fail due to missing stripped information. This Fixes these bugs: [YOCTO #1922] [YOCTO #1923] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* distro_tracking.inc: update the info for recipes upgraded recentlyShane Wang2012-01-241-49/+54
| | | | | | | | This patch is to update the information for the recipes upgraded recently, including strace, pciutils, ed, ofono, iproute2, bluez4, bluez-hcidump, kexec-tools, tremor, iptables, polkit, libxcb, xcb-proto, pixman and util-macros. And add the new recipe for mobile-broadband-provider-info, which is depended on by ofono v1.3. Signed-off-by: Shane Wang <shane.wang@intel.com>
* libsoup: update its info in distro_tracking.incShane Wang2012-01-241-1/+1
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* strace: upgrade to 4.6Shane Wang2012-01-242-4/+4
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* pciutils: upgrade to 3.1.9Shane Wang2012-01-246-37/+38
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* ed: upgrade to 1.6Shane Wang2012-01-242-5/+5
| | | | | | | | | | | | | | | | | | | | | | This patch is to upgrade ed to 1.6, and the change of license checksum is because the diff between two ed.h files: 3c3,4 < Copyright (C) 1993, 1994, 2006, 2007, 2008, 2009, 2010 --- > Copyright (C) 1993, 1994 Andrew Moore, Talke Studio > Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 the diff between two main.c files: 2c2 < Copyright (C) 1993, 1994, 2006, 2007, 2008, 2009, 2010 --- > Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 46d45 Signed-off-by: Shane Wang <shane.wang@intel.com>
* ofono: upgrade to 1.3Shane Wang2012-01-242-3/+3
| | | | | | This patch is to upgrade ofono to 1.3 and the v1.3 ofono depends on mobile-broadband-provider-info. Signed-off-by: Shane Wang <shane.wang@intel.com>
* mobile-broadband-provider-info: bring a new recipe into pokyShane Wang2012-01-241-0/+13
| | | | | | | | | | | | | | | This patch is to bring a new recipe mobile-broadband-provider-info into poky because the latest version ofono v1.3 depends on it. And the patch is imported from the OpenEmbedded server (http://git.openembedded.org/openembedded/tree/recipes/mobile-broadband-provider-info) as of commit ids commit 9d612c4bb9bef813bdef9e198efc5949d51905eb commit 84bf98dc6876ef6be8a4ee3744924e922253b53e commit 30a913149de95ecafe4ef87bd50cfdbd6737fe1e commit 7d2be53866d317bb032c63548f504f63107b4c2c And upgrade to the latest. Signed-off-by: Shane Wang <shane.wang@intel.com>
* iproute2: upgrade to 3.2.0Shane Wang2012-01-243-26/+21
| | | | | | | | This patch is to upgrade iproute2 to tag 3.2.0. And the tag is not fully testd by the upstream and has build error. We use the next commit of tag 3.2.0 which fixs the error. Signed-off-by: Shane Wang <shane.wang@intel.com>
* bluez4: upgrade to 4.98Shane Wang2012-01-242-3/+3
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* bluez-hcidump: upgrade to 2.2Shane Wang2012-01-241-2/+2
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* kexec-tools: upgrade to 2.0.3Shane Wang2012-01-243-54/+13
| | | | | | | This patch is to upgrade kexec-tools to 2.0.3. And since fix_for_compiling_with_gcc-4.6.0.patch is there in 2.0.3, it is removed. Signed-off-by: Shane Wang <shane.wang@intel.com>
* tremor: upgrade to 18163 (20120122)Shane Wang2012-01-241-1/+1
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* iptables: upgrade to 1.4.12.2Shane Wang2012-01-242-3/+22
| | | | | | | This patch is to upgrade iptables to 1.4.12.2, and introduce a patch not to check unknown symbols. Otherwise, when it is compiled, it will report "libxtables.so.7" from LD_PRELOAD cannot be preloaded. Signed-off-by: Shane Wang <shane.wang@intel.com>
* polkit: upgrade to 0.104Shane Wang2012-01-243-3/+3
| | | | | | | Upgrade polkit to 0.104. And fix the typo for "endline" and the checksum. Signed-off-by: Shane Wang <shane.wang@intel.com>
* libxcb: upgrade to 1.8Shane Wang2012-01-241-3/+3
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* xcb-proto: upgrade to 1.7Shane Wang2012-01-243-19/+4
| | | | | | | Upgrade xcb-proto from 1.6 to 1.7 Since xcb-proto-libdir.patch is there, the file is removed. Signed-off-by: Shane Wang <shane.wang@intel.com>
* pixman: upgrade to 0.24.2Shane Wang2012-01-241-2/+2
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* util-macros: upgrade to 1.16.1Shane Wang2012-01-241-2/+2
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* gcc: move shared .a to their own packageSaul Wold2012-01-242-3/+8
| | | | | | | | Keep the *_nonshared.a in the libgcc-dev package as required for linking, moved the other *.a libraries into their respective packages (libstdc++ and libssp). Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libgcc: Seperate out libgcov.a from libgcc-devSaul Wold2012-01-242-2/+4
| | | | | | | libgcov.a is moved to it's own libgcov-dev package, instead of being part of libgcc-dev. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* binutils: refactor packages for staticdevSaul Wold2012-01-242-2/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: refactor packages for staticdevSaul Wold2012-01-241-3/+6
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* opkg: refactor packages for staticdevSaul Wold2012-01-241-3/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* opkg: move common code & metadata into opkg.inc to reduce code duplicationSaul Wold2012-01-243-85/+44
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tcp-wrappers: refactor packages for staticdevSaul Wold2012-01-241-4/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* syslinux: refactor packages for staticdevSaul Wold2012-01-241-2/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libtool: refactor packages for staticdevSaul Wold2012-01-241-4/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gstreamer: refactor packages for staticdevSaul Wold2012-01-243-7/+9
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tiff: refactor packages for staticdevSaul Wold2012-01-241-3/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mpeg2dec: refactor packages for staticdevSaul Wold2012-01-241-4/+6
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* apr-util: refactor packages for staticdevSaul Wold2012-01-241-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sqlite3: refactor packages for staticdevSaul Wold2012-01-242-3/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libxft: refactor packages for staticdevSaul Wold2012-01-241-6/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysfsutils: refactor packages for staticdevSaul Wold2012-01-241-4/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libsoup: refactor packages for staticdevSaul Wold2012-01-241-4/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* augeas: refactor packages for staticdevSaul Wold2012-01-242-4/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* avahi-ui: refactor packages for staticdevSaul Wold2012-01-241-3/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* apmd: refactor packages for staticdevSaul Wold2012-01-241-4/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Fix Upstream-Status entriesSaul Wold2012-01-249-7/+11
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* default-distrovars.inc: remove COMMERCIAL_LICENSE et alTom Zanussi2012-01-241-5/+0
| | | | | | | The global COMMERCIAL_LICENSE mechanism has been obsoleted by per-recipe LICENSE_FLAGS, so remove the related variables. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* base.bbclass: replace COMMERCIAL_LICENSE code with LICENSE_FLAGS codeTom Zanussi2012-01-241-6/+6
| | | | | | | | The COMMERCIAL_LICENSE mechanism has been superseded by LICENSE_FLAGS so remove the code that implements COMMERCIAL_LICENSE and replace it with the corresponding LICENSE_FLAGS version. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* Add LICENSE_FLAGS to packages mentioned in COMMERCIAL_LICENSETom Zanussi2012-01-248-0/+9
| | | | | | | | | | | | | | | | Per-recipe LICENSE_FLAGS replace the global COMMERCIAL_LICENSE list; add LICENSE_FLAGS varables to each the recipes mentioned in that list: - lame - gst-fluendo-mp3 - gst-openmax - gst-plugins-ugly - libmad - libomxil - mpeg2dec - qmmp Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* license.bbclass: add support for LICENSE_FLAGSTom Zanussi2012-01-241-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LICENSE_FLAGS are a per-recipe replacement for the COMMERCIAL_LICENSE mechanism. In the COMMERCIAL_LICENSE mechanism, any package name mentioned in the global COMMERCIAL_LICENSE list is 'blacklisted' from being included in an image. To allow the blacklisted package into the image, the corresponding packages need to be removed from the COMMERCIAL_LICENSE list. This mechanism relies on a global list defined in default-distrovars.inc. The LICENSE_FLAGS mechanism essentially implements the same thing but turns the global blacklist into a per-recipe whitelist. Any recipe can optionally define one or more 'license flags'; if defined, each of the license flags defined for a recipe must have matching entries in a global LICENSE_FLAGS_WHITELIST variable. The definition of 'matching' is simple, but there are a couple things users need to know in order to correctly and effectively use it. Before we test a flag against the whitelist, we append _${PN} to it, thus automatically making each LICENSE_FLAG recipe-specific. We then try to match that string against the whitelist. So if the user specifies LICENSE_FLAGS = 'commercial' for recipe 'foo', the string 'commercial_foo' should be specified in the whitelist in order for it to match. However, the user can also broaden the match by putting any '_'-separated beginning subset of a LICENSE_FLAG in the whitelist, which will also match e.g. simply specifying 'commercial' in the whitelist would match any expanded LICENSE_FLAG starting with 'commercial' such as 'commercial_foo' and 'commercial_bar' which are the strings that would have been automatically generated if those recipes had simply specified LICENSE_FLAGS = 'commercial' This allows for a range of specificity for the items in the whitelist, from more general to perfectly specific. So users have the choice of exhaustively enumerating each license flag in the whitelist to allow only those specific recipes into the image, or of using a more general string to pick up anything matching just the first component(s). Note that this scheme works even if the flag already has _pn appended - the extra _pn is redundant, but doesn't affect the outcome e.g. a license flag of 'commercial_1.2_foo' would turn into 'commercial_1.2_foo_foo' and would match both the general 'commercial' and the specific 'commercial_1.2_foo' as expected (it would also match commercial_1.2_foo_foo' and 'commercial_1.2', which don't make much sense as far as something a user would think of specifying in the whitelist). For a versioned string, the user could instead specify 'commercial_foo_1.2', which would turn into 'commercial_foo_1.2_foo', but which would as expected allow the user to pick up this package along with anything else 'commercial' by specifying 'commercial' in the whitelist, or anything with a 'commercial_foo' license regardless of version by using 'commercial_foo' in the whitelist, or 'commercial_foo_1.1' to be completely specific about package and version. The current behavior of COMMERCIAL_LICENSE is replicated as mentioned above by having the current set of COMMERCIAL_LICENSE flags implemented using LICENSE_FLAGS = "commercial". That being the case, the current COMMERCIAL_LICENSE can equivalently be specified in the new scheme by putting the below in local.conf: # This is a list of packages that require a commercial license to ship # product. If shipped as part of an image these packages may have # implications so they are disabled by default. To enable them, # un-comment the below as appropriate. #LICENSE_FLAGS_WHITELIST = "commercial_gst-fluendo-mp3 \ # commercial_gst-openmax \ # commercial_gst-plugins-ugly \ # commercial_lame \ # commercial_libmad \ # commercial_libomxil \ # commercial_mpeg2dec \ # commercial_qmmp" The above allows all of the current COMMERCIAL_LICENSE packages in - to disallow a particular package from appearing in the image, simply remove it from the whitelist. To allow them all in, you could also specify LICENSE_FLAGS_WHITELIST = "commercial". Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>