]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agobitbake: fetch2: Adapt encode/decode url to use URI class
Olof Johansson [Tue, 29 Jan 2013 07:50:09 +0000 (08:50 +0100)] 
bitbake: fetch2: Adapt encode/decode url to use URI class

(Bitbake rev: 21fe2683aefde10e847e66c11c26d4f4c1e07cfd)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: unittests for bb.fetch2.URI class
Olof Johansson [Tue, 29 Jan 2013 07:50:08 +0000 (08:50 +0100)] 
bitbake: fetch2: unittests for bb.fetch2.URI class

(Bitbake rev: a71e7d4137d2c5268b406f69992d09c00772a040)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Add a class representing a generic URI
Olof Johansson [Tue, 29 Jan 2013 07:50:07 +0000 (08:50 +0100)] 
bitbake: fetch2: Add a class representing a generic URI

A class representing a generic URI, with methods for accessing the URI
components, and stringifies to the URI. This class should be a bit more
flexible than the existing {encode,decode}_url functions in that it
supports more components (e.g. port) and that it does not rely on a
specific order on the return values. This makes it easy to add new
properties without affecting the API.

(Bitbake rev: bd824da8a7eafe27310e410807319628378caeca)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Remove unused code in wget fetcher
Olof Johansson [Tue, 29 Jan 2013 07:50:06 +0000 (08:50 +0100)] 
bitbake: fetch2: Remove unused code in wget fetcher

(Bitbake rev: 6d88fcee16ced3a8c1ab1daf8e88d36f70f13346)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: Fix so it actually works
Richard Purdie [Sun, 17 Feb 2013 09:04:31 +0000 (09:04 +0000)] 
package_tar: Fix so it actually works

This tells us how long the code hasn't been used for :/

