summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: tinfoil: allow extra features to be passed to prepareAndy Voltz2017-06-051-1/+4
| | | | | | | (Bitbake rev: 2e35de1f19dc73a61a18a3eb186efede078d597d) Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: fix undefined dep in generatePkgDepTreeDataAndy Voltz2017-06-051-2/+2
| | | | | | | | | | The loop for populating the depends of the tree data should use dep instead of item. (Bitbake rev: 37c298b27e3f72b21513124237cfeffb22c0e2f0) Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: Fix return value checks from subprocess.call()'sMikko Rapeli2017-06-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Python function subprocess.call() returns the return value of the executed process. If return values are not checked, errors may go unnoticed and bad things can happen. Change all callers of subprocess.call() which do not check for the return value to use subprocess.check_call() which raises CalledProcessError if the subprocess returns with non-zero value. https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module All users of the function were found with: $ git grep "subprocess\.call" | \ egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call' Tested similar patch on top of yocto jethro. Only compile tested core-image-minimal on poky master branch. (Bitbake rev: d2cf67bcaf001acb6be8fc5884fb450649849847) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: ConfHandler: Require whitespace between export and variable nameOla x Nilsson2017-06-052-2/+23
| | | | | | | (Bitbake rev: 22bb7c9270f02ddae72e13d849375feee5f4a98b) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: siggen: Make calc_taskhash match get_taskhash for file checksumsRichard Purdie2017-06-051-1/+2
| | | | | | | | | | | The code in these two functions is meant to be equivlanet in behaviour but isn't. Add in code to ensure files that don't exist are handled consistently by both functions. Users did report being able to generate tracebacks otherwise. (Bitbake rev: c11b4832879354b387a8c9c6a3096f2d621afeac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to lates masterKhem Raj2017-06-051-1/+1
| | | | | | | | | | | - towupper/towlower: fast path for ascii chars - remove long-obsolete clang workarounds from mips* syscall_arch.h files - fix fstatat syscall on mips64 (From OE-Core rev: 9256ce9884758f9eb81c384a3fc0d04243f4e3bd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* as-needed.inc: Compile pulseaudio with --as-neededKhem Raj2017-06-051-1/+0
| | | | | | | | | | This effectively reverts commit f06e99d194eda49ee194f8ae401a23819e61b90f (From OE-Core rev: 7975a0fddecc826dce5484f59ea4bba447d8d4df) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: fix KERNEL_IMAGETYPE(S) for Image.gzNicolas Dechesne2017-06-051-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | KERNEL_IMAGETYPES lists all the kernel images that we want to build. in cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic was added to support vmlinux.gz which is not a target built by kernel makefiles (only vmlinux). It is clear that the goal of this logic is only to support vmlinux.gz and not others compressed format (such as Image.gz) which are valid target for kernel makefiles. For Image.gz we should rely on the kernel makefiles and not do the compression in kernel class. This patch updates the logic used to filter out non supported kernel target from KERNEL_IMAGETYPES, and make vmlinux.gz a 'special case', instead of *.gz. If more special cases are needed in the future, we could add them in a similar way. This patch should be a no-op for anyone using vmlinux or vmlinux.gz, and on top of that it is fixing the build for Image.gz which was not working until now. (From OE-Core rev: cfc0c897656fe67e81a6a5dcd936dff785529f41) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/core: Improve grammar in README and loader commentsRandy MacLeod2017-06-052-23/+22
| | | | | | | (From OE-Core rev: 48cd7ff7ae61ca5772a42ece9fce51976dd0d790) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Upgrade to 1.8.3Khem Raj2017-06-052-5/+6
| | | | | | | | | | Add a comment to fix build musl<->glibc switch while using same TMPDIR (From OE-Core rev: bc940753ee4af8c656f33d63e33c3d12d419446e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade to 3.8.2Otavio Salvador2017-06-055-80/+5
| | | | | | | | | | | | | | | | | | | | | There was a set of changes, those are: - CMake now requires librhash for build and as there is no other users in OE-Core we make it use its internal copy instead; - Copyright.txt checksum has change due new contrubutors and 2017 year additions; - Patch avoid-gcc-warnings-with-Wstrict-prototypes.patch was removed as it is not need anymore; - Patch 0001-KWIML-tests-Remove-format-security-from-flags.patch was removed as it is included in this release. (From OE-Core rev: cc75f693bde412edd0a1aa4fd4e92fb29b492b76) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Documentation: Created YP 2.4 "latest" docsScott Rifenbark2017-06-0410-27/+67
| | | | | | | | | | | | | | Updated poky.ent to use 2.4 variables and numbering Updated mega-manual.sed to use "2.4" string for links Updated all manual revision tables to use "2.4" and "Usually October, 2017" string. (From yocto-docs rev: 17ec7da6ab3fd450c2010812f7ad689288b12dcc) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the PACKAGECONFIG_CONFARGS variable descriptionScott Rifenbark2017-06-041-6/+20
| | | | | | | | | | | | Fixes [YOCTO #11600] Made some technical corrections to the PACKAGECONFIG_CONFARGS variable description in the glossary. (From yocto-docs rev: c422783984748f170943eab418bfa7d0111fa352) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added LAYERRECOMMENDS variable descriptionScott Rifenbark2017-06-041-0/+32
| | | | | | | | | | | Fixes [YOCTO #11579] Added a new description for the LAYERRECOMMENDS variable. (From yocto-docs rev: 3004a5724c4ea7165e4f749f9c9237ee1fbd89f5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated LAYERDEPENDS variable descriptionScott Rifenbark2017-06-041-11/+20
| | | | | | | | | | | | | Fixes [YOCTO #11579] The syntax for specifying a layer version was incorrect. I have added an explanation for the correct syntax and provided an example. (From yocto-docs rev: 5703fb2f8b9d3df408c596603b8b8416597fc67a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers: update maintainers in several python modules, cronie and swigLeonardo Sandoval2017-06-031-16/+16
| | | | | | | | | | | | | | The python modules involved are: * Python 2: numpy and setuptools * python 3: async, dbus, distribute, docutils, gitdb, nose, numpy, pip, pygobject, setuptools, six and smmap (From meta-yocto rev: 103690a9469880ad5059d7ce831d574456f59ee1) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: upgrade 2016.74 -> 2017.75Dengke Du2017-06-033-50/+5
| | | | | | | | | | | | Drop patch support-out-of-tree-builds.patch: Because the upstream has already contain it. (From OE-Core rev: 2fd0757ae7fd63bc93a4ce8579c6ba0cdbb4c1cd) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xkeyboard-config: Upgrade 2.20 -> 2.21Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | (From OE-Core rev: 9d4c5d9eb7385f14bf11405d1da04cd34dc48fb0) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xkbcomp: Upgrade 1.3.1 -> 1.4.0Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Release with a small amount of bug fixes. (From OE-Core rev: 48b0b4fdf411c6a0bbfe9e2cb288919f5f9b3ac0) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Upgrade 1.19.1 -> 1.19.3Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Bug fix releases. (From OE-Core rev: 78ad33daadc4aec38c2e4eca232cfc6155ec2386) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-libinput: Upgrade 0.24.0 -> 0.25.1Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Small releases with just a few fixes. (From OE-Core rev: 97b5c76734f8d8dfa3ec4faddb6d7d50b0375b92) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gst-3.0: Upgrade 3.0.22 -> 3.0.24Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Very small release with only bug fixes. (From OE-Core rev: 81e9f904fd351ed030165a3fc639ef2a7205527f) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-1.0: Upgrade 1.26.0 -> 1.26.2Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Mostly bug fixes in this release. (From OE-Core rev: ff758c2bdc00219ceb7d295045590f8847444716) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevdev: Upgrade 1.5.6 -> 1.5.7Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Small release with mostly build system fixes. (From OE-Core rev: e8b727c1d9984a094b4c623fef2ca0c48848a790) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: Upgrade 0.46.1 -> 0.48.3Jussi Kukkonen2017-06-031-3/+8
| | | | | | | | | | | | Depend on gperf-native: The tarball used to include files generated with gperf and this is no longer the case. Use GIR_EXTRA_LIBS_PATH to fix introspection generation. (From OE-Core rev: 028c398d0977b8f65a78f6a9ba2df8cc07dcc3cd) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 17.1.1Nicolas Dechesne2017-06-035-10/+48
| | | | | | | | | | | | | | * Costmetic changes in license.html file required new MD5 hash * Add PACKAGECONFIG option for libunwind support (new feature, disable by default) * Rebased 0001-Use-wayland-scanner-in-the-path.patch * Added zlib in DEPENDS, otherwise mesa no longer builds. * Added 0001-util-rand_xor-add-missing-include-statements.patch, sent upstream (From OE-Core rev: fa08267f1399904fed079277bc86ac1aa26c06dc) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-glib: upgrade 1.2.2 -> 1.2.8Dengke Du2017-06-031-2/+2
| | | | | | | | (From OE-Core rev: 803d74a42568a4b5afe8a15021cccc9455c8c8a0) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomic-ops: Upgrade to 7.6.0Khem Raj2017-06-032-32/+20
| | | | | | | | | | | | | | Can compile in thumb1 and thumb2 modes now AO_THUMB_GO_ARM, AO_THUMB_RESTORE_MODE are used to guard swp instructions Switch to github and use git for src_uri (From OE-Core rev: 5d66e34f4be7dacf71251aefd303eb0fb721738e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: upgrade 0.29.1 -> 0.29.2Maxin B. John2017-06-032-42/+2
| | | | | | | | | | | Remove backported patch: 1. 0001-gdate-Move-warning-pragma-outside-of-function.patch (From OE-Core rev: 77c09708fb32d6c0bd35af41af95dded22520301) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtasn1: upgrade 4.10 -> 4.12Maxin B. John2017-06-031-2/+2
| | | | | | | | | | | | | | | | | Noteworthy changes: 1. Introduced the ASN1_TIME_ENCODING_ERROR error code to indicate an invalid encoding in the DER time fields. 2. Introduced flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME. This flag allows decoding errors in time fields even when in strict DER mode. 3. Added safety check in asn1_find_node(). That prevents a crash when a very long variable name is provided by the developer. (From OE-Core rev: 61752a41f2f0abe61e805d2ef1292cec1e202c36) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: upgrade 3.18.0 -> 3.19.2Maxin B. John2017-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | Bug fixes: 1. Fix a problem in REPLACE that can result in a corrupt database containing two or more rows with the same rowid. 2. Fix a problem in PRAGMA integrity_check that was causing a subsequent VACUUM to behave suboptimally. 3. Fix the PRAGMA foreign_key_check command so that it works correctly with foreign keys on WITHOUT ROWID tables. 4. Disallow leading zeros in numeric constants in JSON. 5. Disallow control characters inside of strings in JSON. 6. Limit the depth of recursion for JSON objects and arrays in order to avoid excess stack usage in the recursive descent parser. 7. Fix more bugs in the LEFT JOIN flattening optimization. (From OE-Core rev: 3d4d025b1cc6668fd7baefa01ebb9664e805e83a) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-themes-standard: Upgrade 3.22.2 -> 3.22.3Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Just a few bug fixes. (From OE-Core rev: 053788910610ca0947304586d8c197e71e01c13d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: Upgrade 3.22.8 -> 3.22.15Jussi Kukkonen2017-06-032-4/+4
| | | | | | | | | | A fairly large amount of fixes in these point upgrades. (From OE-Core rev: 7ded79207b67d96b73df046714b3419171c739ce) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: Upgrade 2.40.16 -> 2.40.17Jussi Kukkonen2017-06-031-3/+4
| | | | | | | | | | | | | Small update with mostly bug fixes. Add a desktop file for rsvg thumbnailing (it points to gdk-pixbuf-thumbnailer so there's no binary added). (From OE-Core rev: 8ac6bd6144dab4b027b6c463fb542ce00db7e64d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libepoxy: Upgrade 1.4.1 -> 1.4.2Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Mostly a bug fix release (From OE-Core rev: 84f0b7c51c0f6778fb2b3bd01875095d284a793b) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adwaita-icon-theme: Upgrade 3.22.0 -> 3.24.0Jussi Kukkonen2017-06-032-2/+32
| | | | | | | | | | Add patch to fix allarch-build by removing a useless AC_CANONICAL_HOST. (From OE-Core rev: e922e23a7b3868b2dc9c5845fc5c5df1940df00d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-atk: Upgrade 2.24.0 -> 2.24.1Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Tiny bug fix upgrade. (From OE-Core rev: 2704c84098bb8b23dc79c4369947048a1a67c655) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* atk-spi2-core: Upgrade 2.24.0 -> 2.24.1Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Tiny bugfix upgrade. (From OE-Core rev: 1f655d6ab14493b85fc65fe846e710e71fc4a5b3) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* atk: Upgrade 2.22 -> 2.24Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | | | Bug fix update. (From OE-Core rev: a55ad0521eed26d8dee3aa9abac9e72bae08669c) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup-2.4: Upgrade 2.56.0 -> 2.58.1Jussi Kukkonen2017-06-031-2/+2
| | | | | | | | (From OE-Core rev: feb8506174301a7ac005a3515999f850835788fc) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Upgrade 2.50.3 -> 2.52.2Jussi Kukkonen2017-06-034-64/+4
| | | | | | | | | | Remove upstreamed patches (thanks Ross). (From OE-Core rev: 2fffd85e0799deab09e32af65c524498b140749d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Configure with extra hardening optionsKhem Raj2017-06-031-0/+4
| | | | | | | | (From OE-Core rev: 08dbaadbb6fadbaa9e0d1542f64864018b6243e5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: Fix build error due to missing stdint.h> includeKhem Raj2017-06-032-0/+28
| | | | | | | | (From OE-Core rev: 8a0af685adb5275dc39ef0cd209d03905d1db067) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kconfig-frontends: fix another build raceRoss Burton2017-06-031-0/+4
| | | | | | | | | | | | It is possible that frontends/kconfig is written to by sed before frontends/ exists, so add a mkdir to ensure the directory always exits. [ YOCTO #11574 ] (From OE-Core rev: ad915e9baa04c73981c4795a97da95cea40b50c2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* start_getty: Over added SERIAL_CONSOLE cause error in userspace logChoong YinThong2017-06-031-4/+34
| | | | | | | | | | | | | | | | | Error log will be logged into /var/log/message. Added in more condition checking on the script. Check /proc/tty/drivers and /proc/tty/driver/* file system to retrieve active targeted serial. Only establish getty with active serial in runtime. [YOCTO #10844] Reviewed-by: Saul Wold <sgw@linux.intel.com> (From OE-Core rev: ac0e9541fe93e866e42914f65a0516b993f0cffe) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Fix return value checks from subprocess.call()'sMikko Rapeli2017-06-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Python function subprocess.call() returns the return value of the executed process. If return values are not checked, errors may go unnoticed and bad things can happen. Change all callers of subprocess.call() which do not check for the return value to use subprocess.check_call() which raises CalledProcessError if the subprocess returns with non-zero value. https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module All users of the function were found with: $ git grep "subprocess\.call" | \ egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call' Tested similar patch on top of yocto jethro. Only compile tested core-image-minimal on poky master branch. (From OE-Core rev: 031cf9c7834cd1cba8b03832673a3e3cfcbfae7c) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* isoimage-isohybrid: don't use TRANSLATED_TARGET_ARCHEd Bartosh2017-06-032-5/+3
| | | | | | | | | | | | | | | | | | | | | | isoimage-isohybrid plugin fails with this error when trying to find initrd image: initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0] IndexError: list index out of range as it uses TRANSLATED_TARGET_ARCH value as part of the image. This approach stopped to work due to changes in oe core code. initrd file name is made using MACHINE variable. wic can't get value of this variable as it's not included into bitbake -e output. Used basename of deploy dir as MACHINE value to fix the breakage. (From OE-Core rev: cfbb3cc1279ea88ca3e2867f8a409c5120aa1f05) (From OE-Core rev: e26fa1c34c33ffdc678f8073dade0126aff08b40) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: fix override handling in RDEPENDS QAGan, Yau Wai2017-06-031-1/+1
| | | | | | | | | | | | | | | | | The package_qa_check_rdepends() in insane.bbclass has incorrectly replace its localdata OVERRIDES value with the package name. Fixing it by appending the package name to the existing OVERRIDES value. This resolves RDEPENDS QA error when setting PACKAGECONFIG using a pn- override at local.conf. [YOCTO #11374] (From OE-Core rev: 60d28dd72daee235150ab6605cbf953f1ea691df) Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: deploy-target: Let script continue even if rm failsDaniel Lublin2017-06-031-1/+1
| | | | | | | | | | | | | | The remote script is run with `set -e`, so doing rm without -f on a $file that is already gone will exit the whole script, failing any redeployment. Assume a use case where packages sometimes produces certain test binaries stored on volatile media (tmpfs), and where the system is occasionally rebooted. (From OE-Core rev: db54c9a22a9b66c673df8e836de5e47fc9edda0b) Signed-off-by: Daniel Lublin <daniel@lublin.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: Compare abspath of both B and SOla x Nilsson2017-06-031-1/+1
| | | | | | | | | | | | | | | | Either both or none of the paths must be passed through os.path.abspath or things like 'A//B', 'A/./B/', and 'A/B/' in S will cause unintentional mismatches even when B = "${S}". Using os.path.abspath for both seems more likely to be correct as that will also handle the case where ${B} != ${S} but the abspaths are equal. (From OE-Core rev: 061f2aab40fecbfe0dcb928baa95d6b3a6b45eed) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>