]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agosanity.bbclass: check host tool dependencies on change in NATIVELSBSTRING
Bill Randle [Tue, 22 Mar 2016 17:23:18 +0000 (10:23 -0700)] 
sanity.bbclass: check host tool dependencies on change in NATIVELSBSTRING

When a user upgrades their host distro, it may no longer have all the
required tools installed, but this won't be caught by bitbake resulting
in possible build errors. Rather than check for installed tools on every
startup, use the NATIVELSBSTRING change as indicator to rescan for host
tool dependencies. Store the NATIVELSBSTRING in the sanity_info file.

[YOCTO #8585]

(From OE-Core rev: e838b581397bbea9a0f4d74648fcc250073db1ae)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibunwind: Fix build with fstack-protector on musl
Khem Raj [Tue, 22 Mar 2016 17:06:07 +0000 (17:06 +0000)] 
libunwind: Fix build with fstack-protector on musl

libunwind makery inserts -nostdlib during linking
which fails the build on musl when security flags are enabled
since it remove ssp from linking, so add them explicitly
to SECURITY_LDFLAGS

disable tests for musl targets, tests use obsolete
posix APIs e.g. getcontext

patchout x86_local_resume() on x86, gets a working
linunwind on x86, it seems that it wont work even
in glibc case but lets leave it as it is for glibc
and apply the patch only for musl

(From OE-Core rev: c8ac9d483f6e1cfca82dad8cf3e0745935e96214)

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>
9 years agoltp: Fix build on x86/musl
Khem Raj [Tue, 22 Mar 2016 15:54:23 +0000 (15:54 +0000)] 
ltp: Fix build on x86/musl

In last patch it covered out the non-glibc case well
but did not define else case, when __GLIBC__ is not
defined, as a result errors like

| getcpu01.c:107:41: error: use of undeclared identifier 'sys_support'
|         if (((tst_kvercmp(2, 6, 20)) < 0) || !(sys_support)) {

appeared, fixed it with this updated patch

(From OE-Core rev: 04cbc4834076fef6b46af4c5c66046862de7634d)

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>
9 years agopackage.bbclass: Treat .node files same as .so when checking what to strip
Brendan Le Foll [Tue, 22 Mar 2016 09:53:34 +0000 (09:53 +0000)] 
package.bbclass: Treat .node files same as .so when checking what to strip

Typically in a node/npm compiled modules the module is named .node. This is a
binary module without a wrapper so it can actually be relatively large if
unstripped.

(From OE-Core rev: d14bc2667575bc0e29b9e90d80c01703639b76f1)

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg.bbclass: only inherit syslinux when pcbios
Robert Yang [Tue, 22 Mar 2016 09:48:21 +0000 (02:48 -0700)] 
bootimg.bbclass: only inherit syslinux when pcbios

syslinux.bbclass should not be seen when use efi.

(From OE-Core rev: f994eef0aeae861857756d3cc05c49cca17bd12b)

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>
9 years agogrub-efi.bbclass: make it can build vm and live together
Robert Yang [Tue, 22 Mar 2016 09:48:20 +0000 (02:48 -0700)] 
grub-efi.bbclass: make it can build vm and live together

* Make it can build vm and live (e.g., iso + vmdk) together as we did
  for syslinux.
* GRUBCFG -> GRUB_CFG as other GRUB_FOO vars

(From OE-Core rev: e38039e43f22d55a443064efa91752e2943fda79)

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>
9 years agobootimg.bbclass: fix settings for grub-efi.bbclass
Robert Yang [Tue, 22 Mar 2016 09:48:19 +0000 (02:48 -0700)] 
bootimg.bbclass: fix settings for grub-efi.bbclass

Fixed:
- Found potential conflicted var LABELS ...
  Set LABELS to "boot install" would build out broken images when build
  vm + live together, use set_live_vm_vars() to fix the problem.

- Use ROOT and LABEL in boot-directdisk.bbclass and image-foo.bbclass,
  they are not only used by syslinux.bbclass, but also grub-efi.bbclass,
  add "SYSLINUX_" prefix would mislead users.

(From OE-Core rev: d7d1e0193c94abb1cd2daf1c298c8c1788f3616d)

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>
9 years agopixz: Fix build on big-endian/musl systems
Khem Raj [Tue, 22 Mar 2016 07:56:17 +0000 (07:56 +0000)] 
pixz: Fix build on big-endian/musl systems

(From OE-Core rev: 364f625480dca41d2902e209e4bfb675b1a93dce)

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>
9 years agosanity.bbclass cleanup
Bill Randle [Mon, 21 Mar 2016 20:24:33 +0000 (13:24 -0700)] 
sanity.bbclass cleanup

Limit search for a version var name to start at the beginning of a line,
otherwise, if the var name is used in a comment, that comment line will
be replaced, rather than the desired assignment line.
Move bblayer update message into function where it's actually updated,
rather than assuming all successful config file update are to the
bblayers.conf file.
Replace a stray tab with spaces for consistency.

[Fixes YOCTO #9318]

(From OE-Core rev: 7c1e53bb802f021f06231243077d0e007a64274c)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomatchbox-wm: Update to fix XChangeProperty datatype issue
Jussi Kukkonen [Mon, 21 Mar 2016 19:43:18 +0000 (21:43 +0200)] 
matchbox-wm: Update to fix XChangeProperty datatype issue

This brings us to master HEAD and adds a single commit
compared to the previous version:
  8178e70 ewmh: Fix data type of a few XChangeProperty calls

This fixes broken Home-button in matchbox panel on mips64 (and
probably other platforms).

[YOCTO #9284]

(From OE-Core rev: b5ed789a6fe2d395b74a073c28060eb0f5a04a1b)

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>
9 years agomatchbox-panel-2: Fix Home-button icon load issue
Jussi Kukkonen [Mon, 21 Mar 2016 19:43:17 +0000 (21:43 +0200)] 
matchbox-panel-2: Fix Home-button icon load issue

Home (showdesktop) button sometimes did not load the icon because
the active state was never initialized. Backport fix for this issue.

[YOCTO #9026]

(From OE-Core rev: 556da4760e2bf4afa1c825b927b62314174632eb)

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>
9 years agogstreamer1.0: fix introspection support also for git recipes
Alexander Kanavin [Mon, 21 Mar 2016 16:40:09 +0000 (18:40 +0200)] 
gstreamer1.0: fix introspection support also for git recipes

This is generally done by moving necessary patches to common
include files, and a few other fixes.

(From OE-Core rev: 2b81ea383029a55168e1fb8016f64f04643d39a8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file
Alexander Kanavin [Mon, 21 Mar 2016 16:40:08 +0000 (18:40 +0200)] 
gstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file

Cflags had GL_CFLAGS appended, which contained full sysroot path to libdrm include;
generally such dependencies should be handled by pkgconfig's Requires facility.
It's unlikely that this .pc file is used by anything, but it was causing a QA error.

(From OE-Core rev: 67fc36615351dff37516ee6c9239025198379112)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agox86-base.inc: suggest the latest kernel
Maxin B. John [Mon, 21 Mar 2016 15:57:08 +0000 (17:57 +0200)] 
x86-base.inc: suggest the latest kernel

Use latest 4.x kernel instead of 3.x version

(From OE-Core rev: 138a03308fb24936466beb082b350d872ad423a6)

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>
9 years agoat: fix configure option with/without-selinux
Wenzong Fan [Mon, 21 Mar 2016 02:10:19 +0000 (22:10 -0400)] 
at: fix configure option with/without-selinux

without-selinux doesn't work since WITH_SELINUX is always be defined no
matter which option is given: with-selinux, without-selinux.

This causes build errors if '--without-selinux' is used and libselinux
is not buildable in project:

  atd.c:87:29: fatal error: selinux/selinux.h: No such file or directory

(From OE-Core rev: f1f676cf720b869999553eecdb113a2a2daa61fe)

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>
9 years agono-static-libs: just like target and native, nativesk-libcap doesn't like unrecognise...
Ross Burton [Wed, 16 Mar 2016 14:01:42 +0000 (14:01 +0000)] 
no-static-libs: just like target and native, nativesk-libcap doesn't like unrecognised options

(From OE-Core rev: 79ec2ec397a35d6405f9c2b3c67e8b9981fbe7be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: package firmware for Marvell 88W8688
Jens Rehsack [Wed, 16 Mar 2016 09:35:18 +0000 (10:35 +0100)] 
linux-firmware: package firmware for Marvell 88W8688

According to error messages from guruplug

[   35.826441] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8688_helper.bin failed with error -2
[   35.903291] Bluetooth: request_firmware(helper) failed, error code = -2
[   35.909942] Bluetooth: Failed to download helper!
[   36.052820] Bluetooth: Downloading firmware failed!
...
[  764.422739] libertas_sdio: Libertas SDIO driver
[  764.438213] libertas_sdio: Copyright Pierre Ossman
[  764.461186] libertas_sdio mmc0:0001:1: Direct firmware load for libertas/sd8688_helper.bin failed with error -2
[  764.488234] libertas_sdio mmc0:0001:1: Direct firmware load for sd8688_helper.bin failed with error -2
[  764.507382] libertas_sdio: failed to find firmware (-2)

and http://wiki.beyondlogic.org/index.php?title=GuruPlug_Libertas_SD8688,
package the firmware files for Marvell 88W8688, too.

(From OE-Core rev: 5a5a6cab382e003cc5debb0b9af18d5f0ea3ce39)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-arm926ejs: Handle missing thumb suffix
Jens Rehsack [Wed, 16 Mar 2016 09:34:22 +0000 (10:34 +0100)] 
tune-arm926ejs: Handle missing thumb suffix

When enabling tune for arm926ejs, poky optionally appends suffixes for
thumb and dsp support. Since sometimes arm926ejse (ARM code) and sometime
arm926ejste (thumb code) is used in PACKAGE_ARCH, allow both.

(From OE-Core rev: dbd7fd1cbbc3e7003a48542642acdc80dca3f514)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonativesdk-coreutils: a lot of warnings fixed
Dengke Du [Wed, 16 Mar 2016 02:49:13 +0000 (22:49 -0400)] 
nativesdk-coreutils: a lot of warnings fixed

When we create nativesdk-coreutils, a lot of warnings appear,it
show many files can't find. Because in the coreutils recipe, it
didn't contain the do_install for the nativesdk, so when the
alternative system check the files in the following process, it
can't find the files. So we should add the do_install for the
nativesdk, change the function do_install_append_class-target() to
do_install_append() in the file:
meta/recipes-core/coreutils/coreutils_8.25.bb
in this way, the alternative system can find the files, the warnings
disappear.

(From OE-Core rev: 37039da6a09d7781beb93892932488940786b41f)

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>
9 years agorunqemu-internal: split the code into functions
Robert Yang [Thu, 10 Mar 2016 02:09:19 +0000 (18:09 -0800)] 
runqemu-internal: split the code into functions

Use config_<machine> to split the code into separate functions, so that
different machines won't affect each other, and they will have a better
structure.

(From OE-Core rev: 6098a72e8d21f6321636e727703ca7c29d9af142)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu-internal: cleanup unsed code
Robert Yang [Thu, 3 Mar 2016 03:37:45 +0000 (19:37 -0800)] 
runqemu-internal: cleanup unsed code

* remove akita and spitz related code
  They are not supported by runqemu anymore:
  $ runqemu spitz
  Error: unable to classify arg [spitz]
  So remove related code.

* Remove checking of 256M for qemuarm, qemu can check it, for example:
  $ runqemu qemuarm qemuparams="-m 1024"
  [snip]
  qemu: Too much memory for this machine: 1024 MB, maximum 256 MB
  [snip]

(From OE-Core rev: 36fb785bf8cd2f387c91d52f597602a5dbc3948b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: simplify checking for iso and ramfs
Robert Yang [Thu, 3 Mar 2016 01:50:05 +0000 (17:50 -0800)] 
runqemu: simplify checking for iso and ramfs

(From OE-Core rev: 69a1fca4374797dea56035ce56a17441a2ca9280)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: add support for qcow2 and vdi
Robert Yang [Wed, 2 Mar 2016 08:45:04 +0000 (00:45 -0800)] 
runqemu: add support for qcow2 and vdi

[YOCTO #9168]

(From OE-Core rev: 0f8306c77b4ebed1ff127b0786b7109abf0d57cd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: remove ISO and RAMFS from help text
Robert Yang [Wed, 2 Mar 2016 09:01:23 +0000 (01:01 -0800)] 
runqemu: remove ISO and RAMFS from help text

They don't work, and the script can check the type correctly.

(From OE-Core rev: b5cc1e70dbd5df160ddedcaa40d0ab714a307561)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: simplify the checking for vm images
Robert Yang [Wed, 2 Mar 2016 07:40:40 +0000 (23:40 -0800)] 
runqemu: simplify the checking for vm images

* So that we can add more image support easliy.
* I think that wic should be vm images.

(From OE-Core rev: 82d0014a0e1526ffa1ff7c8ea3903aeae31bada4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: fix ROOTFS for vmdk
Robert Yang [Fri, 26 Feb 2016 02:06:26 +0000 (18:06 -0800)] 
runqemu: fix ROOTFS for vmdk

* Make it can boot scsi and virtio block drive such as root=/dev/sdX and
  /dev/vdX.

* Drop VM from help info, id doesn't work, and the script can check
  whether it is a vm disk or not.

* Make it can be run by:
  $ runqemu tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.vmdk
  or:
  $ runqemu qemux86-64 vmdk

[YOCTO #9170]

(From OE-Core rev: 88c081b10902ec52928be78ad320c474bb918e01)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython(3): Disable tkinter
Martin Jansa [Mon, 21 Mar 2016 10:01:28 +0000 (11:01 +0100)] 
python(3): Disable tkinter

* restore changes from:
  http://git.openembedded.org/openembedded-core/commit/?id=53ae544cfdac22c82af452b8c7ebe6664296bd9b
* which were shamelessly removed in upgrade to 2.7.9:
  http://git.openembedded.org/openembedded-core/commit/?id=d4ad95f0d5f08891637c644e85b09da9c4585059
  and then spread to python3 as well
* fixes following issues reported by test-dependencies
  WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build dependency?
  WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build dependency?
  WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency?

  WARN: python: python-tkinter rdepends on glibc, but it isn't a build dependency?
  WARN: python: python-tkinter rdepends on libpython2, but it isn't a build dependency?
  WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build dependency?

  and following QA warnings in normal builds:
  python-2.7.11: python-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps]
  python-2.7.11: /usr/lib/python2.7/lib-dynload/_tkinter.so contained in package python-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python-tkinter? [file-rdeps]
  python3-3.5.1: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps]
  python3-3.5.1: /usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-arm-linux-gnueabi.so contained in package python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python3-tkinter? [file-rdeps]

(From OE-Core rev: 8cc5e36cd7978186d5ea1fe8af2f2bd6b3df8885)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE
Robert Yang [Mon, 21 Mar 2016 09:25:51 +0000 (02:25 -0700)] 
selftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE

(From OE-Core rev: ce14964d99741f1a4579bae18da5013498c365fd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogpg_sign.py: get rid of pexpect
Robert Yang [Mon, 21 Mar 2016 09:25:50 +0000 (02:25 -0700)] 
gpg_sign.py: get rid of pexpect

The python-expect is not installed on the distro such as Ubuntu by
default, and we can get rid of it.

Use RPM_GPG_PASSPHRASE to replace of RPM_GPG_PASSPHRASE_FILE which is
more straightforward.

(From OE-Core rev: 4a8a74c62836a20610daf029d4cec0b3087758b2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: check _gpg_passphrase before ask for input
Robert Yang [Mon, 21 Mar 2016 09:25:49 +0000 (02:25 -0700)] 
rpm: check _gpg_passphrase before ask for input

rpm always asked for pass phrasae when add signature, which made it
can't work non-interactively, this patch fix the problem. It will work
non-interactively if _gpg_passphrase is defined, and work as before if
not.

(From OE-Core rev: 3cd4f96e94d8756d332b13215ce3ac2e1eaddee7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: fix remote publishing
Paul Eggleton [Mon, 21 Mar 2016 05:14:08 +0000 (18:14 +1300)] 
oe-publish-sdk: fix remote publishing

A typo in the command prevented the last part of the publish from
succeeding.

(From OE-Core rev: 5d51bd1f02fb20e02d0de0ac9874d7f9a6f5ddc6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: improve help output slightly
Paul Eggleton [Mon, 21 Mar 2016 05:14:07 +0000 (18:14 +1300)] 
oe-publish-sdk: improve help output slightly

This was just copy-and-pasted from devtool - set a reasonable
description and tweak the sdk parameter help text.

Also add a copyright statement and drop the opening comment describing
the command-line syntax that duplicated the help output (with at least
one mistake in it).

(From OE-Core rev: b18f9cb62e12d068fb840fd7ab9f35b4f039e649)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: drop SDK installer file from published output
Paul Eggleton [Mon, 21 Mar 2016 05:14:06 +0000 (18:14 +1300)] 
oe-publish-sdk: drop SDK installer file from published output

We don't really need the SDK installer in the published output, for two
reasons:

1) The directory produced is for the consumption of devtool sdk-update,
   and the installer isn't used by that at all
2) It wouldn't really make sense to point users at the update directory
   to download the SDK installer because it contains a bunch of things
   that aren't meant for manual download, so it wouldn't be very tidy.

Leaving the file present can mislead you into thinking the opposite of
both of the above.

(From OE-Core rev: a9ec72b7897ffc0b901c1ccbcbe3cabbc7ac41ee)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: create git repository if URL specified as positional argument
Paul Eggleton [Mon, 21 Mar 2016 05:14:05 +0000 (18:14 +1300)] 
devtool: add: create git repository if URL specified as positional argument

When we add from a fetched URL we are supposed to turn the resulting
source tree into a git repository (if it isn't already one). However, we
were using the older deprecated option name here instead of the
positional argument, so "devtool add -f <url>" resulted in the repo
being created but "devtool add <url>" didn't, which was wrong.

Also update the oe-selftest tests to check that this worked.

(From OE-Core rev: a7b6b1f8cc1c096724f794ac9dee312b0f771f66)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: delete externalsrc files on npm recipe do_install
Paul Eggleton [Mon, 21 Mar 2016 05:14:04 +0000 (18:14 +1300)] 
devtool: add: delete externalsrc files on npm recipe do_install

The npm class just installs whatever is in ${S}; if you're using
externalsrc in conjunction with it the symlinks (oe-workdir and oe-logs
by default) plus singletask.lock will end up in the final package, which
isn't really right. Introduce a variable so we know the path the files
will be installed into within npm.bbclass, and append to do_install
within the workspace bbappend to delete the files.

(From OE-Core rev: 766845e06db9d7d595e836ea1364c16fa132a413)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: configure-help: fix error if do_configure not already run
Paul Eggleton [Mon, 21 Mar 2016 05:14:03 +0000 (18:14 +1300)] 
devtool: configure-help: fix error if do_configure not already run

The code here for running do_configure if it hadn't already been run was
using the wrong string substitution parameters; fix it and test it.

(From OE-Core rev: b2677a4448dbc42e523c731b953b44006749252c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: whitelist proxy variables in config hash
Paul Eggleton [Mon, 21 Mar 2016 05:14:02 +0000 (18:14 +1300)] 
bitbake.conf: whitelist proxy variables in config hash

We don't need these variables incorporated in the config hash (i.e. we
don't need to reparse if they change).

This fixes an issue with the extensible SDK where the cache generated
at installation time not to be used afterwards due to the way we're
allowing through the proxy variables into the install environment (such
that they get set to "" if not set externally).

(From OE-Core rev: 3dc7c58b7b3224f3ed2d59d95313e70e4c57d7c4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: parse metadata on minimal SDK install
Paul Eggleton [Mon, 21 Mar 2016 05:14:01 +0000 (18:14 +1300)] 
classes/populate_sdk_ext: parse metadata on minimal SDK install

Instead of skipping the build system preparation step within the
extensible SDK install process when SDK_EXT_TYPE is "minimal", run
bitbake -p so that the cache is populated ready for the first time
devtool is run.

(From OE-Core rev: 6b38a991a3475fb82889428b94563968c7570473)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: sdk-install: add option to allow building from source
Paul Eggleton [Mon, 21 Mar 2016 05:14:00 +0000 (18:14 +1300)] 
devtool: sdk-install: add option to allow building from source

By default the sdk-install subcommand expects to restore the requested
items from sstate and fails if it can't. If the user is OK with building
from source, add a -s/--allow-build option to allow them to do that. In
the process, ensure we show the status output while we're installing.

Also add the missing header to the top of the file.

(From OE-Core rev: a86b426cdd465ec5cb08bb5fa7729e4e673d94bb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/distutils*: don't hide logs when setup script fails
Paul Eggleton [Mon, 21 Mar 2016 05:10:58 +0000 (18:10 +1300)] 
classes/distutils*: don't hide logs when setup script fails

We need to see the output of the setup script in the error message
because what we are having bbfatal print here doesn't completely
describe what went wrong, thus we should use bbfatal_log here and not
bbfatal.

(From OE-Core rev: 970a02061b474a238f57cd0cc4db7b62e36dfa3d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/packagegroup: drop complementary -ptest if ptest not in DISTRO_FEATURES
Paul Eggleton [Mon, 21 Mar 2016 05:10:57 +0000 (18:10 +1300)] 
classes/packagegroup: drop complementary -ptest if ptest not in DISTRO_FEATURES

If ptest isn't in DISTRO_FEATURES, there won't be any -ptest packages
and thus no need for the -ptest package for the packagegroup either.

(From OE-Core rev: 52f9b12601c02f1585438f890f847b4596170362)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/packagegroup: fix dbg/dev/ptest complementary packages
Paul Eggleton [Mon, 21 Mar 2016 05:10:56 +0000 (18:10 +1300)] 
classes/packagegroup: fix dbg/dev/ptest complementary packages

OE-Core commit 8981ed20234c42dc1f5cdef802ebe7214bd55238 (from 2013)
caused a regression where -dbg/-dev/-ptest packages weren't generated
for packagegroups because we weren't setting ALLOW_EMPTY for them.
Break out the code for adding complementary groups to its own
conditional so we can set ALLOW_EMPTY at the same time.

(From OE-Core rev: 340e9d619c881f320070474d5c4674dcaeabad35)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake: xmlrpc: set single use mode differently
Ed Bartosh [Thu, 17 Mar 2016 11:34:23 +0000 (11:34 +0000)] 
bitbake: bitbake: xmlrpc: set single use mode differently

Currently xmlrpc server implicitly sets itself into single use mode
when bitbake server is started with anonymous port (0) or no port is
provided in command line. In this mode bitbake shuts down xmlrpc server
after build is done. This assumption is incorrect in some cases.
For example Toaster uses bitbake in this mode and expects xmlrpc server
to stay in memory.

Till recent changes single use mode was always unset due to the bug.
When the bug was fixed it broke toaster builds as Toaster couldn't
communicate with bitbake server in single use mode.

Reimplemented logic of setting single use mode. The mode is explicity
set when --server-only command line parameter is not provided to bitbake.
It doesn't depend on the port number anymore.

[YOCTO #9275]
[YOCTO #9240]
[YOCTO #9252]

(Bitbake rev: afc0dd5c532684f6201b1e12bbf4c226ea19062d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added note for running remote apps with SSH port forw enabled.
Scott Rifenbark [Wed, 23 Mar 2016 17:38:41 +0000 (10:38 -0700)] 
sdk-manual: Added note for running remote apps with SSH port forw enabled.

I added the following note in the section that deals with running
Eclipse with a remote application.

Fixes [YOCTO #9276]

Currently, Eclipse does not support SSH port forwarding.
Consequently, if you need to run or debug a remote
application using the host display, you must create a
tunneling connection from outside Eclipse and keep
that connection alive during your work.
For example, in a new terminal, run the following:

     ssh -XY user_name@remote_host_ip

After running the command, add the command to be executed
in Eclipse's run configuration before the application
as follows:

     export DISPLAY=:10.0

(From yocto-docs rev: 7bf2875ff1653a8e50fa8e2bba540b2eb2512d2d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Added code name for 2.1 release to the variable
Scott Rifenbark [Wed, 23 Mar 2016 17:37:07 +0000 (10:37 -0700)] 
poky.ent: Added code name for 2.1 release to the variable

Krogoth

(From yocto-docs rev: 619c704632e9316d4953fbccab0416460cdc9a00)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied more review edits to the manual per Eggleton.
Scott Rifenbark [Wed, 23 Mar 2016 15:46:27 +0000 (08:46 -0700)] 
sdk-manual: Applied more review edits to the manual per Eggleton.

(From yocto-docs rev: 8987852ad23e8a4694be55425e2c76bcd4301850)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Created distrodata and checkpkg tasks, updated distrodata class
Scott Rifenbark [Tue, 22 Mar 2016 19:10:18 +0000 (12:10 -0700)] 
ref-manual: Created distrodata and checkpkg tasks, updated distrodata class

Fixes [YOCTO #7894]

I created two new task reference sections: distrodata and
checkpkg.  Also, updated the distrodata class description to
reflect the presence of these new tasks.

(From yocto-docs rev: 3896cbf640d296dafb5eda37f89bba31a47ca8a5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied 2nd round of review edits.
Scott Rifenbark [Tue, 22 Mar 2016 16:49:33 +0000 (09:49 -0700)] 
sdk-manual: Applied 2nd round of review edits.

(From yocto-docs rev: 046b8ed69e0c6403f455e2ec8a0ccc30aea894de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied review edits to the manual.
Scott Rifenbark [Tue, 22 Mar 2016 01:09:13 +0000 (18:09 -0700)] 
sdk-manual: Applied review edits to the manual.

(From yocto-docs rev: be853fb74b28bcf1b27b3b7a8e83012928d4e53a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated the SDK devtool modify flow diagram.
Scott Rifenbark [Tue, 22 Mar 2016 01:08:29 +0000 (18:08 -0700)] 
sdk-manual: Updated the SDK devtool modify flow diagram.

(From yocto-docs rev: 0fa48508dc6da53f4611d41fee9aa946de6cf07b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Fixed a grammar error
Scott Rifenbark [Tue, 22 Mar 2016 01:07:22 +0000 (18:07 -0700)] 
dev-manual: Fixed a grammar error

(From yocto-docs rev: 7b81f29a641cad4f10c3c721c0d40ce11d928648)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual: Updated the SDK devtool modify diagram
Scott Rifenbark [Tue, 22 Mar 2016 01:06:36 +0000 (18:06 -0700)] 
sdk-manual, mega-manual: Updated the SDK devtool modify diagram

Removed the bitbake option and the TMPDIR terminology.

(From yocto-docs rev: c543e00eeb9e9a8074dfb195c971c37c095ecbdd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual, profile-manual, ref-manual: Updates to remove meta-toolchain
Scott Rifenbark [Mon, 21 Mar 2016 22:04:06 +0000 (15:04 -0700)] 
dev-manual, profile-manual, ref-manual: Updates to remove meta-toolchain

The term "meta-toolchain" is legacy now.  I went through and removed
its use except for where it appears still as output from the
oe-init-build-env script.

(From yocto-docs rev: 1cc134060459278997d57f1293f54091c5404d85)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Edits to add extensible SDK configuration sections.
Scott Rifenbark [Mon, 21 Mar 2016 21:25:47 +0000 (14:25 -0700)] 
sdk-manual: Edits to add extensible SDK configuration sections.

(From yocto-docs rev: 378bbceb8ea06c225c4758807e25a35521faa3a9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual, sdk-manual: Changed section heading.
Scott Rifenbark [Mon, 21 Mar 2016 16:01:11 +0000 (09:01 -0700)] 
ref-manual, sdk-manual: Changed section heading.

Changed the heading for "Optionally Building a Toolchain
Installer" to "Building an SDK Installer".  This changes the
heading and many references to that heading.

(From yocto-docs rev: 97d8cd34d0dd0993b1b1135bb75f2212bb46878a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Added some SDK manual support to introduction
Scott Rifenbark [Mon, 21 Mar 2016 15:47:26 +0000 (08:47 -0700)] 
ref-manual: Added some SDK manual support to introduction

(From yocto-docs rev: 6021a1024b51ab65659e132870eb75d1bf53aedb)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoprofile-manual: Updated screen output for oe-init-build-env
Scott Rifenbark [Fri, 18 Mar 2016 00:15:33 +0000 (17:15 -0700)] 
profile-manual: Updated screen output for oe-init-build-env

(From yocto-docs rev: 36029fbcb03487ece65c7c43d9bf1bf20b4fc308)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-dev: Changed a link from an example to in-text.
Scott Rifenbark [Fri, 18 Mar 2016 00:07:03 +0000 (17:07 -0700)] 
kernel-dev: Changed a link from an example to in-text.

Better placement of this link.  It did not need to be in the
<literallayout> example.

(From yocto-docs rev: 53c33ea4cc929e016812f0d3aac0d302758dc0f8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Edits from a 2.1 read-through.
Scott Rifenbark [Thu, 17 Mar 2016 19:59:39 +0000 (12:59 -0700)] 
dev-manual: Edits from a 2.1 read-through.

* Removed some eMenlow stuff
* Cleaned up the description of the BSP structures we have now.
* Various links fixed into the SDK manual.
* Other minor fixes.

(From yocto-docs rev: 5e45005d7ff2254df2754a5ea2d7efd7f1c19a42)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Fixed a typo in one of the variables "ftar" to "tar"
Scott Rifenbark [Thu, 17 Mar 2016 19:59:05 +0000 (12:59 -0700)] 
poky.ent: Fixed a typo in one of the variables "ftar" to "tar"

(From yocto-docs rev: 8ecef805bdb3493052f4d1f951e157f488d83c4d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent, bsp-guide: Removed eMenlow example and updated 2.1 variables
Scott Rifenbark [Thu, 17 Mar 2016 16:01:19 +0000 (09:01 -0700)] 
poky.ent, bsp-guide: Removed eMenlow example and updated 2.1 variables

Probably should have committed these separately but....

 * Updated the BSP guide to use an example that we support.
   I removed the eMenlow stuff completely.

 * Fixed poky.ent so the 15.0.0 stuff is used for the variables.
   This supports the 2.1 release.

(From yocto-docs rev: 598b261725235b6f160561db22bd9f31ec721066)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoyocto-project-qs: Performed a read-through edit.
Scott Rifenbark [Wed, 16 Mar 2016 15:10:27 +0000 (08:10 -0700)] 
yocto-project-qs: Performed a read-through edit.

 * Fixed some wordings
 * Fixed some links for consistency

(From yocto-docs rev: 9737ba3a572140bec892ffb555241a2259bd517a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Updated copyright year and version variables.
Scott Rifenbark [Wed, 16 Mar 2016 14:05:12 +0000 (07:05 -0700)] 
poky.ent: Updated copyright year and version variables.

Set year to 2016 and fixed some variables.

(From yocto-docs rev: d1e15dac45cb689c59d9301af776101336e07bf2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomega-manual: Added two new sections for the sdk manual
Scott Rifenbark [Tue, 15 Mar 2016 18:47:25 +0000 (11:47 -0700)] 
mega-manual: Added two new sections for the sdk manual

(From yocto-docs rev: 89bf843f13563288d556edf13fde8f6ad3c32868)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added some intro stuff about the SDK
Scott Rifenbark [Tue, 8 Mar 2016 15:49:48 +0000 (07:49 -0800)] 
sdk-manual: Added some intro stuff about the SDK

(From yocto-docs rev: 6b829c70349f42d902395a586c84fa21b53227e8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Resolving a conflict
Scott Rifenbark [Wed, 9 Mar 2016 21:30:27 +0000 (13:30 -0800)] 
ref-manual: Resolving a conflict

(From yocto-docs rev: b364516928d04da38ef3188f07f190ffac64762b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual: Added new figure for Eclipse flow.
Scott Rifenbark [Sat, 5 Mar 2016 00:55:40 +0000 (16:55 -0800)] 
sdk-manual, mega-manual: Added new figure for Eclipse flow.

(From yocto-docs rev: 27150d4ed7dded90d726d91d92e4f905d365c3ba)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: WIP on the book.
Scott Rifenbark [Wed, 2 Mar 2016 16:48:50 +0000 (08:48 -0800)] 
sdk-manual: WIP on the book.

(From yocto-docs rev: 140577dd1f91c096152354e711709efe64bbcd0e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual, Makefile: Added new figures
Scott Rifenbark [Wed, 2 Mar 2016 16:47:44 +0000 (08:47 -0800)] 
sdk-manual, mega-manual, Makefile: Added new figures

Added a devtool add and devtool modify flow digram.  Updated
the Makefile to support those figures in the tarball creation.

(From yocto-docs rev: b40692065262dee0209329886b6e3a743c32b1bd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Resolving a conflict
Scott Rifenbark [Tue, 15 Mar 2016 18:31:37 +0000 (11:31 -0700)] 
Makefile: Resolving a conflict

(From yocto-docs rev: 221b8eeee23841395b6323da0893156346dead6f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added a new figure for installed extensible sdk directory.
Scott Rifenbark [Tue, 1 Mar 2016 15:45:10 +0000 (07:45 -0800)] 
sdk-manual: Added a new figure for installed extensible sdk directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied some "red" text formatting to indicate notes
Scott Rifenbark [Tue, 26 Jan 2016 22:57:15 +0000 (14:57 -0800)] 
sdk-manual: Applied some "red" text formatting to indicate notes

I am using "red" text to indicate sections of the manual that
are my development notes.

(From yocto-docs rev: 95b432d852ac3248874a2a958d4a80e59187f062)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Added the ".png" part to a figure I forgot.
Scott Rifenbark [Tue, 26 Jan 2016 18:28:58 +0000 (10:28 -0800)] 
Makefile: Added the ".png" part to a figure I forgot.

I left off the file extension when I added a new figure to the
SDK manual.  This caused the tarball to fail.

(From yocto-docs rev: f1984b00b44ad7f1890adecdb7e2f6dd4af5b96c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added a red-text "role" to the style sheet.
Scott Rifenbark [Tue, 26 Jan 2016 18:26:19 +0000 (10:26 -0800)] 
sdk-manual: Added a red-text "role" to the style sheet.

This allows you to use the following to make a paragraph display
using red-colored text:

  <para role='writernotes'>Here is the sentence.</para>

What this allows is to create areas in the manual that are
easily identified as questions to the reviewers.

(From yocto-docs rev: 007ea508a36f453c66970666490a82885a8749e1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added new section detailing installed SDK directory.
Scott Rifenbark [Tue, 26 Jan 2016 15:18:13 +0000 (07:18 -0800)] 
sdk-manual: Added new section detailing installed SDK directory.

Added text and a new figure to show the resulting directory
structure from running the SDK installation .sh script.

(From yocto-docs rev: 3c5aec4a0088262e60ee6becb5e34552feeb6151)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual-customization: Fixed XSL Appendix numbering parameter
Scott Rifenbark [Tue, 26 Jan 2016 15:15:39 +0000 (07:15 -0800)] 
sdk-manual-customization: Fixed XSL Appendix numbering parameter

The xslproc needs special handling of the statement that applies
the numbering for appendices.  I updated the line to use that
format so when making the file you do not get a billion
unrecognized parameter errors.

(From yocto-docs rev: a2787b7a6d045196c0d524e11531ca3aca41b9c2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Updated the figure list for the mega-manual.
Scott Rifenbark [Tue, 15 Mar 2016 18:05:17 +0000 (11:05 -0700)] 
Makefile: Updated the figure list for the mega-manual.

Including three figs for Toaster manual.

(From yocto-docs rev: c41f9859b6cfc4e34b8e0d0e812fad0b8dd44540)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: WIP - Various small edits as WIP
Scott Rifenbark [Mon, 25 Jan 2016 23:14:57 +0000 (15:14 -0800)] 
sdk-manual: WIP - Various small edits as WIP

(From yocto-docs rev: 53c16de81028d5564a75b4787203d6862258f68e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: New content for outline purposes.
Scott Rifenbark [Sat, 23 Jan 2016 19:01:12 +0000 (11:01 -0800)] 
sdk-manual: New content for outline purposes.

(From yocto-docs rev: bbea46ebb922de6e102e711bb6e63ed8479a6893)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated with two new appendices for new files.
Scott Rifenbark [Sat, 23 Jan 2016 19:00:41 +0000 (11:00 -0800)] 
sdk-manual: Updated with two new appendices for new files.

(From yocto-docs rev: 569f5853fa04d14d73a1e30dadceae62782e4127)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added sdk-environment.png diagram.
Scott Rifenbark [Sat, 23 Jan 2016 19:00:00 +0000 (11:00 -0800)] 
sdk-manual: Added sdk-environment.png diagram.

(From yocto-docs rev: 0f1c4a4714af348483d71e39a31877cb37722fae)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added two appendix files to SDK Manual.
Scott Rifenbark [Sat, 23 Jan 2016 18:59:24 +0000 (10:59 -0800)] 
sdk-manual: Added two appendix files to SDK Manual.

(From yocto-docs rev: ce926aeeb6e5594de53f606910a932b3a54ee5f0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Added sdk-environment.png to figure list for SDK Manual
Scott Rifenbark [Sat, 23 Jan 2016 18:58:25 +0000 (10:58 -0800)] 
Makefile: Added sdk-environment.png to figure list for SDK Manual

(From yocto-docs rev: 5576b989539c9fee989a1c75d142d89c62c4da76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster-manual: Edits to a previous patch.
Scott Rifenbark [Tue, 15 Mar 2016 17:31:34 +0000 (10:31 -0700)] 
toaster-manual: Edits to a previous patch.

I applied some grammar and writing edits to a large patch of new
text.

(From yocto-docs rev: 67cd700131e7cbca5769f25328772406f860d519)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomega-manual, Makefile: Added support for three new toaster figures.
Scott Rifenbark [Tue, 15 Mar 2016 17:30:27 +0000 (10:30 -0700)] 
mega-manual, Makefile: Added support for three new toaster figures.

These figures were added through a patch and needed to also
be local to the figures directory in the mega-manual.

Also, the Makefile must list the figures for the TAR file.

(From yocto-docs rev: 6904899f2df8c531f1d6f7c61482d737b9e93971)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster-manual: Explain the local release
Belen [Mon, 14 Mar 2016 18:40:58 +0000 (18:40 +0000)] 
toaster-manual: Explain the local release

The fact that the Local Yocto Project release does not provide any
compatible layers confuses people. Add a section about the local release
to explain what it does.

[YOCTO #9229]

(From yocto-docs rev: cc7ebcd5a66ff3041a7fdd17e697dfb60b08cadd)

Signed-off-by: Belen <belen@icarus.isw.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodocumentation: remove all references to Hob
Belen Barros Pena [Tue, 15 Mar 2016 16:50:40 +0000 (09:50 -0700)] 
documentation: remove all references to Hob

Hob and the packageinfo class have now been removed from the
code base. This patch removes all references to:

* Hob
* meta-hob
* packageinfo and
* BBLAYERS_NON_REMOVABLE

from the documentation.

So long, Hob, and thanks for all the fish.

(From yocto-docs rev: 6a1ba2761d5c2ec1072616ce3d791787f1b1b2a7)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Updated COREBASE_FILES variable.
Scott Rifenbark [Mon, 14 Mar 2016 13:15:49 +0000 (06:15 -0700)] 
ref-manual: Updated COREBASE_FILES variable.

Applied review comments.  Fixed some wording.

(From yocto-docs rev: 0d1ccaf3dadf890498b3f2b090ece276a537b43c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: include/require checks current directory
Scott Rifenbark [Wed, 23 Mar 2016 21:47:42 +0000 (14:47 -0700)] 
bitbake: bitbake-user-manual: include/require checks current directory

I added wording to note that include/require checks the current
directory in addition to BBPATH

Fixes [YOCTO #8566]

(Bitbake rev: bdad45ebe551912b055ffa349d254ae5947a3ba6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: Updated the "inherit Directive" section.
Scott Rifenbark [Tue, 22 Mar 2016 20:35:28 +0000 (13:35 -0700)] 
bitbake: bitbake-user-manual: Updated the "inherit Directive" section.

Fixes [YOCTO #9283]

Updated the description to document conditional inherits.  Provided
several examples.

(Bitbake rev: 07f97f4d913cf1c8233995152105fff6c6c7b9a0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: Updated the copyright year to 2016
Scott Rifenbark [Tue, 22 Mar 2016 20:35:00 +0000 (13:35 -0700)] 
bitbake: bitbake-user-manual: Updated the copyright year to 2016

(Bitbake rev: ea6d31a569d18b07cfc977d994a320a588c4f9c2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toasterui: remove ParseStarted from the event list
Ed Bartosh [Thu, 17 Mar 2016 11:59:02 +0000 (11:59 +0000)] 
bitbake: toasterui: remove ParseStarted from the event list

bb.event.ParseStarted event is not processed by toasterui, but
present in event list. This causes the following error:
   WARNING: Unknown event: <bb.event.ParseStarted object at ...
and non-zero return code:
   WARNING: Return value is 1

(Bitbake rev: 1cc102f3d83d9467a3a3c422254333796ba95605)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toasterui: Remove the excessive exception logging
Michael Wood [Thu, 17 Mar 2016 11:49:16 +0000 (11:49 +0000)] 
bitbake: toasterui: Remove the excessive exception logging

Remove the very verbose log dump from toasterui. This generates several
megabytes of not that useful debug information and actually hinders
finding the original exception.

(Bitbake rev: a21dc134bdce2c9eb5e47c770094660f0c45c398)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cache: Make BB_DONT_CACHE variable external
Markus Lehtonen [Tue, 22 Mar 2016 14:59:55 +0000 (16:59 +0200)] 
bitbake: cache: Make BB_DONT_CACHE variable external

This makes it possible to prevent a recipe to be cached, and thus,
parsed every time.

Use with care.

[YOCTO #8853]

(Bitbake rev: 78335c1fbe5266116700c2413aac28b00423a75b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: orm generate CustomImageRecipe contents try secondary path
Michael Wood [Wed, 23 Mar 2016 08:28:40 +0000 (08:28 +0000)] 
bitbake: toaster: orm generate CustomImageRecipe contents try secondary path

Try a secondary file path if the first does not exist. When we get the
recipe paths and layer information from the layer index it is not a
complete path but we are usually able to reconstruct it. If the complete
real path has been discovered by building then use this instead.

[YOCTO #9206]

(Bitbake rev: 238db2e03405d259d48dfc477a276191e6a47698)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: localhostbecontroller put generated layer in the builddir
Michael Wood [Wed, 23 Mar 2016 08:28:39 +0000 (08:28 +0000)] 
bitbake: toaster: localhostbecontroller put generated layer in the builddir

Move the generated layer for custom recipes into the build directory.
The build directory makes more sense as this layer/recipe is generated
for a particular build/project.

(Bitbake rev: 77f3728ee6ea379bffcf73f33c26e982cb0795f4)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: localhostbecontroller Allow file:/// uri type for git repo
Michael Wood [Wed, 23 Mar 2016 08:28:38 +0000 (08:28 +0000)] 
bitbake: toaster: localhostbecontroller Allow file:/// uri type for git repo

We don't need to skip file:/// uri type locations for git repositories.
If you're using a file:/// uri you should know that it has to be a local
path.

[YOCTO #9200]

igned-off-by: Michael Wood <michael.g.wood@intel.com>
(Bitbake rev: 4d0e5804103c2d98d038b3c490cac37a73f3cc47)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: orm Add a constant for the CustomImageRecipe's layer name
Michael Wood [Wed, 23 Mar 2016 08:28:37 +0000 (08:28 +0000)] 
bitbake: toaster: orm Add a constant for the CustomImageRecipe's layer name

Use a constant to define the name for the toaster custom images layer;
this constant is then used to identify this layer in various places.

(Bitbake rev: 2540969ec71612af7f9041cadcc401513e9b357b)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: localhostbecontroller Don't clear out toaster custom layer dir
Michael Wood [Wed, 23 Mar 2016 08:28:36 +0000 (08:28 +0000)] 
bitbake: toaster: localhostbecontroller Don't clear out toaster custom layer dir

We may have a recipe which is based on a custom image recipe that has
already been built so keep the recipe file around so that it can be read
by the generate recipe function.

(Bitbake rev: 502148fe498fe0a41ae89c9f649d3cb1253b0487)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoparselogs: add new whitelist entries to address 4.4.3 issues
Saul Wold [Tue, 22 Mar 2016 08:52:39 +0000 (08:52 +0000)] 
parselogs: add new whitelist entries to address 4.4.3 issues

Adds intel-corei7-64 with x86-common, this makes the x86-common
whitelist available for intel-corei7-64 bsp also.

[YOCTO #9179]

(From OE-Core rev: 34e7292fb40635cee1f1237ac3156530f8dfce37)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>