(From OE-Core rev: cd503c7f7fec6d177209832f73cec9c5d490be6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: Remove completely pointless code
Richard Purdie [Sun, 17 Feb 2013 09:03:28 +0000 (09:03 +0000)] 
package_tar: Remove completely pointless code

Remove/simply overcomplicated code. No functionality change.

(From OE-Core rev: e3b21455e4ecc5b4961cf52e035a2d6d541faf69)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: bb.mkdirhier -> bb.utils.mkdirhier
Richard Purdie [Sun, 17 Feb 2013 09:02:25 +0000 (09:02 +0000)] 
package_tar: bb.mkdirhier -> bb.utils.mkdirhier

Fix deprecated function reference.

(From OE-Core rev: 9e7a6492010aa2de65310d6fa13290068e7cadb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: Fix whitespace
Richard Purdie [Sun, 17 Feb 2013 09:01:35 +0000 (09:01 +0000)] 
package_tar: Fix whitespace

(From OE-Core rev: fead6005b56f53535967476cc752691316e02183)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm/dev/ipk/tar: Drop unused functions
Richard Purdie [Sun, 17 Feb 2013 09:00:29 +0000 (09:00 +0000)] 
package_rpm/dev/ipk/tar: Drop unused functions

The package_xxx_install functions date from a different era and are not used by
anything. In the rpm case, they're simply unimplemented, in the tar case they're
using broken whitespace and deprecated functions. We might as well clean
out the old broken unused code.

(From OE-Core rev: 3684036213c9b1c27389260b7a1e3441c6bd659d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm/deb/ipk: Error if we don't find packages when creating the package index
Richard Purdie [Sun, 17 Feb 2013 08:57:17 +0000 (08:57 +0000)] 
package_rpm/deb/ipk: Error if we don't find packages when creating the package index

If for whatever reason the package directory is empty of packages, it
makes sense to error early rather than later in what become much
more obtuse errors. This adds in a sanity check to each of the packaging
backends. It also removes the duplicate createrepo call since the
core index creation function now uses this directly after the switch
to smart.

(From OE-Core rev: 721ef058b37604e100021ec7a90ad2f745d83916)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses: Drop none package specific packaging variable accesses
Richard Purdie [Sun, 3 Feb 2013 22:10:21 +0000 (22:10 +0000)] 
classes: Drop none package specific packaging variable accesses

(From OE-Core rev: 24cbe88429ba021d7c461e0271b67106d11d5eb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconf: Remove unused ROOT_FLASH_SIZE variable from the config
Holger Hans Peter Freyther [Sat, 16 Feb 2013 22:41:00 +0000 (23:41 +0100)] 
conf: Remove unused ROOT_FLASH_SIZE variable from the config

This variable is set but never used in OE-core and meta-oe. It
was historically used for the Opie collection but seems to be
unused now.

(From OE-Core rev: 323ef78e377525e2214f4700c30305c493137853)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Add auto/XS/Typemap in perl-doc package
Otavio Salvador [Sat, 16 Feb 2013 21:20:41 +0000 (19:20 -0200)] 
perl: Add auto/XS/Typemap in perl-doc package

(From OE-Core rev: 8b8e471b4e6d90e36320fc608b6eec908fd43fe6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Ensure directory for stampfile exists before trying to create it
Richard Purdie [Fri, 15 Feb 2013 16:17:30 +0000 (16:17 +0000)] 
bitbake: fetch2: Ensure directory for stampfile exists before trying to create it

(Bitbake rev: cf510e3da36e53f98ca86501747364bf4699ecc1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: utils: Use rm -rf in remove()
Richard Purdie [Sun, 3 Feb 2013 16:51:34 +0000 (16:51 +0000)] 
bitbake: utils: Use rm -rf in remove()

Whilst shutils.rmtree() is pythonic, its also slow. Its faster to
use rm -rf which makes optimial use of the right syscalls.

(Bitbake rev: 96088ebdec08e49ba9e8dbcac437bfcdc21f5983)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: use pidfile for daemon start/stop/restart
Roman I Khimov [Mon, 19 Jul 2010 13:08:08 +0000 (13:08 +0000)] 
dropbear: use pidfile for daemon start/stop/restart

Old init script killed all dropbear processes when doing stop/restart
including open SSH sessions which is very annoying.

(From OE-Core rev: 97aa5ac2df7593e343d82f5e64a422bb951eacf9)

Signed-off-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzcode-native: Fix SRC_URI checksum typo
Richard Purdie [Fri, 15 Feb 2013 12:48:54 +0000 (12:48 +0000)] 
tzcode-native: Fix SRC_URI checksum typo

(From OE-Core rev: dac9290b20819bb7f74fa27b87b8077d8856c551)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolocal.conf.sample: Enhance the SSTATE_MIRRORS example
Richard Purdie [Fri, 15 Feb 2013 12:30:39 +0000 (12:30 +0000)] 
local.conf.sample: Enhance the SSTATE_MIRRORS example

By using downloadfilename in the url, symlinks in the download
directory can be avoided and hence directories with large numbers
of files are less likely.

[YOCTO #3220]

(From meta-yocto rev: 1aac2282fe3416a59fe93bba0c54c4b8cf068a53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd.bbclass: Dont use libdir and base_libdir for units
Khem Raj [Thu, 14 Feb 2013 04:02:00 +0000 (04:02 +0000)] 
systemd.bbclass: Dont use libdir and base_libdir for units

systemd always uses /lib and /usr/lib to store unit files
so using libdir and base_libdir is incorrect. It will work
where libdir is usr/lib and base_libdir is /lib but wont work
when say its /lib64

Add a check to make sure that SYSTEMD_PACKAGES are part of PACKAGES
too, otherwise error out

(From OE-Core rev: 22e16f44b58ae6bbf719b9074d39aac065a402f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: fix CVE-2012-6085
Saul Wold [Thu, 14 Feb 2013 23:55:12 +0000 (15:55 -0800)] 
gnupg: fix CVE-2012-6085

Code taken from Redhat

[YOCTO #3813]

(From OE-Core rev: 17f8e03ace51df6b94fdcb7e410acf79c7b046ce)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: when bblayers.conf is updated, it invokes a reparse
Cristiana Voicu [Tue, 12 Feb 2013 13:27:32 +0000 (15:27 +0200)] 
sanity.bbclass: when bblayers.conf is updated, it invokes a reparse

When bblayers.conf is updated(when sanity check is running), it should
tell to bitbake to reparse configuration files. I will send a patch to
bitbake-devel, with the actions needed in bitbake and hob.

[YOCTO #3213]
(From OE-Core rev: 5db1ff93f7204b43b7242fc7ef415216eb632ed8)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk: check CONFFILES exist before adding them to metadata
Ross Burton [Tue, 5 Feb 2013 21:12:50 +0000 (21:12 +0000)] 
package_ipk: check CONFFILES exist before adding them to metadata

opkg-build verifies that conffiles exist, so verify that the specified files
actually exist before writing them to conffiles.

This mirrors the behaviour of FILES and package_rpm's CONFFILES handling.

(From OE-Core rev: fb87edc881009cf4d582cd95c248884551fe07fe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/bitbake: Remove all instances of paths to a layer's scripts directory.
Franklin S. Cooper Jr [Sat, 9 Feb 2013 17:08:10 +0000 (11:08 -0600)] 
scripts/bitbake: Remove all instances of paths to a layer's scripts directory.

* Currently the assumption is made that only oe-core can include a scripts
  directory.

* However, when other layers create a scripts directory the bitbake script
  freaks out causing a infinite recursive loop until it crashes.

* Simply changing the regular expression to remove all instances of scripts path
  instead of just the first one fixes this problem.

 [Yocto Bug 3872]

(From OE-Core rev: 9b445cc39604223b0cfb21d28f748a86ff4cdf68)

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-lib: upgrade to 1.0.26
Cristian Iorga [Fri, 18 Jan 2013 11:39:30 +0000 (13:39 +0200)] 
alsa-lib: upgrade to 1.0.26

(From OE-Core rev: 759191ee0b11231e1719bd5c66ac0afbd02e2a80)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS
Ross Burton [Wed, 13 Feb 2013 18:12:42 +0000 (18:12 +0000)] 
systemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS

The standalone udev has these dependencies and extraconf is required to have
working automount amongst other things.

(From OE-Core rev: 3d72ba9d25a02cac2c0a63ab32c5483be5c6ea3f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpng: update to upstream version 1.5.14
Marko Lindqvist [Wed, 13 Feb 2013 11:26:18 +0000 (13:26 +0200)] 
libpng: update to upstream version 1.5.14

obsolete_automake_macros.patch removed as it's not part of upstream.
The only changes to license texts are latest libpng version number
and release dates.

(From OE-Core rev: d68e9660327db2dd4f2ae7bcea9925146b94eb77)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoharfbuzz: update to upstream version 0.9.12
Marko Lindqvist [Wed, 13 Feb 2013 11:25:55 +0000 (13:25 +0200)] 
harfbuzz: update to upstream version 0.9.12

Fixed license declaration to have AND between all the licenses
instead of OR.

(From OE-Core rev: 0a90fb2faebbb7848dbd5a23b37490866b397f5f)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: update to upstream version 2.24.15
Marko Lindqvist [Wed, 13 Feb 2013 11:25:32 +0000 (13:25 +0200)] 
gtk+: update to upstream version 2.24.15

- configure-nm.patch updated to apply
- hardcoded_libtool.patch updated to apply
- obsolete_automake_macros.patch removes as it's now part of upstream

(From OE-Core rev: a4ed7da18d8622fc0b6e3d32ac8ce9456b912322)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: update to upstream version 1.8.3
Marko Lindqvist [Wed, 13 Feb 2013 11:25:07 +0000 (13:25 +0200)] 
webkit-gtk: update to upstream version 1.8.3

(From OE-Core rev: 570e5e20623031ad03cce470fc3d94d9a5b05827)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxev: upgrade to 1.2.1
Laurentiu Palcu [Wed, 13 Feb 2013 09:33:32 +0000 (11:33 +0200)] 
xev: upgrade to 1.2.1

Licence didn't change, the end line for computing the licence md5sum was
inside the actual code which, eventually changed. Adjust it to the right
line.

(From OE-Core rev: 96d9e102067471018acfa9651b810f0d33a363fa)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: upgrade to 13.0.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:50:30 +0000 (10:50 +0200)] 
xf86-video-vmware: upgrade to 13.0.0

Removed backported patch.

(From OE-Core rev: f264bf699a42dfe2616386d03524642890308e80)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-synaptics: upgrade to 1.6.3
Laurentiu Palcu [Wed, 13 Feb 2013 08:48:33 +0000 (10:48 +0200)] 
xf86-input-synaptics: upgrade to 1.6.3

(From OE-Core rev: a1eef756921d66138ef233c451a99b2ee1356cfb)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxkeyboard-config: upgrade to 2.8
Laurentiu Palcu [Wed, 13 Feb 2013 08:48:08 +0000 (10:48 +0200)] 
xkeyboard-config: upgrade to 2.8

(From OE-Core rev: 40083ca6decd05f480b0a8cd5923e68884c3b307)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: upgrade to 2.4.42
Laurentiu Palcu [Wed, 13 Feb 2013 08:47:13 +0000 (10:47 +0200)] 
libdrm: upgrade to 2.4.42

(From OE-Core rev: dd53452b1cf2ccec44f465ac420d134a17332c7b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-vmmouse: upgrade to 13.0.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:46:51 +0000 (10:46 +0200)] 
xf86-input-vmmouse: upgrade to 13.0.0

(From OE-Core rev: e8f5f341256430cf45ee186435bccf593793b661)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-intel: upgrade to 2.21.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:34:29 +0000 (10:34 +0200)] 
xf86-video-intel: upgrade to 2.21.0

(From OE-Core rev: 7bdc27511c9129e35caf1bdc0df37b382f1b5b98)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: upgrade to 1.3.1
Constantin Musca [Mon, 11 Feb 2013 13:01:48 +0000 (15:01 +0200)] 
qemu: upgrade to 1.3.1

(From OE-Core rev: ca3ce0886df01936d5ad309de1d39520b5278a80)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: remove save/load template functionality
Cristiana Voicu [Thu, 31 Jan 2013 12:43:08 +0000 (14:43 +0200)] 
bitbake: hob: remove save/load template functionality

The Hob templates functionality, in its current incarnation,
is confusing and has no clear utility.

[YOCTO #3696]
(Bitbake rev: 4eb3b6bb9f936808ddf085624078f6479c522c48)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: knotty.py: fix unknown event bb.event.DiskFull
Robert Yang [Fri, 1 Feb 2013 08:56:45 +0000 (16:56 +0800)] 
bitbake: knotty.py: fix unknown event bb.event.DiskFull

There is an error:

ERROR: No new tasks can be excuted since the disk space monitor action
is "STOPTASKS"!
ERROR: Unknown event: <bb.event.DiskFull object at 0x2ab6310>

This is because we don't handle the event bb.event.DiskFull in
knotty.py, we don't want the knotty to do anything here since we have
done everything in monitordisk.py, so just ignore this event would fix
the problem.

[YOCTO #3523]

(Bitbake rev: 0fa874dbe0532bbe88ade405f514a237e6cd2488)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake-layers: make show-cross-depends avoid long path
Robert Yang [Wed, 6 Feb 2013 09:28:16 +0000 (17:28 +0800)] 
bitbake: bitbake-layers: make show-cross-depends avoid long path

The "bitbake-layers show-cross-depends" print the absolute path in the
past, now it will print the relative path (relative to the layer dir) by
default, and add the "-f" option to make it print the absolute path.

For example:

$ bitbake-layers show-cross-depends
[snip]
meta-intel/meta-jasperforest/conf/machine/jasperforest.conf requires meta/conf/machine/include/ia32-base.inc
[snip]

$ bitbake-layers show-cross-depends -f
[snip]
/path/to/poky/meta-intel/meta-jasperforest/conf/machine/jasperforest.conf requires /path/to/poky/meta/conf/machine/include/ia32-base.inc
[snip]

[YOCTO #3824]

(Bitbake rev: df217701318d60559be0b10214b883b8ce4f5d2a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: remove parsing warnings when machine is changed
Cristiana Voicu [Mon, 4 Feb 2013 14:56:00 +0000 (16:56 +0200)] 
bitbake: hob: remove parsing warnings when machine is changed

When the machine is changed, the warnings list is emptied and the warnings
bar is hidden.

[YOCTO #3830]
(Bitbake rev: 8e43da7798a98988f7da3f7c424e8f9e5eac2010)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: no sanity checks re-run
Cristiana Voicu [Tue, 5 Feb 2013 14:52:02 +0000 (16:52 +0200)] 
bitbake: hob: no sanity checks re-run

Hob was hanging when the user tried a rebuild a new image, because
of sanity checks. It should not re-run sanity checks.

[YOCTO #3829]
(Bitbake rev: f7ff550f53cf3e5b166940db83f27ec733f3ef72)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: monitordisk.py: disable the inode checking for some fs
Robert Yang [Mon, 4 Feb 2013 10:03:35 +0000 (18:03 +0800)] 
bitbake: monitordisk.py: disable the inode checking for some fs

There is an error when use disk monitor on btrfs:
WARNING: The free inode of rootfs is running low (0.000K left)
ERROR: Immediately abort since the disk space monitor action is "ABORT"!

This is beucase some fs formats' statvfs.f_files (inodes) is zero, thus
the statvfs.f_favail (free inodes) is zero, too, this a feature of the
fs, we disable the inode checking for such a fs.

[YOCTO #3609]

(Bitbake rev: b2ada3ad5f7aefff107f013e0c9decea481c7ef6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Improve lock/done stamp file paths for local files
Richard Purdie [Thu, 14 Feb 2013 21:38:17 +0000 (21:38 +0000)] 
bitbake: fetch2: Improve lock/done stamp file paths for local files

Currently stamps end up at the top level of DL_DIR even if the files
themselves are in a directory structure. This patch preserves path
components allowing the top level directory to be less populated
which is an advantage for large sstate caches.

(Bitbake rev: 59921ce3ed7a4c0b7f8ef1a101ad9127469bf1fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake & hob: reparse config files, when sanity check updates bblayers...
Cristiana Voicu [Tue, 12 Feb 2013 13:27:22 +0000 (15:27 +0200)] 
bitbake: bitbake & hob: reparse config files, when sanity check updates bblayers.conf

I've sent a patch to poky, with some changes in sanity.bbclass. When bblayers.conf
is updated, it updates also a variable to know when to reparse configuration files.
This patch contains the changes to reparse conf files, after a sanity check which
changes bblayers.conf.

[YOCTO #3213]
(Bitbake rev: 966e3e59ceb1c8b33b5881f291c148ea6513eda0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Ensure expansions happen in URL parameters in uri_replace
Richard Purdie [Thu, 14 Feb 2013 21:36:30 +0000 (21:36 +0000)] 
bitbake: fetch2: Ensure expansions happen in URL parameters in uri_replace

For example, this allows us to specify downloadfilename=PATH in sstate
mirror urls to improve directory structures in DL_DIR when using sstate.

(Bitbake rev: 7850a1364b6b37c58664d84f9c14806b4479b45c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: ConfHandler: Use re.X to make long regexp more readable
Olof Johansson [Thu, 14 Feb 2013 11:28:32 +0000 (12:28 +0100)] 
bitbake: ConfHandler: Use re.X to make long regexp more readable

The __config_regexp__ in ConfHandler is quite long, and using re.X to
break the expression onto several lines make it a bit easier to read.

(Bitbake rev: 54dce9e14ab0657d76f0d0ae22eef7fab8e8950d)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: tests/codeparser: Hack around circular inclusion problem
Richard Purdie [Thu, 14 Feb 2013 21:35:25 +0000 (21:35 +0000)] 
bitbake: tests/codeparser: Hack around circular inclusion problem

There is a circular dependency issue where bb.data can't directly depend on
bb.parse. The tests were failing due to this issue which is misleading. This
patch hacks around it for now. I'd rather that than not running tests at all.

(Bitbake rev: a206ae0d7769a41ff3666d0f53ff9cf422dfa518)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: wget: Only use -O option when not spidering
Richard Purdie [Thu, 14 Feb 2013 21:33:04 +0000 (21:33 +0000)] 
bitbake: wget: Only use -O option when not spidering

If we pass the -O option whilst spidering, empty files are created which is not
desired. We also need to ensure any subdirectories are created when using the
downloadfilename parameter.

(Bitbake rev: d5f78e98d5aba36c95288fbaac267c2d54537b02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: codeparser: Track bb.utils.contains usage
Richard Purdie [Thu, 14 Feb 2013 21:59:21 +0000 (21:59 +0000)] 
bitbake: codeparser: Track bb.utils.contains usage

The bb.utils.contains function usage is getting increasingly used in the metadata
but isn't handled automatically by the python dependency tracking code. This patch
changes that and also adds the "OE" names for the functions.

Whilst there are reasons this is a bad idea, its likely outweighed by the
shear number of these references and the current holes in dependency information
which we're now relying heavily upon.

(Bitbake rev: 0b9d117631ce909312d53b93289e61defc6be01c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: codeparser: Track appendVar and prependVar calls as we do for getVar
Richard Purdie [Thu, 14 Feb 2013 21:57:36 +0000 (21:57 +0000)] 
bitbake: codeparser: Track appendVar and prependVar calls as we do for getVar

We need to track appendVar and prependVar calls just as we do for getVar in order
to ensure we're not missing variable dependencies.

(Bitbake rev: 767b4751232f4ee3979deb4d3f733fcf9ee2bd44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.conf: Add Ubuntu 12.04.2 to sanity tested distros
Khem Raj [Wed, 6 Feb 2013 05:38:53 +0000 (05:38 +0000)] 
poky.conf: Add Ubuntu 12.04.2 to sanity tested distros

I have been running poky master on this distro for some time
now, this fix will avoid the warning about validated distros
during bitbake parse phase.

(From meta-yocto rev: 09bb10c11c00ed802ec6947add93efe25b001bb9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSolved package namespace errors in PRS
Emilia Ciobanu [Thu, 14 Feb 2013 15:51:40 +0000 (17:51 +0200)] 
Solved package namespace errors in PRS

Removed some beta versioning the system reported
for the socat package and the development version
reported by PRS for foomatic-filters.

(From meta-yocto rev: 8a9bf7963df1bc001458341106b36af5df146e16)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzcode/tzdata: Update to 2012j
Saul Wold [Fri, 8 Feb 2013 18:50:57 +0000 (18:50 +0000)] 
tzcode/tzdata: Update to 2012j

Readme update to indicate status of project and authorship

(From OE-Core rev: 6c6568e47d6b3b0edaba569bfa4e38f9d72b5122)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: Simplify code removing not used cases
Otavio Salvador [Fri, 8 Feb 2013 14:52:20 +0000 (14:52 +0000)] 
tzdata: Simplify code removing not used cases

We shouldn't have an use-case where we'd use 'FUBAR' timezone so
instead of adding postinst handling for this use case we handle it at
install time and keep the Universal as fallback if user did something
wrong.

This also ensure the /etc/localtime file is kept as a symbolic link.
This will make timezone not available when /usr is in separated
partition (and not mounted) however the applications ought to fallback
to GMT timezone in this case and when /usr is made availble timezone
will work fine.

Change-Id: I9a4f05db7a0bdc06511deb5693d1d16569d2fc63
(From OE-Core rev: 4b5e1757224085deac54b2583853fc779dc70614)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: We shouldn't override the localtime if it is valid
Otavio Salvador [Fri, 8 Feb 2013 14:52:19 +0000 (14:52 +0000)] 
tzdata: We shouldn't override the localtime if it is valid

The code where mistakenly replacing the localtime file setting so we
end with a copy of file instead of a symbolic link. This fixes it so
now, we'll only do that in case the link is pointing to invalid data.

Change-Id: I16dfa5ea4f293c48bb396f4e23a2ea53e6c9e745
(From OE-Core rev: a9b42c8e85332a65788b1434f926186d4887b287)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSolved package namespace errors in PRS
Emilia Ciobanu [Thu, 14 Feb 2013 15:52:40 +0000 (17:52 +0200)] 
Solved package namespace errors in PRS

For some packages PRS reported incorrect upstream version
as it was either the raw string or it mismatched some
alternative groups.

(From OE-Core rev: 6f3ace8ba75eed891aa4844a6830bedca3d8b70e)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: remove unused variable
Ross Burton [Thu, 14 Feb 2013 18:02:02 +0000 (18:02 +0000)] 
insane: remove unused variable

(From OE-Core rev: 1165a0b161ffc32258b0726e6ef3082d97dfb32a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoremake: do not create po files
Saul Wold [Thu, 14 Feb 2013 22:12:51 +0000 (14:12 -0800)] 
remake: do not create po files

The 'make update' was using wget to get the gmo and other gnu files from
upstream, since need to work cleanly in a non-networked or proxy environment
this does not so well.  Remove the list of languages from the LINGUAS file.

[YOCTO #3745]

(From OE-Core rev: 9987f210e3faf31bfeab35ae56606c8a577b3aa0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-docs: Fixup a couple of merge issues
Richard Purdie [Thu, 14 Feb 2013 17:30:09 +0000 (17:30 +0000)] 
yocto-docs: Fixup a couple of merge issues

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Revision of "Team Environment" section.
Scott Rifenbark [Tue, 12 Feb 2013 23:03:25 +0000 (17:03 -0600)] 
dev-manual: Revision of "Team Environment" section.

Fixes YOCTO #3274

First draft of a re-written section that describes best
practices for scaling the YP over a large development
effort.  this draft is based on Richard Purdie's text
he sent to me.

(From yocto-docs rev: e5135f76946997a0a060dd16c0b62308be4f6048)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual: Cross-references between PR Service and cache
Scott Rifenbark [Tue, 12 Feb 2013 16:09:29 +0000 (10:09 -0600)] 
dev-manual, ref-manual: Cross-references between PR Service and cache

Fixes YOCTO #3684

These changes help tie in the relationship between how the OE
build system uses checksums and such and the PR Service that
can track revision.

(From yocto-docs rev: 39a3010a3bb4b2c1d37aef60984ac16e85b56aac)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotemplate: Changed the font color for footers and headers
Scott Rifenbark [Mon, 11 Feb 2013 22:30:44 +0000 (14:30 -0800)] 
template: Changed the font color for footers and headers

Fixes YOCTO #3728

The poky-db-pdf.xsl file has code that controls the font color
for the headers, footers, and separating lines for each when
the PDF version of a manual is made.  I changed the values
from #cccccc to #999999 to darken these up so they can be
seen a little better.

(From yocto-docs rev: c9c83028a5f13dc672414b6ca395290f05019f8e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, bsp-guide: Added some links
Scott Rifenbark [Mon, 11 Feb 2013 20:20:20 +0000 (12:20 -0800)] 
dev-manual, bsp-guide: Added some links

Fixes YOCTO #3552

Added some links to the FILESEXTRAPATHS and SRC_URI variables.
These links connect appropriate sections to a newly improved
section on FILESEXTRAPATHS glossary description.

(From yocto-docs rev: a58e7c6f013393c87381411f918e16a8f04d55d1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updated PR Service section with comments
Scott Rifenbark [Mon, 11 Feb 2013 17:56:38 +0000 (09:56 -0800)] 
dev-manual: Updated PR Service section with comments

Fixes YOCTO #2684

Applied some review comments to the section from Richard
Purdie.

(From yocto-docs rev: 772617a45df10e5e42364854fe03d8aad7cb46b6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: First draft of the PR Service section.
Scott Rifenbark [Fri, 8 Feb 2013 18:59:27 +0000 (12:59 -0600)] 
dev-manual: First draft of the PR Service section.

Fixes YOCTO #2684

Completed first draft.

(From yocto-docs rev: c8b81e372578b1964bca4aa26d1085162115a2b0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Created "Development Host System Issues" section
Scott Rifenbark [Fri, 8 Feb 2013 17:05:48 +0000 (11:05 -0600)] 
ref-manual: Created "Development Host System Issues" section

Fixes YOCTO #2790

Created a new section in the "Debugging Build Failures"
section to deal with host issues that cause a build to
fail.

(From yocto-docs rev: 9efc00146764086646b0c558d12168ab9813d683)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Fixed <ulink> to be on a single line.
Scott Rifenbark [Fri, 8 Feb 2013 16:15:08 +0000 (10:15 -0600)] 
dev-manual: Fixed <ulink> to be on a single line.

These types of links must not span multiple lines in order for
mega-manual to process them.

(From yocto-docs rev: bcea042cd796a51d866f82399b2fd0cc89ec9e2b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Removed three figures from poky-ref-manual
Timo Mueller [Fri, 8 Feb 2013 16:13:18 +0000 (10:13 -0600)] 
documentation: Removed three figures from poky-ref-manual

three PNG files go away from the eclipse folder due to the
renaming of the poky-ref-manual to ref-manual.

(From yocto-docs rev: 29907784ecb509b3d4fba633b2c4970e4105bea2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Part 2 of 2 for YP doc integration into Eclipse.
Timo Mueller [Fri, 8 Feb 2013 15:21:44 +0000 (09:21 -0600)] 
documentation: Part 2 of 2 for YP doc integration into Eclipse.

This commit adds the three *.customization.xsl files.  I
(Scott Rifenbark).  Split the commit because after applying the
18 patches, the list of stuff to stage was huge and I did not
want to add them one-by-one.  So I staged them using git add -u.

Here is the general cover letter information from Timo included
with the 18 patches:

-----------------

Hi,

the generation of eclipse help files has been merged from the timo
branch to the master. Since the creation of the timo branch there have
been some changes to the master branch (e.g. new documentation,
renamed documentation).

This patch set does some cleanup for the renamed documentation and
adds eclipse help generation support to the new documentation.

01: Removes the 'the' from the document titles
02..04: Cleanup obsolete artifacts resulting from the merge
05..08: Add eclipse help generation for ref-manual
09..13: Add eclipse help generation for kernel-dev
14..18: Add eclipse help generation for profile-manual

Best regards,
Timo

(From yocto-docs rev: eff391a17d0a2403634adfb2f4cd2ff50ad0b771)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Part 1 of 2 updates to integrating docs to Eclipse help.
Timo Mueller [Fri, 8 Feb 2013 15:16:33 +0000 (09:16 -0600)] 
documentation: Part 1 of 2 updates to integrating docs to Eclipse help.

Hi,

the generation of eclipse help files has been merged from the timo
branch to the master. Since the creation of the timo branch there have
been some changes to the master branch (e.g. new documentation,
renamed documentation).

This patch set does some cleanup for the renamed documentation and
adds eclipse help generation support to the new documentation.

01: Removes the 'the' from the document titles
02..04: Cleanup obsolete artifacts resulting from the merge
05..08: Add eclipse help generation for ref-manual
09..13: Add eclipse help generation for kernel-dev
14..18: Add eclipse help generation for profile-manual

Best regards,
Timo

This patch set originally contained 18 patches. I (Scott Rifenbark)
had to push these changes as two parts.  This is the first part.
It does not include creation of the three cusomization files.

(From yocto-docs rev: 9b1889f6e31ee70dae704fa08763fb9196616dad)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-manual: Added cross-reference link for Cross-dev toolchain.
Scott Rifenbark [Wed, 6 Feb 2013 20:03:23 +0000 (14:03 -0600)] 
adt-manual: Added cross-reference link for Cross-dev toolchain.

I placed a link on the term "Cross-Development Toolchain" in the
section of the same name.  This is to help the user see the
recipes related to the toolchain.  The link resolves back into
the "Terms" section of the dev-manual.

(From yocto-docs rev: c77ec0212bcf3b1c5f8079ccf08129ecbefea0aa)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updates to expose cross-toolchain recipes.
Scott Rifenbark [Wed, 6 Feb 2013 18:51:39 +0000 (12:51 -0600)] 
dev-manual: Updates to expose cross-toolchain recipes.

Added a bulleted list to the "Terms" section to help define
some toolchain recipes such as gcc-cross-initial,
gcc-cross-intermediate, and so forth.

Added a cross-reference link to the term
"Cross-Development Toolchain" in the the "Working Using
Stand-alone Cross-development Toolchains" section.
This gives the reader a way to see more on the toolchain
recipes.

(From yocto-docs rev: 2cb612424c0cf6addfd8bce8a0ef77665c35bd9a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-dev: Added note for YP release requirements.
Scott Rifenbark [Wed, 6 Feb 2013 17:50:24 +0000 (11:50 -0600)] 
kernel-dev: Added note for YP release requirements.

The user needs to have YP 1.2.2 release or forward for the
examples in the book to work.  I have added a note indicating
such.

(From yocto-docs rev: 6fcbd3f526a13ef632c7ce5b9b4774d166b61895)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: edits to update-alternatives.bbclass description.
Scott Rifenbark [Tue, 5 Feb 2013 15:31:54 +0000 (09:31 -0600)] 
ref-manual: edits to update-alternatives.bbclass description.

Fixes YOCTO #3838

First draft of edits for this class.  Removed specific variable
definitions as they are now deprecated.  Added a general
explanation of the variable functions.  Pointed user to the
commented code in the actual class for details.  Removed
statement saying that the build system supports only one
binary per package.

(From yocto-docs rev: bd574f2c8a95470c5a44500b70743a6e039522b7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to the question on how source code is fetched.
Scott Rifenbark [Mon, 4 Feb 2013 18:56:16 +0000 (12:56 -0600)] 
ref-manual: Edits to the question on how source code is fetched.

Updated the question that asks "How doe the OpenEmbedded build
system obtain source code and will it work behind my firewall
or proxy server?".  Some of the variables did not have links
or proper font type.

(From yocto-docs rev: be1f665b480a47483595381c9a837892100007e8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated SSTATE_MIRRORS glossary entry.
Scott Rifenbark [Mon, 4 Feb 2013 18:52:40 +0000 (12:52 -0600)] 
ref-manual: Updated SSTATE_MIRRORS glossary entry.

added links for the PREMIRRORS and MIRRORS variables used in
the description.

(From yocto-docs rev: 1ec0f9cbeebeaeaadee8cc8b3631e6194c013a2f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Updates to how to use local directories for source
Scott Rifenbark [Mon, 4 Feb 2013 18:34:51 +0000 (12:34 -0600)] 
yocto-project-qs: Updates to how to use local directories for source

The section that describes an efficient way to set up the
build system to look in local areas for tarballs needed updated
so that PREMIRRORS was not the focus.  The example used does
not even employ PREMIRRORS.  So I changed wording to support
the example.  I also added a mention of the PREMIRRORS variable
and a linked reference to it for more information.

(From yocto-docs rev: 7966942e2dfad85c2eb9480d7f706355871c40ab)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: added MIRRORS glossary definition.
Scott Rifenbark [Mon, 4 Feb 2013 18:23:25 +0000 (12:23 -0600)] 
ref-manual: added MIRRORS glossary definition.

(From yocto-docs rev: 3dfc95974cdaf345d36a51e8f581602242c38148)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added PREMIRRORS glossary entry.
Scott Rifenbark [Mon, 4 Feb 2013 18:17:21 +0000 (12:17 -0600)] 
ref-manual: Added PREMIRRORS glossary entry.

(From yocto-docs rev: a91e562db5c1581cb88f0254f8d5a170296f3e41)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Various typos fixed
Scott Rifenbark [Fri, 1 Feb 2013 22:30:12 +0000 (16:30 -0600)] 
dev-manual: Various typos fixed

Received a patch from Robert P. J. Day but deleted it from
my Thunderbird account so could not apply it directly.
I applied most of his corrections.  A couple I left alone.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 2cadd5265fcb5cc281c22ccae81260a6633229e2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updates to "Using .bbappend Files" section
Scott Rifenbark [Fri, 1 Feb 2013 22:09:08 +0000 (16:09 -0600)] 
dev-manual: Updates to "Using .bbappend Files" section

Fixes YOCTO #3664

Added some information in the note to point out that not all
append files add files into the mix.  Some just exist to add
build options.  And, in this case the _prepend part of the
FILESEXTRAPATHS statement is not necessary.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 388c441341006227be2f9e7d42bb1c509c32790d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: three typos fixed.
Scott Rifenbark [Fri, 1 Feb 2013 21:31:38 +0000 (15:31 -0600)] 
dev-manual: three typos fixed.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 3272f0d51e3d09f4ffd96b7322f66ffd878d3714)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual: Updates for BBPATH.
Scott Rifenbark [Fri, 1 Feb 2013 21:10:01 +0000 (15:10 -0600)] 
dev-manual, ref-manual: Updates for BBPATH.

Two things fixed:

1. A couple examples for setting up a layer.conf file were
   using the meta-yocto configuration file as an example.
   Turns out this is a bad example because the BBPATH variable
   is appended to the LAYERDIR when setting BBPATH rather
   than the other way around.  That is because meta-yocto
   is a distro layer.  BSP layers, however, are not distro
   layers and are the norm here.  So I switched up the way
   BBPATH was set and actually called out meta-yocto-bsp
   config file as a template.

2. Added a link for the BBPATH variable in the
   FILESYSTEM_PERMS_TABLES variable description in the
   glossary.  Just happened to notice this so I fixed it

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 1a594b6dde1a494a5f7322b510e1e67d23635298)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, dev-manual: Updates to BBMASK variable.
Scott Rifenbark [Wed, 30 Jan 2013 21:42:26 +0000 (15:42 -0600)] 
ref-manual, dev-manual: Updates to BBMASK variable.

Fixes YOCTO #3662

I added more information to the variable desription in the
glossary for BBMASK.  The information included a bit more
syntax information as well as some more complex examples.

I added more reference information to the "Excluding Recipes
From the Build" section to help better describe how the
BBMASK variable works.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: f10f43a543e7b0892863e165d2902741a8823009)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updates to the FILESEXTRAPATHS variable.
Scott Rifenbark [Wed, 30 Jan 2013 20:10:25 +0000 (14:10 -0600)] 
ref-manual: Updates to the FILESEXTRAPATHS variable.

Fixed YOCTO #3662

Updates to the description so _prepend is used to add paths
to the front of the search order and use of the variable
without _prepend just adds paths to the end of the
FILESPATH order.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 44c98058c1a75a9e6c95e4f33dbe1696e23d97d0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: new BB_DANGLINGAPPENDS_WARNONLY variable added to glossary.
Scott Rifenbark [Wed, 30 Jan 2013 19:54:59 +0000 (13:54 -0600)] 
ref-manual: new BB_DANGLINGAPPENDS_WARNONLY variable added to glossary.

Fixes YOCTO #3662

New entry added.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 73f8b28f6b6cea16cf63b99db88c961f87088fe1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Add chunk.quietly option to eclipse processing
Timo Mueller [Thu, 6 Dec 2012 09:19:53 +0000 (10:19 +0100)] 
documentation: Add chunk.quietly option to eclipse processing

The chunk.quietly option disables the output of the docbook
chunker. Creation of a new html file is now longer printed to the
console. This provides a much cleaner output of the eclipse makefile
target.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/tools/eclipse-help.sed: Fix whitespace
Timo Mueller [Thu, 6 Dec 2012 09:19:52 +0000 (10:19 +0100)] 
documentation/tools/eclipse-help.sed: Fix whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Fix copying of figures folder
Timo Mueller [Thu, 6 Dec 2012 09:19:51 +0000 (10:19 +0100)] 
documentation/Makefile: Fix copying of figures folder

When calling the eclipse target twice without calling clean in between
the figures folder was copied as a subfolder of the existing figures
folder. This patch fixes the copy command to correctly copy the
figures folder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Clean up eclipse target and update help.
Timo Mueller [Fri, 30 Nov 2012 08:59:52 +0000 (09:59 +0100)] 
documentation/Makefile: Clean up eclipse target and update help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Added conversion of links to other documentation parts.
Timo Mueller [Fri, 30 Nov 2012 08:59:51 +0000 (09:59 +0100)] 
documentation/Makefile: Added conversion of links to other documentation parts.

The script tools/eclipse-help.sed is used to convert links that
point to other documentation parts. This avoids having to leave
the eclipse help center when clicking these links.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/tools/eclipse-help.sed: Processes external links for eclipse html files
Timo Mueller [Fri, 30 Nov 2012 08:59:50 +0000 (09:59 +0100)] 
documentation/tools/eclipse-help.sed: Processes external links for eclipse html files

The file is used when creating eclipse help html files. It processes
all html files and converts links so that the user can navigate
between different docuementation parts without leaving the eclipse
help center.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for yocto-project-qs and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:49 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for yocto-project-qs and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the yocto-project-qs. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Convert fake-title section into...
Timo Mueller [Fri, 30 Nov 2012 08:59:48 +0000 (09:59 +0100)] 
documentation/yocto-project-qs/yocto-project-qs.xml: Convert fake-title section into articleinfo

The fake title section is converted into a docbook
article.articleinfo. If used with a custom title page this will lead
to the excapt same output. But I will enable the creation of metadata
from this title information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML yocto project qs manual
Timo Mueller [Fri, 30 Nov 2012 08:59:47 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML yocto project qs manual

This target will generate eclipse help for the yocto-project-qs using
the yocto-project-qs-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs/yocto-project-qs-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:46 +0000 (09:59 +0100)] 
documentation/yocto-project-qs/yocto-project-qs-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs: Added custom title page
Timo Mueller [Fri, 30 Nov 2012 08:59:45 +0000 (09:59 +0100)] 
documentation/yocto-project-qs: Added custom title page

The quick start guide is currently not using a title information to
set the title of the document (e.g. article.title or
article.articleinfo.title).
As other output formats may use the title information to create
metadata this information has to be added to the document. To preserve
current style of the document a custom title page has to be used. With
this for instance 'article.title' can be used instead of the
fake-title section currently used, leaving the style intact.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move yocto-project-qs global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:44 +0000 (09:59 +0100)] 
documentation: Move yocto-project-qs global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for poky-ref-manual and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:43 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for poky-ref-manual and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the poky-ref-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>