]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agopigz: pigz is not gzip
Ross Burton [Mon, 22 Jan 2018 16:15:30 +0000 (16:15 +0000)] 
pigz: pigz is not gzip

Whilst pigz is effectively a parallel gzip, the command line arguments are not
the same so pigz isn't a drop-in replacement for gzip.

[ YOCTO #12139 ]
[ YOCTO #12410 ]

(From OE-Core rev: 1624b7bfea7ac31c344a6cfcc7865a038e943814)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoexpat: remove old workaround for expat tarball
Ross Burton [Mon, 5 Feb 2018 17:40:38 +0000 (17:40 +0000)] 
expat: remove old workaround for expat tarball

Back in 2010 the expat 2.0.1 tarball wouldn't unpack correctly with old gzip
releases (prior to 1.4).  The fix was to explicitly depend on gzip-native to use
our binary instead of the host[1].

We don't ship expat 2.0.1 anymore, and even Centos 7 ships gzip 1.5, so this
workaround can be removed.

[1] oe-core 0ff62b0462f3f64672bd4704de9a192eb1a730d1

(From OE-Core rev: adc3da99a50c3eb1a1625990e563b7d37f29e3ba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoexpat: merge bb and inc
Ross Burton [Mon, 5 Feb 2018 17:39:59 +0000 (17:39 +0000)] 
expat: merge bb and inc

(From OE-Core rev: 0bc7c11060d82d5658c79e5ff048c5ef141d0b43)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoelfutils: Use fallthrough attribute
Joshua Watt [Mon, 12 Feb 2018 16:52:12 +0000 (10:52 -0600)] 
elfutils: Use fallthrough attribute

Patches elfutils to use the fallthrough attribute instead of comments to
satisfy the -Wimplicit-fallthrough warning. Using comments is
insufficient when compiling remotely with Icecream because the file gets
pre-processed locally, removing the comments

(From OE-Core rev: cd44cee91b5b17ddf617950d84513d481ab34f58)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-toolchain: Disable caret workaround
Joshua Watt [Mon, 12 Feb 2018 16:52:11 +0000 (10:52 -0600)] 
icecc-toolchain: Disable caret workaround

Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.

Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results. Users can override this
default in the SDK by defining ICECC_CARET_WORKAROUND="1" either before
or after sourcing the SDK environment.

(From OE-Core rev: 8933c2b5cfa59f2289c574e196f945556790c7c1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Disable caret workaround by default
Joshua Watt [Mon, 12 Feb 2018 16:52:10 +0000 (10:52 -0600)] 
icecc.bbclass: Disable caret workaround by default

Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.

Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results.

(From OE-Core rev: a1488291c5733a113c28475352eded61bf52bfe8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Add Icecream support to SDK
Joshua Watt [Mon, 12 Feb 2018 16:52:09 +0000 (10:52 -0600)] 
icecc.bbclass: Add Icecream support to SDK

If icecc is inherited, generated SDKs will automatically have optional
support for compiling using the Icecream distributed compiler

(From OE-Core rev: dea45ac88251b22b0b74dc4b3ba6ca13fe0b86d6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-toolchain: Add SDK icecream setup
Joshua Watt [Mon, 12 Feb 2018 16:52:08 +0000 (10:52 -0600)] 
icecc-toolchain: Add SDK icecream setup

Icecream can now be optionally included in the generated SDK by
including nativesdk-icecc-toolchain to TOOLCHAIN_HOST_TASK. When the SDK
is installed a post-relocation script will check if icecc exists and if
so will generate the toolchain environment.

(From OE-Core rev: 7e524096879e821256812633ce37cda4b85b3073)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotoolchain-shar-extract: Add post-relocate scripts
Joshua Watt [Mon, 12 Feb 2018 16:52:07 +0000 (10:52 -0600)] 
toolchain-shar-extract: Add post-relocate scripts

Recipes can now install post-relocation scripts which will be run when
the SDK is installed.

(From OE-Core rev: 93ec145f421a45077b40ae99ee6a96bc11f91f18)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Allow multiple tool aliases
Joshua Watt [Mon, 12 Feb 2018 16:52:06 +0000 (10:52 -0600)] 
icecc-create-env: Allow multiple tool aliases

When files are added to the environment, multiple aliases can be given
for the file (by calling add_path multiple times with a second
argument). All of these names will end up with a symlink to the original
file.

(From OE-Core rev: 0a5bbad5810b69fa09dbd8d886e4f368310a5db9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Add support for nativesdk
Joshua Watt [Mon, 12 Feb 2018 16:52:05 +0000 (10:52 -0600)] 
icecc-create-env: Add support for nativesdk

icecc-create-env can now be built as a nativesdk recipe, allowing the
script to be included as part of an SDK

(From OE-Core rev: fa7929ed70ed39a202bd2dc935d460dd57e38ffd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Fix executable rpaths
Joshua Watt [Mon, 12 Feb 2018 16:52:04 +0000 (10:52 -0600)] 
icecc-create-env: Fix executable rpaths

Executables in the toolchain archive occasionally contain runtime
library search paths (RPATH) that use the $ORIGIN placeholder. However,
in order for that placeholder to work, /proc must be mounted. When
iceccd executes the toolchain in the chroot environment, it doesn't
mount /proc, so it is unable to resolve $ORIGIN resulting in a failure
to find dynamic libraries.

The fix is to replace $ORIGIN in executable RPATH entries with the known
chroot executable path. In order for this to work, the actual real path
to the executable must be resolved to remove any symlinks, otherwise the
calculate $ORIGIN replacement will be wrong. This is done by using
"readlink -f", which is an acceptable dependency because Yocto already
requires it.

(From OE-Core rev: cfe98765b40c28a132b5a4bce39f71f06b4eb0bc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Archive directory
Joshua Watt [Mon, 12 Feb 2018 16:52:03 +0000 (10:52 -0600)] 
icecc-create-env: Archive directory

Taring up the toolchain is now done by adding the entire working
directory, instead of listing all the files individually. This is done
because the list of files may contain ".." entries, which tar does not
like and strips out, resulting in bad archives. This should result in an
identical archive to what was previously generated.

In addition, symbolic links are no longer dereferenced when creating the
archive, as they are purposely included to provide alternate names for
files

(From OE-Core rev: 122d6a5bdcbc494bba0fa2b213d730500f6f7dbc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Symlink alternate names
Joshua Watt [Mon, 12 Feb 2018 16:52:02 +0000 (10:52 -0600)] 
icecc-create-env: Symlink alternate names

Instead of renaming files to a new path in the toolchain archive, keep
the files with their original paths and create a relative symbolic link
from the new path to the original file.

(From OE-Core rev: 256f8f6cc5b520b59cfdc44aa076f71990e18e2c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Use program interpreter for deps
Joshua Watt [Mon, 12 Feb 2018 16:52:01 +0000 (10:52 -0600)] 
icecc-create-env: Use program interpreter for deps

ldd cannot always be used to determine a program's dependencies
correctly, particularly when the program specifies an alternate program
interpreter (dynamic loader). This commonly happens when using a
uninative tarball. Instead, determine the program's requested
interpreter, and ask it to list the dependencies.

(From OE-Core rev: 96d5831ef0e535d3f91acd3e979316355fbde04e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Add /bin/true to environment
Joshua Watt [Mon, 12 Feb 2018 16:52:00 +0000 (10:52 -0600)] 
icecc-create-env: Add /bin/true to environment

icecream daemons execute /bin/true from the environment as a check to
determine if the environment is valid at all, so it needs to be
included.

(From OE-Core rev: c86aa6edab842c579177fe5c1f8647290b58fe61)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Reformat
Joshua Watt [Mon, 12 Feb 2018 16:51:59 +0000 (10:51 -0600)] 
icecc-create-env: Reformat

The environment script used an annoying mix of tabs and spaces and no
mapping of tabs to spaces would produce pleasant indentation. Reformat
to eliminate tab characters and settle on 4 spaces for indentation
(which matches the upstream icecream script from which this is derived)

(From OE-Core rev: 884c2436a6dbcb6bff99409a80276b9ef5690875)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Skip canadian-cross compiles
Joshua Watt [Mon, 12 Feb 2018 16:51:58 +0000 (10:51 -0600)] 
icecc.bbclass: Skip canadian-cross compiles

icecc.bbclass will no longer attempt to distribute cross-canadian
compiles. While it is technically possible to generate a toolchain that runs
on the build system and generates executables for the host system, this
is not the normal way that icecc operates. There are so few of these
recipes that it is probably not worth maintaining a distinct code path
for them.

(From OE-Core rev: b8a39cf5884d4ab85e82c4437b81b5fbba06137e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage
Joshua Watt [Mon, 12 Feb 2018 16:51:57 +0000 (10:51 -0600)] 
icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage

STAGING_BINDIR_TOOLCHAIN is actually a path list, not a single path. Fix
icecc.bbclass to try all the paths in the variable instead of treating
it as a single path.

(From OE-Core rev: 8db0d3c14c166265b740030c208e0e19a0b2a1c6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Move to shared work directory
Joshua Watt [Mon, 12 Feb 2018 16:51:56 +0000 (10:51 -0600)] 
icecc.bbclass: Move to shared work directory

Generate the icecc toolchains in a shared work directory. This class was
already setup to correctly synchronize creating the toolchains in a
shared location before the RSS changes, so return to that behavior
instead of generated the toolchains in each recipe's sysroot.
Additionally, it makes no sense for each recipe to generate a toolchain,
only to find it was already generated and uploaded to the compile server
by another recipe.

(From OE-Core rev: 20a53ac7818f268d4a4c86c8f35ca982baf96acf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoyocto-bsp: delete bbappends for removed kernels
Bruce Ashfield [Tue, 6 Feb 2018 16:47:23 +0000 (11:47 -0500)] 
yocto-bsp: delete bbappends for removed kernels

4.4/4.9/4.10 are gone from oe-core master, so we can drop our
bbappends.

4.12 will be removed in the future and 4.14/4.15 added, but all
default versions should be 4.12+ now.

(From meta-yocto rev: fd333864ce66ca32828b3d290ea8aae4f489de9b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopoky-tiny: bump to v4.14
Bruce Ashfield [Tue, 6 Feb 2018 16:34:29 +0000 (11:34 -0500)] 
poky-tiny: bump to v4.14

Updating poky-tiny to the latest LTS kernel as the default version.

(From meta-yocto rev: 2623111ae35218e596eac44509b1d12291840d44)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopoky: update default kernel to v4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:34:28 +0000 (11:34 -0500)] 
poky: update default kernel to v4.15

Updating the default kernel for qemu* to be v4.15. This allows easy
integration of the latest fixes/features for new BSPs. 4.14 is also
available as a LTS kernel option.

(From meta-yocto rev: cdd79c0f879e5e4c480773c4507f921533e17914)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopoky-lsb: update default kernel to v4.14
Bruce Ashfield [Tue, 6 Feb 2018 16:34:27 +0000 (11:34 -0500)] 
poky-lsb: update default kernel to v4.14

4.14 is a LTS/LTSI kernel and we are dropping anything older than
4.12 in master. As such, we make 4.14 the default for poky-lsb.

(From meta-yocto rev: ba6d172fd405dcc28c13f73aec1d1034a10bfc1d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs
Kevin Hao [Fri, 2 Feb 2018 01:35:21 +0000 (09:35 +0800)] 
meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs

Bump to the latest stable kernel for 4.4, 4.9 and 4.12.

(From meta-yocto rev: 4e71a79346351f8026a65cfbd68ed0bc8f5eed5c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: Improve package stripping
Richard Purdie [Wed, 14 Feb 2018 14:43:42 +0000 (14:43 +0000)] 
ltp: Improve package stripping

Just exclude the specific tests which have an issue with being stripped
rather than the whole package. This reduces the disk footprint by around
400MB.

(From OE-Core rev: 460ccb6e2c5e858614cb61f21923062b55ff325e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage: Add INHIBIT_PACKAGE_STRIP_FILES to allow files to remain unstripped
Richard Purdie [Wed, 14 Feb 2018 14:40:55 +0000 (14:40 +0000)] 
package: Add INHIBIT_PACKAGE_STRIP_FILES to allow files to remain unstripped

There are cases where its useful to allow only a select few files
to be excluded from the package stripping mechanism. Currently
this isn't possible so add a variable to allow this.

This is to be used sparingly as in general the core code should be
doing the right thing. This is better than the alternative of leaving the whole
package unstripped.

(From OE-Core rev: 92845c65f8801de7dfa34c87b22ca2e66f18557a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoeudev: bump up to version 3.2.5
Chang Rebecca Swee Fun [Thu, 8 Feb 2018 08:51:14 +0000 (16:51 +0800)] 
eudev: bump up to version 3.2.5

This upgraded version of eudev includes:
- Headers to build under glibc-2.25 and above
- Bug fix on ata_id
- Misc: rules and hardware database update

(From OE-Core rev: 99e9b805d2cffcca5e6fc1750e52026a6e4c78a0)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe-selftest: meta_ide: add tests for meta-ide-support
Yeoh Ee Peng [Thu, 8 Feb 2018 00:01:04 +0000 (16:01 -0800)] 
oe-selftest: meta_ide: add tests for meta-ide-support

QA team were testing meta-ide-support manually. Add automated
tests to test that bibtake meta-ide-support will create the
toolchain and environment setup script. Also test that after
using environment setup script, one can compile c program
and build cpio project.

(From OE-Core rev: db40eba68f51d02677526dfa4bc21343d9c27958)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: update recipe ownership
Chang Rebecca Swee Fun [Thu, 8 Feb 2018 08:51:15 +0000 (16:51 +0800)] 
maintainers.inc: update recipe ownership

Remove recipe for sato-icon-theme that was obsolete since YP 2.2
release and change ownership for eudev recipe.

(From OE-Core rev: 06b32fd41d911dad7acf31ec1cdeff29585fac08)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT
Vineeth Chowdary Karumanchi [Thu, 8 Feb 2018 06:29:36 +0000 (11:59 +0530)] 
kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT

64 bit entry point should be passed in 2 literals ( "0x1 0x00008000"
).ENTRYPOINT is assigned with first half only and erroring out as
'command not found' for the second half. Adding quotes while assignment fixes the
issue.

(From OE-Core rev: e886c9c5e1a8ab28388a2e8bbb936ad5eea78615)

Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomachines: bump default linux-yocto to v4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:22:00 +0000 (11:22 -0500)] 
machines: bump default linux-yocto to v4.15

Ensure that the qemu* machines are building the latest available
kernel in master.

(From OE-Core rev: 3980f21a74ad201d8cb8f5ef6fb732fdfacd641f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.9: drop recipe
Bruce Ashfield [Tue, 6 Feb 2018 16:21:59 +0000 (11:21 -0500)] 
linux-yocto/4.9: drop recipe

As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

(From OE-Core rev: fcac38960af535f3b165f862dd5f4dbca43976a7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.4: drop recipe
Bruce Ashfield [Tue, 6 Feb 2018 16:21:58 +0000 (11:21 -0500)] 
linux-yocto/4.4: drop recipe

As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

(From OE-Core rev: 79d679b2f4a1c540f6c8b8fd3f268aa5c2634d57)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.10: drop recipe
Bruce Ashfield [Tue, 6 Feb 2018 16:21:57 +0000 (11:21 -0500)] 
linux-yocto/4.10: drop recipe

As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

(From OE-Core rev: 3a5e61548746e7dcb39d7e6c69467ddb86c25f08)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-modules: update to v2.10.5 for kernel 4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:21:56 +0000 (11:21 -0500)] 
lttng-modules: update to v2.10.5 for kernel 4.15

(From OE-Core rev: 7f00a5161889a422d83dc113521d9241fdd89abf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: pinctrl backports
Bruce Ashfield [Tue, 6 Feb 2018 16:21:55 +0000 (11:21 -0500)] 
linux-yocto/4.12: pinctrl backports

Backporting the following pinctrl commits to enable controllers on
Intel Cannon Lake:

  4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support
  044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support
  2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group
  55b9053b5a5a pinctrl: intel: Add support for variable size pad groups

(From OE-Core rev: 4c05eb243c2cf10304383f6265721b695750cb9b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-libc-headers: update to v4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:21:54 +0000 (11:21 -0500)] 
linux-libc-headers: update to v4.15

(From OE-Core rev: ef96628d850f1154c7e59bca418ef3a7c9a2bcc1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto: introduce 4.15 recipes
Bruce Ashfield [Tue, 6 Feb 2018 16:21:53 +0000 (11:21 -0500)] 
linux-yocto: introduce 4.15 recipes

This commit makes the 4.15 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.

It has been tested for x86,arm,mips and powerpc against the lsb, core*
and glibc/mulsc test matrix.

This will serve as the "latest" kernel in master, with others being
removed in subsequent commits.

(From OE-Core rev: 2bb69c16b4e43b74c60d4269174dbfcdb6ab54fe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto: introduce 4.14 recipes
Bruce Ashfield [Tue, 6 Feb 2018 16:21:52 +0000 (11:21 -0500)] 
linux-yocto: introduce 4.14 recipes

This commit makes the 4.14 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.

It has been tested for x86,arm,mips and powerpc against the
lsb, core* and glibc/mulsc test matrix.

This will serve as the LTS kernel in master, with others being
removed in subsequent commits.

(From OE-Core rev: 04254d4cc9e6399afd027727864e237cb8006d6d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython-xcbgen: improve reproducibility
Hongxu Jia [Mon, 5 Feb 2018 01:27:59 +0000 (20:27 -0500)] 
python-xcbgen: improve reproducibility

Use relative path to generate .pyc files could remove build host
references which leads to non-reproducible builds.

(From OE-Core rev: 230890227304e27acd074a3c748812d7a603d511)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutility-tasks: Drop fetchall and checkuriall tasks
Richard Purdie [Fri, 9 Feb 2018 09:48:48 +0000 (09:48 +0000)] 
utility-tasks: Drop fetchall and checkuriall tasks

The same thing can now be done with "bitbake <target> --runall=fetch"
or "bitbake <target> --runall=checkuri".

Dropping the tasks takes "bitbake core-image-sato -g" from 22s to 8s
since it no longer has to resolve the recursive dependencies (it
doesn't know if any given target will touch them or not until it
computes them). That is a significant enough win that its worth any
impact this may have on the small number of users using the tasks.

(From OE-Core rev: 8bbb43e948af45d0fa5ab31b456147f691fa2ec3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake-user-manual: Added google-repo fetcher and REPODIR var.
Nicolas Cornu [Fri, 9 Feb 2018 16:42:07 +0000 (08:42 -0800)] 
bitbake: bitbake-user-manual: Added google-repo fetcher and REPODIR var.

Added a new repo Fetcher section in the same spirit as the existing
sections for other supported fetchers.  Changes included the new section,
removal of the bulleted item that mentioned this fetcher as an
"additional" fetcher, and the creation of a new variable in the glossary
named REPODIR.

(Bitbake rev: 1cf084cee506574b7bb6ed03344597b3b2f2fe08)

Signed-off-by: Nicolas Cornu <nicolac76@yahoo.fr>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: toaster: don't use git fetch --all
Robert Yang [Thu, 8 Feb 2018 04:29:38 +0000 (12:29 +0800)] 
bitbake: bitbake: toaster: don't use git fetch --all

The '--all'' fetches all remotes, including the ones in $HOME/.gitconfig, which
causes the fetching very slow, so don't use "--all", git fetch should be
enough.

(Bitbake rev: 038a5f4b767df7944e73b2e859ac3af2d3a08bf1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: fetch2: Handle missing donestamp file when content is valid
Nathan Rossi [Fri, 2 Feb 2018 13:51:15 +0000 (23:51 +1000)] 
bitbake: fetch2: Handle missing donestamp file when content is valid

In order to allow users to manually populate the download directory with
valid content change the assumption that missing the donestamp file
means unfetched content.

This allows users to populate the download dir without needing to create
dummy .done files such that a user does not need a PREMIRROR when using
BB_NO_NETWORK to provide valid content files in the download directory.

To ensure the correct result this change also fails first if the
localpath does not exist. This prevents further parts of the function
attempting to calculating the checksum on non-existent files. This also
fixes some edge conditions around where if the donestamp exists but the
localpath does not it returns, and did not remove the donestamp.

Also added test cases to cover this use case and additional use cases
where for example the fetcher does not support checksums.

(Bitbake rev: a335dbbb65d5b56e71d98cf3e4fa9bfbec1dcde6)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: fetch2/npm.py: Fix inverted condition to prevent infinite loop
Böszörményi Zoltán [Sun, 4 Feb 2018 08:36:15 +0000 (09:36 +0100)] 
bitbake: fetch2/npm.py: Fix inverted condition to prevent infinite loop

At least the cli-color node module has dependencies that have
cyclic dependency among themselves. npm.py is prepared to deal
with such a case but the condition is handled only for downloading
or not a dependency again, but then it goes checking the its
dependency which causes an infinite loop in _getdependencies().
Make this function simply return when a dependency is already
downloaded and only download and check its dependencies when not.

(Bitbake rev: 545540420112992e53f4a83104af10452df168d0)

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: contrib/dump_cache.py: make it can dump everything
Robert Yang [Wed, 7 Feb 2018 08:01:59 +0000 (16:01 +0800)] 
bitbake: contrib/dump_cache.py: make it can dump everything

Have a simple tool to dump bb_cache.dat is useful for investigating and
studying bitbake cache. The old contrib/dump_cache.py can dump pn, pv and
packages for it, now enhance it dump everything.

Here is the usage:
$ /path/to/dump_cache.py --help
usage: dump_cache.py [-h] [-r RECIPE] [-m MEMBERS] [-s] cachefile

bb_cache.dat's dumper

positional arguments:
  cachefile             specify bb_cache.dat

optional arguments:
  -h, --help            show this help message and exit
  -r RECIPE, --recipe RECIPE
                        specify the recipe, default: all recipes
  -m MEMBERS, --members MEMBERS
                        specify the member, use comma as separator for
                        multiple ones, default: all members
  -s, --skip            skip skipped recipes

Use dump_cache.py --help to get help

(Bitbake rev: 104572438dfedf6025fbfd125aef1d56134012e7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: parse: fixes for resolve_file()
Robert Yang [Thu, 1 Feb 2018 15:15:27 +0000 (23:15 +0800)] 
bitbake: bitbake: parse: fixes for resolve_file()

The resolve_file() calls mark_dependency(), so the one which calls
resolve_file() doesn't need call mark_dependency() again.

(Bitbake rev: 4682571107323a39b42cd9ec8ee67419e7f15acc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: cache: improve debug message
Robert Yang [Thu, 1 Feb 2018 15:15:26 +0000 (23:15 +0800)] 
bitbake: bitbake: cache: improve debug message

* Print message when cachefile is found/not can help debug.
* Update "Using cache in" to "Cache dir:" since it was the same as the debug
  message of "codeparser & file checksum caches", which caused confusion. And
  whether the cache file will be used or not is still unknown at that time, so
  just print the cache dir.

(Bitbake rev: c8d3a2016f432e8ed9e99d9c28850149ab6fd6d8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: cooker: don't stop file notifier when cooker is shutdown
Robert Yang [Thu, 1 Feb 2018 15:15:24 +0000 (23:15 +0800)] 
bitbake: bitbake: cooker: don't stop file notifier when cooker is shutdown

It should be live/exited with server rather than cooker, fixed:
$ bitbake --server-only -T -1
Set MACHINE = "qemux86" in conf/local.conf
$ bitbake quilt
Set MACHINE = "qemuppc" in conf/local.conf
$ bitbake quilt
[snip]
ERROR: When reparsing /workspace1/lyang1/poky/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb.do_package, the basehash value changed from c216f7f4fdd3cf4a0b10b975a636426c to d5a8e9431ab261381752d7a64c7b2fa9. The metadata is not deterministic and this needs to be fixed.
[snip]

This is because the server doesn't know local.conf is changed since the
notifiers are stopped, so it doesn't reparse, and then we would get the errors,
let the notifiers live/exited with server can fix the problem.

(Bitbake rev: a6a641cb9c5f3abe901b150da915372e295383d7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: cooker: fix for BBFILE_PATTERN matches bbappend
Robert Yang [Thu, 1 Feb 2018 15:15:23 +0000 (23:15 +0800)] 
bitbake: bitbake: cooker: fix for BBFILE_PATTERN matches bbappend

The old code couldn't handle nestled layers correctly, e.g.:
parent_layer/sub_layer/foo.bb

Note there are two layers, parent_layer and sub_layer.
And in parent_layer/conf/layer.conf:
BBFILE_PATTERN_parent_layer = ""^${LAYERDIR}/"

This setting is incorrect since it also matches parent_layer/sub_layer/foo.bb,
so it warns that no files matched sub_layer, this is the expected behavior, but
it doesn't warn when there is a parent_layer/sub_layer/bar.bbappend, this was
incorrect since the bbappend is also matched by BBFILE_PATTERN_parent_layer, it
should warn and let the user fix the problem. Check the bbappend in already
"matched set" before return it as matched by "unmatched set" can fix the problem.

(Bitbake rev: ec90245d28e52ea718d2ce084eb304cdc4355c9c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: cooker: skip when BBFILE_PATTERN is empty
Robert Yang [Thu, 1 Feb 2018 15:15:22 +0000 (23:15 +0800)] 
bitbake: bitbake: cooker: skip when BBFILE_PATTERN is empty

There is nothing to do when BBFILE_PATTERN is empty.

(Bitbake rev: b7da31641c24c53d47ea45a7119d1bd353011b39)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: fetch/git: Use 'git-make-shallow' from bin directory
Nathan Rossi [Fri, 2 Feb 2018 14:04:30 +0000 (00:04 +1000)] 
bitbake: fetch/git: Use 'git-make-shallow' from bin directory

Move the code that existed in tests/fetch.py for determining the path to
'git-make-shallow' into the git module and reference it.

This ensures that 'git-make-shallow' is always available and the desired
version regardless of the path variable or whether git exposes the
command.

(Bitbake rev: 6b508ab8fd5aa796c1c00c970e81e5e93f84d35d)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: main/runqueue: Rework runall task and add runonly option
Richard Purdie [Fri, 9 Feb 2018 09:21:00 +0000 (09:21 +0000)] 
bitbake: main/runqueue: Rework runall task and add runonly option

The runall commandline option was confusing people. There are in fact two
different behaviours people may want.

a) For a given target (or set of targets) look through the task graph and
run task X only if its present and would have been built.

b) For a given target (or set of targets) look through the task graph and
run task X if any recipe in the taskgraph has such a target even if it wasn't
in the original task graph.

I've decided to interpret the existing "runall" option as b), even if right
now if behaves like a). For a), which is a valid use case, this patch adds
a "runonly" option.

With both behaviours present, I'm hoping we can then kill off the "fetchall",
"checkuriall" and other tasks from OE metadata and replace them with this
option. This would significantly speed up task graph processing.

(Deleting the checkuriall and fetchall tasks takes "bitbake core-image-sato -g"
from 22s to 8s).

(Bitbake rev: 546a662c877b2d3af35e3996950582ed2df41fe4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Fixed variable link to DEFAULTTUNE variable
Kristi Rifenbark [Tue, 13 Feb 2018 00:44:18 +0000 (16:44 -0800)] 
dev-manual: Fixed variable link to DEFAULTTUNE variable

Fixed [YOCTO #12458]

(From yocto-docs rev: 161d7ec7c81db93120af11b07162b36785614302)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added 16.04 as the LTS for Ubuntu
Kristi Rifenbark [Mon, 12 Feb 2018 23:32:01 +0000 (15:32 -0800)] 
ref-manual: Added 16.04 as the LTS for Ubuntu

Fixed [YOCTO #12537]

(From yocto-docs rev: 20a80210eeefddff91a6ea669a63c417144a529c)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started, dev-manual: Created Layer Model section
Scott Rifenbark [Mon, 12 Feb 2018 17:11:37 +0000 (09:11 -0800)] 
getting-started, dev-manual: Created Layer Model section

This involved removing the general information about layers from
the dev-manual and incorporating it into the new section of the
getting-started manual.

(From yocto-docs rev: 26438b03751948661f48fb0c023e393101b80e19)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started, mega-manual: New content for intro chapter
Scott Rifenbark [Fri, 9 Feb 2018 20:43:21 +0000 (12:43 -0800)] 
getting-started, mega-manual: New content for intro chapter

Created content for "What is the Yocto Project" section.
Involved a new figure that had to be shared in the mega-manual
figures folder.

(From yocto-docs rev: 72c18abd11587f4d78848afb8a71ff7f4a0e76d0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started, mega-manual: Added new GS chapter
Scott Rifenbark [Tue, 6 Feb 2018 18:46:38 +0000 (10:46 -0800)] 
getting-started, mega-manual: Added new GS chapter

I have added a chapter to the getting-started manual that will
introduce the YP.  Just the framework exists at this point.
Changes to the mega-manual.xml file were made to include the
new chapter in that manual as well.

(From yocto-docs rev: 8a52156ac02d9a9a97c5f0cd8dce5f70d2be68d0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started: Chapter title change
Scott Rifenbark [Tue, 6 Feb 2018 18:05:22 +0000 (10:05 -0800)] 
getting-started: Chapter title change

Updated the manual introduction chapter's title.

(From yocto-docs rev: db067668a6202318bbbcc62cc455c34e099182de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Removed Ubuntu 14.04 from Supported Linux Distribution
Kristi Rifenbark [Fri, 9 Feb 2018 23:16:15 +0000 (15:16 -0800)] 
ref-manual: Removed Ubuntu 14.04 from Supported Linux Distribution

Fixes [YOCTO #12537]

(From yocto-docs rev: 1bfa46614a93320c44ddc31fa8866e82c5349293)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Moved the detailed build section to concepts-manual.
Scott Rifenbark [Fri, 2 Feb 2018 18:11:58 +0000 (10:11 -0800)] 
documentation: Moved the detailed build section to concepts-manual.

The section that provides a closer look into the build system has
moved from the getting-started manaul to the concepts-manual.
I fixed all the links, provided some coded formatting of the
entire section, and made general updates.

The other manuals had links that needed fixed due to the move.

(From yocto-docs rev: b83a5619f56ebd9879fdcadcf474859e68b26d58)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoMakefile: Updated tarball lists for figures
Scott Rifenbark [Fri, 2 Feb 2018 18:09:35 +0000 (10:09 -0800)] 
Makefile: Updated tarball lists for figures

The list of *.png files included in the TARBALL variable setting
changed due to figures moving from the getting-started manual to
the concepts-manual.

(From yocto-docs rev: 1439fa9f22a2b2746aa8e8303205f5ec33c7f67b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started: Removed unused figures
Scott Rifenbark [Fri, 2 Feb 2018 18:08:32 +0000 (10:08 -0800)] 
getting-started: Removed unused figures

The figures from the deeper look of the build section got moved
to the concepts manual.  Removed these unused figures.

(From yocto-docs rev: 13175a89b6d7bf79a86f4ac45d5f2cd78ba02108)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Added figures for closer look section
Scott Rifenbark [Fri, 2 Feb 2018 18:06:56 +0000 (10:06 -0800)] 
concepts-manual: Added figures for closer look section

Had to move these figures from the getting-started manual to
the concpets manual.

(From yocto-docs rev: ba221db465a7535197d9e29f5136ef2d3a6e3171)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, getting-started: Moved the BB syntax section
Scott Rifenbark [Thu, 1 Feb 2018 18:30:31 +0000 (10:30 -0800)] 
dev-manual, getting-started: Moved the BB syntax section

This section on BitBake syntax appeared in the Getting Started
manual.  I decided that it should live with the section on
writing a new recipe.

(From yocto-docs rev: 8d83ce3e11405b2f12f27cdd117a19c4af52146a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Updated the introduction text.
Scott Rifenbark [Wed, 31 Jan 2018 21:10:41 +0000 (13:10 -0800)] 
concepts-manual: Updated the introduction text.

(From yocto-docs rev: f8ee4c23b46bb02cf82d26ed6c1849cae0cad51f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: General edits
Scott Rifenbark [Wed, 31 Jan 2018 21:03:11 +0000 (13:03 -0800)] 
concepts-manual: General edits

Removed redundant links, changed some wordings.  This was a general
scrub of the prose.

(From yocto-docs rev: 2c0ff0af7df3aa46fc05aaf28039a2ffb380424a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Updated toolchain fig to use "*_ext"
Scott Rifenbark [Wed, 31 Jan 2018 21:02:43 +0000 (13:02 -0800)] 
concepts-manual: Updated toolchain fig to use "*_ext"

(From yocto-docs rev: 64f3edd786779a1c1a7da8a5005c653a4ff8ce2a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated "Build System" term to "Build Host"
Scott Rifenbark [Wed, 31 Jan 2018 21:01:48 +0000 (13:01 -0800)] 
ref-manual: Updated "Build System" term to "Build Host"

(From yocto-docs rev: 2f5b8678e3c4b791a8cdfe5e75da706b97fbc753)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Updated toolchain figure to use "*_ext
Scott Rifenbark [Wed, 31 Jan 2018 21:00:42 +0000 (13:00 -0800)] 
concepts-manual: Updated toolchain figure to use "*_ext

(From yocto-docs rev: 88bf1a438f7a7323f1b7275d3d7bf715d4973569)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated comprehensive list of manuals etc.
Scott Rifenbark [Wed, 31 Jan 2018 18:38:41 +0000 (10:38 -0800)] 
ref-manual: Updated comprehensive list of manuals etc.

I added the concepts manual, the ref manual, and the mega-
manual to the list.

(From yocto-docs rev: 180387ac9ae74cd5b69c4cf6338b72daef4b9f37)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Content adjustments for the manual.
Scott Rifenbark [Wed, 31 Jan 2018 17:49:46 +0000 (09:49 -0800)] 
concepts-manual: Content adjustments for the manual.

The manual's two files are an introductory chapter and then
a deeper concepts chapter. I scrubbed through the material, which
originated from the getting-started (overview-manual).

(From yocto-docs rev: 2ca572fac3ca71e73aad9bdd516a6ce90b148c53)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoMakefile: Updates so that the new concepts-manual can be made.
Scott Rifenbark [Wed, 31 Jan 2018 17:49:14 +0000 (09:49 -0800)] 
Makefile: Updates so that the new concepts-manual can be made.

(From yocto-docs rev: ede784df8034d3e582248952716af3441315cae9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Updated links into new concepts-manual
Scott Rifenbark [Wed, 31 Jan 2018 17:31:41 +0000 (09:31 -0800)] 
documentation: Updated links into new concepts-manual

Creation of a new concepts manual and moving of chapters from the
getting-started (overview-manual) caused many links and manual
reference titles to break.  I fixed these throughout the YP
docs.

(From yocto-docs rev: 30f2bc46be4a0faf5302eb8605bcb29f3bee6cf3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Updates to parent file
Scott Rifenbark [Wed, 31 Jan 2018 17:30:14 +0000 (09:30 -0800)] 
concepts-manual: Updates to parent file

Edits to create the main file that builds the concepts-manual.
Includes the chapters that comprise the book.

(From yocto-docs rev: d3a82e7cf50d77fcc4a37f13be98a61d85b1e527)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Updated customization files to point to style guide.
Scott Rifenbark [Wed, 31 Jan 2018 17:29:02 +0000 (09:29 -0800)] 
concepts-manual: Updated customization files to point to style guide.

(From yocto-docs rev: d0b35e9fa0240466dc4d5436e3a12ba87114951e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Updated style sheet to display title PNG file.
Scott Rifenbark [Wed, 31 Jan 2018 17:28:05 +0000 (09:28 -0800)] 
concepts-manual: Updated style sheet to display title PNG file.

(From yocto-docs rev: 90eab7064d1fca0d37fd49db163d792880be5a1b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomega-manual: Added concepts-manual so it can be made
Scott Rifenbark [Wed, 31 Jan 2018 17:26:31 +0000 (09:26 -0800)] 
mega-manual: Added concepts-manual so it can be made

Also updated the mega-manual.sed file with two lines to process
links in the concepts-manual.

(From yocto-docs rev: 622ce2fc82cbf92351aa2000c3d92bbabafc1d24)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual, mega-manual: Added title fig for concepts-manual.
Scott Rifenbark [Wed, 31 Jan 2018 16:33:38 +0000 (08:33 -0800)] 
concepts-manual, mega-manual: Added title fig for concepts-manual.

(From yocto-docs rev: c932704d29bd0a065a28675859d5b6f09d8e87e5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Removed unwanted figures
Scott Rifenbark [Wed, 31 Jan 2018 16:29:40 +0000 (08:29 -0800)] 
concepts-manual: Removed unwanted figures

When creating the new concepts-manual, I copied the existing
getting-started manual over.  This created a figures folder that
had a lot of figures not needed in the concepts-manual.  They
have been removed.

(From yocto-docs rev: 24bd39c7f3967a1e8fbac7a8ab44360c25a9bec1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Removed redundant chapter
Scott Rifenbark [Wed, 31 Jan 2018 01:18:42 +0000 (17:18 -0800)] 
concepts-manual: Removed redundant chapter

This chapter appears in the getting-started manual.

(From yocto-docs rev: 3f4c2fc211189e59e45bef6b379dc1f6ebfb7391)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconcepts-manual: Added new manual tree
Scott Rifenbark [Tue, 30 Jan 2018 23:46:53 +0000 (15:46 -0800)] 
concepts-manual: Added new manual tree

Tree added only.

(From yocto-docs rev: bacfd8c9103489c9b5a3459855d0804531ef3a75)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Purged overview manual references
Scott Rifenbark [Tue, 30 Jan 2018 21:45:31 +0000 (13:45 -0800)] 
documentation: Purged overview manual references

When I converted the Yocto Project Overview Manual to the Getting
Started With Yocto Project Manual, I updated the strings for
references from "&YOCTO_DOCS_OVERVIEW_URL" TO
"&YOCTO_DOCS_GS_URL".  Unfortunately, I did it with a global command
that did not take into account the text the might follow the link
by saying "see such-and-such section in the Yocto Project Overview
Manual."  So, I had to hand fix these.

Additionally, since I have moved a deeper concepts chapter that
was in the getting-started manual to a new Yocto Project Concepts
chapter, many of those links changed had to really go to the new
manual instead.  Those were fixed.

(From yocto-docs rev: fca1c56b0764802fb6a687ea81ab0fb95186cf0a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomega-manual.xml: Removed the getting-started-concepts.xml file
Scott Rifenbark [Tue, 30 Jan 2018 21:43:49 +0000 (13:43 -0800)] 
mega-manual.xml: Removed the getting-started-concepts.xml file

Because the deeper concepts chapter that was in the Getting Started
With Yocto Project Manual was moved to a new Yocto Project Concepts
Manual, I had to delete it from the mega-manual.xml file where it
would be included as a chapter in the getting-started manual.

(From yocto-docs rev: a6847cc90cd0e35e275dd4cf080067ecbe5d4361)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started: Removed "concepts.xml" file
Scott Rifenbark [Tue, 30 Jan 2018 21:42:02 +0000 (13:42 -0800)] 
getting-started: Removed "concepts.xml" file

This file was for a deeper concepts chapter.  It will go into the
new Yocto Project Concepts Manual.  Removing it required deleting the
*.xml file and updating getting-started.xml to not include it in the
build.

(From yocto-docs rev: 2df213c1cdba8f48918e8240de47c1758352807d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopoky.ent: Added variable for "concepts-manual"
Scott Rifenbark [Tue, 30 Jan 2018 21:40:18 +0000 (13:40 -0800)] 
poky.ent: Added variable for "concepts-manual"

New variable for links into the new "Yocto Project Concepts Manual".

(From yocto-docs rev: 8a19b2b9d54cce664605993da068eed9537736a3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, ref-manual: Updated references to Bugzilla wiki page
Kristi Rifenbark [Wed, 31 Jan 2018 00:41:09 +0000 (16:41 -0800)] 
dev-manual, ref-manual: Updated references to Bugzilla wiki page

Fixes [YOCTO #12475]

(From yocto-docs rev: 460660fda7433959cff13897ece4a6c9f7ff8d09)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Reformatted Note to use bullets
Kristi Rifenbark [Wed, 31 Jan 2018 00:11:27 +0000 (16:11 -0800)] 
ref-manual: Reformatted Note to use bullets

(From yocto-docs rev: 2aa21e54b620c147ea6db9dee206e40800d7d34c)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started: Removed accidental tracked files
Scott Rifenbark [Tue, 30 Jan 2018 19:31:29 +0000 (11:31 -0800)] 
getting-started: Removed accidental tracked files

I accidentally pushed a commit after building out the new getting-started
manual before applying some key files to the .gitignore file.  So,
the HTML, TGZ, and eclipse/* stuff got tracked in Git.  I don't
want that.  So I had to use the 'git rm' command to untrack those
files.

(From yocto-docs rev: 217f6db7f741cee266885a845b2b0e7faf96e537)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started: Changed chapter id
Scott Rifenbark [Tue, 30 Jan 2018 18:43:12 +0000 (10:43 -0800)] 
getting-started: Changed chapter id

(From yocto-docs rev: 52cc6ae12c5c92f6f8e508571b943443a6d133f1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Created new "Getting Started" manual.
Scott Rifenbark [Mon, 29 Jan 2018 23:18:03 +0000 (15:18 -0800)] 
documentation: Created new "Getting Started" manual.

Creation involved removing the overview-manual and replacing it
with the getting-started manual.  All links to the string
"&YOCTO_DOCS_OVERVIEW_URL" had to be replaced with
"&YOCTO_DOCS_GS_URL" across the entire YP manual set.  I renamed
files used to create the manual with prefixes suited for the
new manual name, which is "Getting Started With Yocto Project".

The style sheet for the new manual needed updating to display the
new .PNG image for the title page.  The mega-manual file had to
be updated to include the files.  The mega-manual.sed file had
to be updated to include the new manual and not use the overview
manual.

(From yocto-docs rev: 6c7abf9192390121000f577d6c98f259d290d15d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual, dev-manual: Moved "Speeding Build" to dev-manual
Scott Rifenbark [Tue, 23 Jan 2018 20:16:28 +0000 (12:16 -0800)] 
ref-manual, dev-manual: Moved "Speeding Build" to dev-manual

Fixes [YOCTO #12370]

The section on "Speeding Up a Build" that was in the ref-manual
needed to be in the dev-manual as it is a "how-to" section.
Moved it.

(From yocto-docs rev: 44d2889a4f3fb5dfabb1ea4df68a1b8bbf9347c8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Removed "usingpoky" chapter from ref-manual
Scott Rifenbark [Tue, 23 Jan 2018 19:29:22 +0000 (11:29 -0800)] 
documentation: Removed "usingpoky" chapter from ref-manual

Fixes [YOCTO #12370]

All of the information from the "usingpoky" chapter in the
ref-manual has been distributed out over the rest of the
YP manual set.  Primarily, this information went into the
dev-manual and the overview-manual.  Because the chapter is
no more, I had to update the mega-manual.xml to not include that
chapter. Also, had to update ref-manual to exclude the chapter
as part of the Make process.

(From yocto-docs rev: b988cab06d42f0ac2220cefe66949c5ab6cbf803)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, ref-manual: Moved build history info to dev-manual
Scott Rifenbark [Tue, 23 Jan 2018 19:19:45 +0000 (11:19 -0800)] 
dev-manual, ref-manual: Moved build history info to dev-manual

Fixes [YOCTO #12370]

The section in the ref-manual on build history has been moved to
the dev-manual.  It is more of a "how-to" piece of information than
a reference.

(From yocto-docs rev: 9634bd8dc51e2972e6a5f3a3d3b4256c8ca8749c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual, dev-manual: Moved QEMU info from ref-manual to dev-manual
Scott Rifenbark [Tue, 23 Jan 2018 00:13:34 +0000 (16:13 -0800)] 
ref-manual, dev-manual: Moved QEMU info from ref-manual to dev-manual

Fixes [YOCTO #12370]

The QEMU information in the ref-manual "using" chapter has been moved
to the dev-manual's chapter 5, which is a dedicated QEMU chapter.
Some information is reference and that is why I had it separated out
into the reference manual.  However, pressures are mounting to get
that stuff out of the ref-manual and into the dev-manual.  So, it
has been moved.

(From yocto-docs rev: 69098ad83b10fab341ec3d5532e377dcfbbfc05e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, ref-manual: Consolidated debug info into dev-manual
Scott Rifenbark [Tue, 16 Jan 2018 18:59:43 +0000 (10:59 -0800)] 
dev-manual, ref-manual: Consolidated debug info into dev-manual

Fixes [YOCTO #12370]

Moved the debug information from the ref-manual to the dev-manual
where other debug information exists.  We now have a single area
(section) that deals with various debugging techniques and tips.

(From yocto-docs rev: 95394197fc04981bf7571e581ff8a0fd9c76223f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Removed "Build Notes" that had gone stale.
Scott Rifenbark [Tue, 16 Jan 2018 18:42:03 +0000 (10:42 -0800)] 
dev-manual: Removed "Build Notes" that had gone stale.

(From yocto-docs rev: 38e51c441619bf6b9761faeef8278b51997f93d3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, ref-manual: Moved building image to dev-manual
Scott Rifenbark [Mon, 15 Jan 2018 19:30:54 +0000 (11:30 -0800)] 
dev-manual, ref-manual: Moved building image to dev-manual

Fixes [YOCTO #12370]

The section in the ref-manual that overviewed the buld process was
redundant and more of a "how-to" topic.  I have moved and merged it
into the dev-manual into a similar area.

(From yocto-docs rev: 44f1351334342629aaa0976f62e64ac4f67166aa)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Variable Definition Edits for documentation.conf
Kristi Rifenbark [Thu, 11 Jan 2018 23:56:12 +0000 (15:56 -0800)] 
ref-manual: Variable Definition Edits for documentation.conf

Fixes [YOCTO #5600]

Grammar scrub of variable definitions in documentation.conf

(From yocto-docs rev: 199fdc55aae4f34d95988ee2e43f3524fe82714a)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>