summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* boot-directdisk/bootimg/image-vmdk: remove more nostamps for image generationRobert Yang2013-05-103-3/+0
| | | | | | | | | | | | | | | | | | | We have removed the nostamps for do_rootfs and do_build, so it seems reasonable to remove the stamps for do_bootimg, do_bootdirectdisk and do_vmdkimg. The current problem is that the do_vmdkimg always re-run, but the do_rootfs may not, so the code like below in the do_rootfs function doesn't re-run and cause problems (the symlink exists when the do_vmdkimg creates the symlink again): if d.getVar('IMAGE_LINK_NAME', True): cmds += "\trm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*" (From OE-Core rev: 45c7dab5d51065c7b24ab5292f8e9d3104eb0626) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: make FILES package-specificTom Zanussi2013-05-101-1/+1
| | | | | | | | | | | | Fix QA warnings seen when using 'traditional' kernel recipes e.g.: WARNING: QA Issue: .../recipes-kernel/linux/linux_3.0.18.bb: Variable FILES is set as not being package specific, please fix this. (From OE-Core rev: 799c16ed317aed7638e264ee2f92e4b722f1b011) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc/machine-sdk: Drop SDK_GLIBC_ADDONSRichard Purdie2013-05-094-7/+0
| | | | | | | | | We no longer change GLIBC_ADDONS per target so we no longer need to special case the SDK settings for it either. (From OE-Core rev: 3fb0e792600b5adb58bc5fca90d8605c1c76280f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* imagetest-qemu: Fix indentationRichard Purdie2013-05-091-7/+7
| | | | | | (From OE-Core rev: 23ba10c61ff26bffb1a84972eb4e0bfb03561f89) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* class/lib: Fix up various file access methodsRichard Purdie2013-05-0912-74/+79
| | | | | | | | | | | | | | There are various bits of cruft that have built up around our file accesses. This patch cleans some of them up, specifically: * Remove pointless "from __builtin__ import file" * Use open(), not file() * Wrap file usage in a with container to ensure files are closed * Add missing .close() calls in some cases (From OE-Core rev: a43e0a8ecd0441131e929daf998c3cd454d9c8f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildstats: Drop spurious open() callRichard Purdie2013-05-091-1/+0
| | | | | | | | | This file is already opened a few lines previously, so drop the duplicated call. (From OE-Core rev: 4808629faa1222b31f92a3e410e06adb8e081293) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd: Use modern join syntaxRichard Purdie2013-05-091-1/+1
| | | | | | | | | string.join() is deprecated syntax and doesn't work under python3 so use the modern sytax instead. (From OE-Core rev: 402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: inherit gettextSaul Wold2013-05-091-2/+2
| | | | | | | | | | | | powertop uses gettext during config time and at build time to generate the messages, so really should inherit gettext [YOCTO #4470] (From OE-Core rev: 9eb94ba3d98bf6196eb779590f2fb842ec664177) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/lib: Fix getcmdstatus breakageRichard Purdie2013-05-096-11/+20
| | | | | | | | | I mistakenly thought subprocess had getcmdstatus in python 2. It doesn't so lets add a wrapper and have this work in both worlds. (From OE-Core rev: 2253e9f12734c6e6aa489942b5e4628eca1fa29d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Use casting to ensure valid comparisionRichard Purdie2013-05-091-2/+2
| | | | | | | | | python3 is stricter about type comparisions so add an explicit cast to int() to ensure this code is portable. (From OE-Core rev: b9a1b9ad55c0f9fec082ffa37e576d8fd664becd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Drop unused/obsolete importRichard Purdie2013-05-091-1/+1
| | | | | | (From OE-Core rev: e501a98e87b8854040ac4081326871d7d6397917) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image/kernel-module-split/eglibc-ld.inc: Remove has_key() usageRichard Purdie2013-05-095-6/+6
| | | | | | | | | The has_key() attribute has been removed in python 3 since there is better syntax available. Use the improved syntax. (From OE-Core rev: 3dff13793e875ff58cc38c4a960caca9b6969843) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity/patch.py: Remove commands module usageRichard Purdie2013-05-095-15/+14
| | | | | | | | | The commands module is removed in python3. Use the subprocess module instead and the pipes module to replace the mkargs usage. (From OE-Core rev: e2e1dcd74bc45381baccf507c0309dd792229afe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: Open file in binary modeRichard Purdie2013-05-091-1/+1
| | | | | | | | | We open the file we're writing to in binary mode so open the input stream with the same mode so things match. This avoids errors with python3. (From OE-Core rev: 4f47b3a4726dd47e8a6db228fcaf25d1890e3e52) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/lib/oe: Replace StandardError with ExceptionRichard Purdie2013-05-092-3/+3
| | | | | | | | StandardError is removed in python3, replace with Exception class instead. (From OE-Core rev: a37ae30b9766df346ca57755530024a0b7d5f86b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/lib: Update to use print as a function callRichard Purdie2013-05-093-6/+8
| | | | | | | | | In python 3 print is a function call. In some cases bb.note is a more appropriate call to make. (From OE-Core rev: 754874e68d1037c76fc4cc7d35d3fa12946d00f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* metadata_scm: Replace deprecated operatorRichard Purdie2013-05-091-2/+2
| | | | | | | | The <> operator is deprecated, use != instead which is equivalent. (From OE-Core rev: dde7af5f6c769eae721b1ee18462b841c8ea3277) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Use open(), not file()Richard Purdie2013-05-091-12/+12
| | | | | | | | file() syntax is removed in python 3, use open() instead. (From OE-Core rev: b2d10f15db23246e3957b69d77433f87674928bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/recipes/lib: Fix various python whitespace issuesRichard Purdie2013-05-098-34/+34
| | | | | | | | | There are some left over tab characters in the python functions. This removes them and resolves python 3 errors. (From OE-Core rev: fafeb381c48291fa65c634c01c244843c8d7fad3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Use modern exception raising syntaxRichard Purdie2013-05-095-9/+9
| | | | | | | | | Modern expection rasing syntax is function call format, convert to this to keep python 3 happy and model correct coding style in the core. (From OE-Core rev: f4b382754603d3f1caa13824bcc8d06b568bbc59) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildstats: Update to ensure files are closedRichard Purdie2013-05-091-15/+16
| | | | | | | | | python3 doesn't like files being left open. This updates the code style to ensure file are closed. (From OE-Core rev: ec74285bd2108f12f33fc8ac0dc1d124ab48be21) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clases/lib: Use modern exception syntaxRichard Purdie2013-05-099-15/+19
| | | | | | | | | Update older code to use modern exception handling syntax which is the form accepted by python 3. (From OE-Core rev: b010501cd089e649a68f683be0cf4d0aac90fbe3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal-initramfs: Remove odd quote charactersRichard Purdie2013-05-091-1/+1
| | | | | | | | | The quote characters present trigger python 3 characters type warnings, we don't need them so replace them with normal quote characters. (From OE-Core rev: 3c104443506cb89d72944e46096a94a80838a707) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Add xkbcomp to RRECOMMENDSStefan Stanacar2013-05-091-1/+1
| | | | | | | | | | | OE-Core commit bdcc5e8f1286d288baf410458efc39a59b68d751 removed xkbcomp from RDEPENDS for xkeyboard-config but X server still needs it otherwise it fails to start. (From OE-Core rev: f2330ebc3071d780cbc6d1ddab5c54bfadf8fffc) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-cross.inc: Remove info generationKhem Raj2013-05-091-0/+3
| | | | | | | | | | Some distros have newer makeinfo which does not go well with anything below gcc 4.8, this fix avoids regenerating info files (From OE-Core rev: 50ac2ed5299e2b47b2f3fd9c9cde9d733d2f8d9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg.bbclass: add comment for NOHDDRobert Yang2013-05-091-0/+1
| | | | | | | | | | Add comment for NOHDD which is used for skipping building the HDDIMG if set to 1 (From OE-Core rev: 9843ad9d783f68b97fedfe5b435528538bb26c1c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: upgrade to 2.12.23Ross Burton2013-05-095-129/+6
| | | | | | | | | | | | | | | Importantly, this fixes CVE-2013-1619. Upstream doesn't use GNU as a host, so update the SRC_URI. remove-gets.patch isn't required anymore, obsolete_automake_macros.patch is merged upstream, and gnutls_fix_for_automake_1.12.1.patch doesn't seem to be needed. It was merged and reverted upstream, and my build without it succeeded. (From OE-Core rev: 9a6395076984350b1dd7005453f97233bbb43132) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofileui(-server): upgraded to GIT revision f168b8bfBogdan Marinescu2013-05-093-27/+3
| | | | | | | | | | 'obsolete_automake_macros.patch' is not needed anymore, because it was integrated in the specified commit. (From OE-Core rev: 4c7120a24cef2ff6b9df821c69153363c938ac77) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: remove trailing slash from prefixPaul Barker2013-05-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | The trailing slashs on "Prefix=${prefix}/" and "-prefix ${prefix}/" are passed through to the generated pkgconfig files and may be joined to paths like "/include" yielding a final path with a double forward-slash (eg. "/usr//include"). This may end up in the debugging symbols in other applications or libraries which depend on qt4 which in turn causes the debugedit program to fail with the message "canonicalization unexpectedly shrank by one character" when it tries to replace the double forward-slash with a single forward-slash. Thus the function split_and_strip_files fails and ultimately do_package fails. As this slash is removed from the prefix it is added into the regular expression used to fix up pkgconfig files later in the recipe. This error was seen in vlc in meta-openembedded and should be solved by this change in openembedded-core. (From OE-Core rev: 61a7329a5c1f0b84f447256134f5a77917f07f38) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: tabs -> spacesMarcin Juszkiewicz2013-05-091-1/+1
| | | | | | | (From OE-Core rev: 8ec07ae2ebfd97aa1413a3c3be0dc612eee7e929) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: AArch64 lacks lttng supportMarcin Juszkiewicz2013-05-091-0/+1
| | | | | | | (From OE-Core rev: 2288c2a9abe828ffb0bbd527105fb633ac818354) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* craklib:fix testnum and teststr failedHongxu Jia2013-05-082-1/+55
| | | | | | | | | | | | | | | | | | | | | Error log: ... $ ./testnum (null).pwd.gz: No such file or directory PWOpen: No such file or directory $ ./util/teststr (null).pwd.gz: No such file or directory PWOpen: No such file or directory ... Set DEFAULT_CRACKLIB_DICT as the path of PWOpen (From OE-Core rev: 9c78d2ef5291b29fa313f9d4bf6a81c395207d69) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: fix default dictionary should be generated for target endiannessHongxu Jia2013-05-082-1/+324
| | | | | | | | | | | | | | | The previous dict files are NOT byte-order independent, in fact they are probably ARCHITECTURE SPECIFIC. Create the dict files in big endian, and convert to host endian while load them. This could fix the endian issue on multiple platform. [Bug #4419] (From OE-Core rev: 075d5a19bb56b0bf492e7dc7f453c2e23139104b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.8: udpate to v3.8.11Bruce Ashfield2013-05-083-15/+15
| | | | | | | | | | Update the linux-yocto-3.8 SRCREVs to the korg 3.8.11 -stable release. (From OE-Core rev: b60d04331f84e06fae6c074acab045c3e003929b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: update to v3.4.43, ltsi-65311d8 and v3.4.42-rt56Bruce Ashfield2013-05-083-15/+15
| | | | | | | | | | | Updating the 3.4 kernel trees to the latest korg, LTSI and -rt stable releases. (From OE-Core rev: 98446039e210936a32e70559a379131e8e0d832f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: anchor and delimit regexsBruce Ashfield2013-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the kern-tools SRCREV with the following fix: Updateme is responsible for updating an existing meta-series with new patches, configs and tree manipulations. To do this, it first checks for an existing board description and generates one if required. It then searches for features and fragments to be applied for the tree. There were two problems: - A top level board description is detected via the presence of "define" directives that indicate the board name, the arch and kernel type. The test for define would match on patches or fragments with 'define' in their name, and would incorrectly use that file as the top level board description. This is fixed by ensuring that only defines at the start of a line, or preceded by whitepace match. - When searching for features that were indicated as 'addon' or 'optional', the search would find, and apply, any feature with the passed name as substring versus an exact match. This is fixed by ensuring that the matched feature name is /<feature name> versus <feature name> (From OE-Core rev: 57ae1e412a35d827f84bf9b1f48747bf703f84b7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: iwlwifi, ext4, brtfs warning and -rt fixesBruce Ashfield2013-05-083-9/+9
| | | | | | | | | | | | | | | | Updating the yocto 3.4 SRCREVs for the following fixes: 206d4bb powerpc/perf: run irq-work under softirq context in rt 8a969f9 arm/perf: run irq-work under softirq context in rt 79ba946 iwlwifi: fix unused variable warning 59d93fa ext4: remove unused variable in ext4_update_super() 2385eee Btrfs: fix compile warnings in extent_io.c (From OE-Core rev: 96113b28031583af1dd42fe7660a9d5ced36d1b6) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: fix fetch path to use BPSaul Wold2013-05-081-1/+1
| | | | | | | | | This is so the multilib prefix is not used (From OE-Core rev: 50e26e553152485461d096463db0fb4f4fa826d6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONFKhem Raj2013-05-081-1/+1
| | | | | | | | | | | | | | | Fixes errors seen while compiling gcc 4.8 for target, errors like | /home/khem/work/angstrom/build/tmp-angstrom_next-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/libatomic/cas_n.c:125:1: fatal error: opening dependency file .deps/cas_1_.lo.Ppo: No such file or directory which are due to disabled dependency tracking but dependency files being still generated while compiling libatomics. (From OE-Core rev: c83cbc80af078d7be5deec44bba6e0ca29a5ee1a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default.inc: Pin binutils to 2.23.2Khem Raj2013-05-081-1/+1
| | | | | | | | (From OE-Core rev: 27759800b020ad52c2e91b8eea3acf9216860a0a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: backport whitespace fixSaul Wold2013-05-082-0/+51
| | | | | | | | | This is a backport of a whitespace skipping issue: PR14987 and PR14887 (From OE-Core rev: f4312eaeb6eb2b7196be2b968e2e468e705fb2cf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade 2.23.1 -> 2.23.2Khem Raj2013-05-0835-900/+2
| | | | | | | | (From OE-Core rev: 202f46b139ab20079e97cdeb147d59e23bcdfe01) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: Update to 2.0.9Jonathan Liu2013-05-082-24/+3
| | | | | | | | | | fix_parallel_build_issue.patch is now part of upstream. (From OE-Core rev: 87cb30d988843ab1159d23789cd334aaf2a77e34) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Ensure kernel nfsd module is enabledSaul Wold2013-05-081-0/+3
| | | | | | | | | | This will ensure that qemu images that include the nfs-server package have the kernel feature correctly enabled (From OE-Core rev: 57c718c6288f2a2538173cdd3d401d70f939a40a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross: gdb-cross requires readline-nativeMike Crowe2013-05-081-1/+1
| | | | | | | | | | | | gdb depends on readline so gdb-cross needs to depend on readline-native to build successfully. (From OE-Core rev: ee132d68220d7f515760d47db57e00d1d8263a1a) Signed-off-by: Mike Crowe <mac@mcrowe.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgnome-keyring: remove, nothing in oe-core uses this anymoreRoss Burton2013-05-082-20/+0
| | | | | | | | (From OE-Core rev: d5f985f51b250b88dd910ca3a1fc8f2992271e60) 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>
* gnome-keyring: remove, nothing uses it in oe-coreRoss Burton2013-05-083-48/+0
| | | | | | | | (From OE-Core rev: fbefbf60fd18dae135b96d0bfd2db832f568fea9) 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>
* libsoup: upgrade to 2.42.1Ross Burton2013-05-081-7/+7
| | | | | | | | | | | | | | Upgrade to the latest stable release, and fix the dependencies. gnome-keyring use has been removed from libsoup, and sqlite3 is now a hard dependency. The optional libsoup-gnome library is now a small stub, so enable it by default but allow it to be disabled via PACKAGECONFIG. (From OE-Core rev: 3f093e24e78cc8a553bebc03ec9f3a32700981e6) 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>
* packagegroup-core-x11-sato: Add udev-extraconf to maintain compatibilitySaul Wold2013-05-081-0/+1
| | | | | | | | | | Since we have removed udev-extraconf as a RRECOMMENDS in udev add it back here to maintain compatibility (From OE-Core rev: 8e2df16e9ab7433a868da2a3db4a25441b92d0ed) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-lsb: Add udev-extraconf for LSB compatibilitySaul Wold2013-05-081-0/+1
| | | | | | | (From OE-Core rev: ce6927b0d662c8929f514c92bb0e96c54bf47446) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>