summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* linux-libc-headers: update to 4.1Bruce Ashfield2015-07-234-8/+10
| | | | | | | | | | | | Updating the libc-headers to match the 4.1 LTSI kernel version. We also tweak the logic in linux-libc-headers.inc to look in the 4.x subdirectory if a 4.x kernel is specified as the header source. (From OE-Core rev: 3143920c541b55b543b9dcc12b18af4e0e4b7ae1) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/buildoptions.py: automate test case 926, archive work dir and export sourceCostin Constantin2015-07-231-0/+17
| | | | | | | | (From OE-Core rev: f6bf07f2247b316421b3945d9d21ed8cbb300bda) Signed-off-by: Costin Constantin <costin.c.constantin@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/buildoptions.py: automate test case 563; build directfb imageCostin Constantin2015-07-231-5/+11
| | | | | | | | (From OE-Core rev: 1054662a891f37dc62e0ddeeadfd840944833389) Signed-off-by: Costin Constantin <costin.c.constantin@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* common-glibc: define bash_cv_getcwd_mallocJoe Slater2015-07-231-0/+1
| | | | | | | | | | | | We do not want bash to use internal code for getcwd() because it can fail in certain filesystem types. Trust that the function in glibc is not "broken". (From OE-Core rev: 72539c68e4a6ef1497af3f707107c3a69ab37bbd) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/QemuRunner: don't use bb for loggingRoss Burton2015-07-231-29/+32
| | | | | | | | | | | | | Instead of using bb.note() etc for logging use logging.Logger directly, allowing the use of QemuRunner outside of bitbake. Also clean up the logging/errors by moving create_socket() out of __init__()/restart() and into start(). (From OE-Core rev: 519e381278d40bdac79add340e4c0460a9f97e17) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cronie: Upgrade v1.4.12 to v1.5.0Amarnath Valluri2015-07-231-2/+2
| | | | | | | | (From OE-Core rev: 1cb0bceddf64fcca4140aa2fd318db29e128c3e1) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg: remove previous FATIMG before creating a new oneRicardo Neri2015-07-231-0/+6
| | | | | | | | | | | | | | | Since version 3.0.0 of dosfstools, mkdosfs opens the to-be-filesystem file with O_EXCL. Since the filesystem is also opened with O_CREAT, the -C option of mkdosfs can only succeed if FATIMG does not exists. Thus, delete any previous FATIMG file. The file can be safely deleted as we are inside build_fat_img because we want to create an new FATIMG. (From OE-Core rev: a0d4511d358d427e5271420a74c26cc862c5ed74) Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Fix building demos which require GLU.Drew Moseley2015-07-231-1/+1
| | | | | | | | | | | Set glu_enabled when pkg-config detects GLU. This is needed so that HAVE_GLU is properly set to enable the GLU based demos. (From OE-Core rev: 72192d55cc6b213b6304dc805566c60a78d96b02) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+: require either x11 or directfb DISTRO_FEATURES to be setRoss Burton2015-07-231-0/+3
| | | | | | | | | GTK+ needs either X11 or DirectFB, and fails with obscure errors if neither are present. (From OE-Core rev: d308e4750e6647c2f2be9c69e25645d3eeb78b3f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa17: add tunes for ARM Cortex-A17Trevor Woerner2015-07-231-0/+36
| | | | | | | | | | http://www.arm.com/products/processors/cortex-a/cortex-a17-processor.php (From OE-Core rev: bf6fea14d0575e7f2dd6a35c79efb45412d70b76) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses-terminfo-base: include screen-256colorRichard Tollerton2015-07-231-1/+1
| | | | | | | | | | | | | | Nominally tmux sets TERM=screen which we are including in ncurses-terminfo-base. However, if tmux detects that it's running in a terminal capable of 256-color output (e.g. xterm-256color), it will instead use TERM=screen-256color. We aren't including that, and we ought to be. (From OE-Core rev: 5624dfcea87da54c49ba1d63b528da020f351908) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* *image.bbclass: Consolidate ROOTFS_POSTPROCESS_COMMANDsGary Thomas2015-07-232-6/+6
| | | | | | | | | | | | | Move ROOTFS_POSTPROCESS_COMMANDs from core-image.bbclass to image.bbclass so that images built using just image.bbclass will benefit from them. Without this change, an image built using image.bbclass did not honor read-only-rootfs image feature. (From OE-Core rev: 2d310470d95f7b387dcde605e4691ee505fc3b4d) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: fix Wayland-only buildsRoss Burton2015-07-232-0/+29
| | | | | | | | | | When configured with just the Wayland backend (no X11), not enough Pango headers were included. (From OE-Core rev: 9d4a88d003fd1a4c8864d1470473ea7c90f5e6d7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: 2.6.1 -> 2.6.2Robert Yang2015-07-232-22/+3
| | | | | | | | | | | * Remove add-aarch64.patch since it is already in the source. * Rename lttng-ust_2.6.1.bb -> lttng-ust_git.bb (From OE-Core rev: f5b03208c0ae0f47dddec6e39712fb0f1d041ebc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Upgrade to 2015.07 releaseOtavio Salvador2015-07-237-245/+110
| | | | | | | | | | | | | | | | | | | | | | | This upgrades the U-Boot and its related recipes for the 2015.07 release. The following recipes has been upgraded: - u-boot - u-boot-mkimage - u-boot-fw-utils The patches which were applied on top of the 2015.01 release are dropped as those are not needed in this release. The license checksum update was due minimal changes in the text, those have no impact in the license terms. (From OE-Core rev: 3157f8995e24f8a70492a261815be3a6fe51dcbd) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* volatile-binds: correct path of command umountKai Kang2015-07-231-1/+1
| | | | | | | | | | | It calls /sbin/umount to stop service var-volatile-lib. But umount is installed into directory /bin. Correct it. (From OE-Core rev: 55851c6f389cb027496c96f6e0609c8892032e4d) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Upgrade 3.8.10.0 -> 3.8.10.2Aníbal Limón2015-07-231-2/+2
| | | | | | | | | | | | Minor upgrade contains fixes see [1]. [1] https://www.sqlite.org/releaselog/3_8_10_2.html (From OE-Core rev: c0f62f18ea3e54fd29542b328ae66b28272075d0) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/syslog: Removed a pointless testcase and added skip for another.Lucian Musat2015-07-231-7/+1
| | | | | | | | | | | | | The testcase syslog --help was rather useless and also causing problems on images where syslog was non-busybox, like LSB images so I removed it. Added a skip condition for TC 202 for the same reason. If syslog is non-busybox then the test skips. (From OE-Core rev: 3947ec61cdc2977db5ce6042863b31f99d47a12a) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: Added decorators for the remaining auto tests.Lucian Musat2015-07-237-3/+11
| | | | | | | | | | This helps for the automatic completion of the results in testopia. (From OE-Core rev: 9148e5873a79ea3ef64f00cf9807fae99bf3040a) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: Added a new automated rpm test.Daniel Istrate2015-07-231-0/+37
| | | | | | | | | | testcase 195: Check rpm install/removal log file size (From OE-Core rev: abf07439e59180a79518e8a2443930104e9e71d0) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/prservice: add useful failure messages to test casesCostin Constantin2015-07-231-4/+4
| | | | | | | | (From OE-Core rev: 5089154d1edc31cb208cf13189ee117ca0b445f3) Signed-off-by: Costin Constantin <costin.c.constantin@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/recipetool: add useful failure messages to test casesCostin Constantin2015-07-231-2/+2
| | | | | | | | (From OE-Core rev: e555646ecb1ee9c7b00ec22f0d40bdd9da1b4dfd) Signed-off-by: Costin Constantin <costin.c.constantin@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/pkgdata: add useful failure messages to test casesCostin Constantin2015-07-231-43/+43
| | | | | | | | (From OE-Core rev: 0884dc483e5111021d700e9a509c478de2e431b3) Signed-off-by: Costin Constantin <costin.c.constantin@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: Added one runtime testcase in connman.Daniel Istrate2015-07-231-0/+23
| | | | | | | | | | (testcase 223) Check that only one connmand runs in background. (From OE-Core rev: 904a3f2c772980b5dc65ef61a0aad23768fcb8dc) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm4: Drop native RDEPENDSRichard Purdie2015-07-231-1/+1
| | | | | | | | | | | | | | | Native recipes should *never* depend on target recipes since this would cause them to rebuild every time the target changes. Before the recent datastore changes, this happened to work. Now, this makes rpm-native unbuildable since base-files-native doesn't exist and the code remaps the variable. Dropping these dependencies here is the correct way to resolve this issue and fix an autobuilder selftest failure. (From OE-Core rev: ef84c4bf1d93e9fa674300b80d0442ae1069c473) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipeutils.py: get_recipe_pv_without_srcpv remove prefixes from pvAníbal Limón2015-07-231-0/+6
| | | | | | | | | | Some recipes uses v or r prefixes in versions that makes wrong comparisions over recipes like lz4 r123 > 128. (From OE-Core rev: f7d250c97f40a737df9020180852d2ee87ca06b3) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/recipeutils.py: get_recipe_upstream_info update to get revisionAníbal Limón2015-07-231-13/+15
| | | | | | | | | | | | Bitbake fetcher latest_versionstring now returns a tuple with (version, revision) that helps SCM's like git to build current upstream version. [YOCTO #7605] (From OE-Core rev: 7ede979950fd265026c74526d8448627fd0a8c08) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/recipeutils.py: get_recipe_upstream_info only use sfx and pfx when exitsAníbal Limón2015-07-231-3/+10
| | | | | | | | | | Don't use pfx and sfx when not exist because cause formatting errors like 2.9HASH instead of 2.9+gitAUTOINC+HASH. (From OE-Core rev: 382833cc7e7603241838e18e429f69da0c2ee4ac) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: update Upstream-Status on a merged patchRoss Burton2015-07-221-2/+2
| | | | | | | (From OE-Core rev: ead7e6602fd340a2c31ce20941ad9a177395d7b1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: Fix imagefeature testcases not to interfere with testimage on ABDaniel Istrate2015-07-211-100/+48
| | | | | | | | | | | | | [YOCTO #8017] - selftest does not use pkill qemu [YOCTO #7976] - tests do not touch .ssh/known_hosts - don't hardcode qemu IP [YOCTO #8027] - use qemu nographic Extra: removed unnecessary assert for bitbake and runCmd status (From OE-Core rev: f58df3a630b774083934171463b2b07add29dc0e) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Remove check if /tmp is writableMariano Lopez2015-07-211-14/+0
| | | | | | | | | | | | | The check would be managed using BB_DISKMON_DIRS so this removes the check from the sanity class. [YOCTO #8000] (From OE-Core rev: a1e8fa70f6990926b5db976fa1c333073c4f6d8d) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native: Move virtclass override to earlier so DEPENDS is handled correctlyRichard Purdie2015-07-211-1/+3
| | | | | | | | | | | | | Currently the virtclass override is added too late to be taken into account when DEPENDS and other variables are processed by the virtclass extension code. This sets the overrides in a more optimal place, meaning they are accounted for in variables like DEPENDS. Recipes in meta-oe like libwmf-native showed the issue. (From OE-Core rev: e9bfd0583d7796cb9f71ff8762650e057103e3d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 2.4.0-rc1Ross Burton2015-07-211-3/+4
| | | | | | | (From OE-Core rev: 8d3938782cce8461f9e5d5e7aeed858232bb0cc0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: 1.6.5 -> 1.6.7Richard Purdie2015-07-211-2/+2
| | | | | | | | | Adds proper support for fifos, giving performance back to bitbake with the recent logging changes. (From OE-Core rev: 0295947a2ccc66037f9c20f06b4b69a781a046bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-lsb-sdk: use kernel-devsrc to ensure kernel module builds workRoss Burton2015-07-201-2/+1
| | | | | | | | | | | With the move of the kernel source to the kernel-devsrc, we need this package to ensure the kernel module sanity tests made on core-image-lsb-sdk continue to pass. Therefore update the name of the package included in the image. (From OE-Core rev: b283b82ec59a2137cf717811172765848fa813fa) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: change powerpc memory size limitQuanyang Wang2015-07-202-0/+39
| | | | | | | | | | | | | | | | | | | When run "kexec" in powerpc board, the kexec has a limit that the kernel text and bss size must be less than 24M. But now some kernel size exceed the limit. So we need to change the limit, else will get the error log as below: my_load:669: do Could not find a free area of memory of 0x12400 bytes... Could not find a free area of memory of 0x13000 bytes... locate_hole failed (From OE-Core rev: 8458910b3524eeb5164137332f60ba40247c33fa) Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: disable the GCC's stack protection for purgatory codeKevin Hao2015-07-202-0/+65
| | | | | | | | | | | | | | | | If the GCC's stack protection is enabled by default, the purgatory will also be built with this option. But it makes no sense to enable this for the purgatory code, and would cause error when we are trying to relocate the purgatory codes because symbol like __stack_chk_fail is unresolved. Instead of disabling this for some archs specifically, disable it for all the archs. (From OE-Core rev: 466b0b2c572fb3201ca415b689ce7a950b8625a7) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: Upgrade v1.1.6 -> v1.2.1Amarnath Valluri2015-07-208-339/+127
| | | | | | | | | | | | | | | | | | | | | Dropped upstreamed patches(commit-id): - add-checks-for-crypt-returning-NULL.patch(8dc056c) - destdirfix.patch(d7e6b92) - libpam-fix-for-CVE-2010-4708.patch(4c430f6) Dropped backported patches(commit-id): - pam_timestamp-fix-potential-directory-traversal-issu.patch(9dcead8) - reflect-the-enforce_for_root-semantics-change-in-pam.patch(bd07ad3) Forward ported patches: - pam-unix-nullok-secure.patch - crypt_configure.patch (From OE-Core rev: 8683206f7ba85f693751415f896a0cc62931e3c4) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: 2.6.1 -> 2.6.2Robert Yang2015-07-201-1/+2
| | | | | | | | | | * Rename recipe name from lttng-modules_2.6.1.bb to lttng-modules_git.bb (From OE-Core rev: 180ce6570ba133ec5f36de3288d6ec163b54eefe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: 4.0.1 -> 4.1.1Robert Yang2015-07-201-2/+2
| | | | | | | | | | | | | | | | | This upgrade fixes DEBUG_BUILD on qemuarm: [CC] btrfs-convert.o [CC] btrfs-corrupt-block.o [CC] btrfs-calc-size.o {standard input}: Assembler messages: {standard input}:3257: Error: invalid operands (.text and *UND* sections) for `-' {standard input}:3263: Error: invalid operands (.text and *UND* sections) for `-' make: *** [cmds-fi-usage.o] Error 1 (From OE-Core rev: 49251a7245a3a1d3d02013a6239f9057aad06c63) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: rdepend on modules referenced by start-pulseaudio-x11Tanu Kaskinen2015-07-201-1/+11
| | | | | | | | | | | | | | | | pulseaudio-server contains /usr/bin/start-pulseaudio-x11 when X11 is enabled, and that script tries to load module-device-manager, module-x11-cork-request, module-x11-publish, and module-x11-xsmp. Therefore, pulseaudio-server should rdepend on those modules when X11 is enabled, otherwise the script won't work as intended. [YOCTO #8007] (From OE-Core rev: 780981b10dcd4201b8c74b9d33105f80c5801b38) Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* neard: merge .inc fileRoss Burton2015-07-202-54/+52
| | | | | | | | | | | The .inc file contains so much version-dependent logic (for example behaviour of libexecdir and location of installed daemon) that there's not really any point in having the two split. (From OE-Core rev: 40ffba7a7f0f32f0c8073a457a393891a31f8555) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* neard: remove overridden do_installRoss Burton2015-07-201-4/+0
| | | | | | | | | | Overriding libexecdir was required when neard did funky things in the Makefile, but it doesn't anymore. (From OE-Core rev: a01b29fdcf37c5231846265b97ee599e8321cdee) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-icon-theme: clean up icon-naming searchRoss Burton2015-07-203-52/+29
| | | | | | | | | | | | | | Previous this recipe added an argument to specify where the icon-name-mapping binary is installed, to override a failing pkg-config call (as target pkg-config won't find native .pc files), and munged libexecdir as it likely contains PN. This is all very complicated and we have a native pkg-config binary now, so just use pkg-config-native for that section of configure.ac. (From OE-Core rev: bbd1458444b06dafddad70e117eedfe0c85bfcc6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-smartpm: Improve warnings/errors consistencyRichard Purdie2015-07-202-0/+159
| | | | | | | | | | | | | | | | | | | | | | Sadly, smart is not deterministic so the same build can go down multiple different pathways. We'd expect to see the same warnings however depending on the pathway taken, it may or may not warn, particularly with Recommends since they're optional. For example, where a Recommended package is available but has Conflicts, we'd expect to see an warning that we couldn't install it. Some code paths silently hide this (its a LOCKED_CONFLICT). We add printing of warnings for this case. Also, if there are two compatible feeds available (e.g. i586 and core2_32), this changes the code path from direct _install() to _pending() since there are multiple providers. This patch adds warning handling to _pending() so we don't hit hard failures there. This is as seen with the mysterious libspeexdsp failures for x86-lsb on the autobuilder. (From OE-Core rev: ab1eb2432b9a9823335450fd12476e910a95a2aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/package_manager: Use log-level warning instead of quietRichard Purdie2015-07-201-1/+1
| | | | | | | | | | | | quiet means that no warnings are shown on the console and really is too quiet for our needs. This is more verbose but that is better than too little and does aid debugging things when they go wrong. (From OE-Core rev: 9de391260e4491a4852410adf1009a1fa0c72a5c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_ipk/deb: Drop version information from RPROVIDESRichard Purdie2015-07-202-2/+4
| | | | | | | | | | | | | | | In some scenarios rpm needs version information from RPROVIDES. We can add this to the metadata where needed however we need to stop it entering the ipk/deb packages. This data is not needed due to the way opkg/dpkg handle the data. This patch ensures that data isn't used. (From OE-Core rev: c68b975693c10899ce50b4d8c2aa3985ca890ce3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* debian: Add versions to RPROVIDESRichard Purdie2015-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Recently, libspeexdsp-dev added RCONFLICTS = "speex-dev < 1.2rc2". where libspeexdsp is 1.2rc3. That all seems reasonable, except there is a problem. debian.bbclass renames speex-dev to libspeex-dev and adds a "Provides: speex-dev" which the packaging backends duly note. The trouble is rpm sees that as having no version at all. This means that "speex-dev < 1.2rc2" conflicts with "speex-dev" and the -dev package simply cannot be installed. We can't simply version all Provides for rpm since some dependencies clearly shouldn't be versioned (e.g. the locale ones). The solution that seems to work best is to add the versions in debian.bbclass. If the backend doesn't like these, the backend can then strip them off (separate patch does this). (From OE-Core rev: 8b9df5112443c1b712cb5c63128bebbbd38cd7fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gamin: removeRoss Burton2015-07-206-176/+0
| | | | | | | | | | | | | Gamin hasn't been required for many years now, maintenance upstream stopped in 2008 and the addition of inotify to the kernel made it redundant. Remove the recipe from oe-core, and references to it in pacakgegroup-core-lsb (LSB doesn't require gamin) and packagegroup-self-hosted. (From OE-Core rev: d29595925b699827fbd3279ee5368e32e0a380f3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* extensible sdk: Error when trying to install as root.Randy Witt2015-07-203-2/+28
| | | | | | | | | | | | | | | | | | | Since the extensible sdk uses bitbake, which can't run as root, the sdk shouldn't be installed as root. Previously it would error out late into setup when bitbake errored saying not to run bitbake as root. Now the script errors with a message saying the extensible sdk can't be installed as root. [Yocto #7545] (From OE-Core rev: 309e8f4e536148056223f50637ed291c48d148ca) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>