scm/bb/tizen-distro.git
10 years agopackage_{ipk, deb, rpm}.bbclass: support additional user-defined metadata
Leonid Borisenko [Fri, 16 Nov 2012 18:29:26 +0000 (18:29 +0000)]
package_{ipk, deb, rpm}.bbclass: support additional user-defined metadata

Additional metadata from user-defined variable is written into
control/spec file of binary package.

Three variables are searched for adiitional package metadata:

  * PACKAGE_ADD_METADATA_<PKGTYPE>_<PN>
  * PACKAGE_ADD_METADATA_<PKGTYPE>
  * PACKAGE_ADD_METADATA

First found variable with defined value wins.

<PN> is a package name. <PKGTYPE> is a distinct name of specific
package type:

  * IPK for .ipk packages
  * DEB for .deb packages
  * RPM for .rpm packages

Variable can contain multiple [one-line] metadata fields separated by
literal sequence '\n'. Separator can be redefined through variable flag
'separator'. In package control/spec file separator is replaced by
newline character.

(From OE-Core rev: 773d7352309241e15ef5acadcbe416bdd7d45c18)

Signed-off-by: Leonid Borisenko <ive.found@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: add getter of additional metadata
Leonid Borisenko [Fri, 16 Nov 2012 18:29:25 +0000 (18:29 +0000)]
package.bbclass: add getter of additional metadata

Two variables are searched for value of additional package metadata:

  * PACKAGE_ADD_METADATA_<PKGTYPE>
  * PACKAGE_ADD_METADATA

First found variable with defined value wins.

<PKGTYPE> is a parameter of getter and expected to be a distinct name
of specific package type. For example: 'DEB' or 'RPM'.

Variable can contain multiple [one-line] metadata fields, separated by
literal sequence '\n'. Separator can be redefined through variable flag
'separator'. Getter returns found value with separator replaced with
newline character.

As side-effect, searched variables acquired flags 'type' (equals to
'list') and 'separator'.

(From OE-Core rev: 98ea2fc35a3ef609a944929e21e0f9be2889036d)

Signed-off-by: Leonid Borisenko <ive.found@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: add systemd support
Chen Qi [Fri, 17 Jan 2014 06:22:42 +0000 (01:22 -0500)]
at: add systemd support

Add systemd support for at.

This patch mainly comes from meta-systemd.

[YOCTO #4420]

(From OE-Core rev: b71670bfbd8e394521cfd969eeafad4adc34c285)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistcc: add systemd support
Chen Qi [Fri, 17 Jan 2014 05:51:12 +0000 (00:51 -0500)]
distcc: add systemd support

Add systemd support for distcc.

These unit files mainly use the same files in Fedora 20 as a reference.

[YOCTO #4420]

(From OE-Core rev: baae0b0e8786e26b60e17c4febd57ca1915f1e55)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: fixes for systemd
Chen Qi [Fri, 17 Jan 2014 03:03:22 +0000 (22:03 -0500)]
openssh: fixes for systemd

This patch contains a few fixes for the systemd unit files of openssh.
The fixes use the same unit files in Fedora 20 as a reference.

1) Remove sshdgenkeys.service and sshd@.service from SYSTEMD_SERVICE.
2) Fix the dependency and logic of sshdgenkeys.service.

(From OE-Core rev: 4379e6f3096c893db5fa6a0b4569a0440e4494fe)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodropbear: add systemd unit files
Chen Qi [Thu, 16 Jan 2014 09:24:53 +0000 (04:24 -0500)]
dropbear: add systemd unit files

This patch mainly comes from meta-systemd with a few modifications.
The purpose is to get rid of the LSB init scripts in systemd images.

[YOCTO #4420]

(From OE-Core rev: 5d90c5ebdb899b2951c97a94ff57867c1e491c15)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr-util: enable ptest support
Chong Lu [Fri, 17 Jan 2014 07:59:57 +0000 (15:59 +0800)]
apr-util: enable ptest support

Install apr-util test suite and run it as ptest.

(From OE-Core rev: d132900b04a48193f05c04a77c324aa927970328)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: enable ptest support
Chong Lu [Tue, 14 Jan 2014 09:42:39 +0000 (17:42 +0800)]
apr: enable ptest support

Install apr test suite and run it as ptest.

(From OE-Core rev: d8cfe2ce6d45a375449dc3a7370516b8473b0996)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: fix ptest to make it able to run on target
Chen Qi [Mon, 23 Dec 2013 08:17:18 +0000 (03:17 -0500)]
systemd: fix ptest to make it able to run on target

This patch mainly involves four changes.
1. Ship the sys.tar.xz and extract it on target to avoid ELOOP error.
2. Make systemd-ptest rdepend on bash and perl as the test cases need them.
3. Fix paths in Makefile so that the test cases could run on target.
4. Install ${libdir}/udev/rules.d directory to make udev-test.pl work.

[YOCTO #5664]
[YOCTO #5673]
[YOCTO #5674]

(From OE-Core rev: 03ed9095b1ca54a060407f355be0ad9ec86b7610)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Add core2 and corei7 tune choice to x86_64
Darren Hart [Tue, 21 Jan 2014 23:58:45 +0000 (23:58 +0000)]
yocto-bsp: Add core2 and corei7 tune choice to x86_64

Update the x86_64 architecture bsp creator to include choices for core2
and corei7 tune files.

(From meta-yocto rev: 06a16db32eae5b2280642643009fa653dc6f7839)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Update substrate to use the new x86 tune files
Darren Hart [Tue, 21 Jan 2014 23:35:39 +0000 (23:35 +0000)]
yocto-bsp: Update substrate to use the new x86 tune files

Update the substrates to use x86-base instead of ia32-base and core2-64
instead of x86-64. Update the core2 bit to include the DEFAULTTUNE to be
explicit.

(From meta-yocto rev: 3ccc079192ca147382231f0379bae1d04d47a89c)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc-ld.inc: Update the inc file to match the new x86 tune
Darren Hart [Tue, 21 Jan 2014 23:43:08 +0000 (23:43 +0000)]
eglibc-ld.inc: Update the inc file to match the new x86 tune

I created this after a git grep to look for files impacted by the x86
tune changes. I need a careful review here to determine if this is in
fact the right thing to do.

(From OE-Core rev: 0f3f8d6cad190cb8de9dba56c5933abdf4d99d07)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86_64: Use the core2-64 tune
Darren Hart [Tue, 21 Jan 2014 17:58:41 +0000 (17:58 +0000)]
qemux86_64: Use the core2-64 tune

As x86_64 has been "demoted" to an ABI definition rather than a concrete
tune file, replace it with core2-64 for the qemux86-64 machine.

(From OE-Core rev: 65c1ba225a410d2ee1913d55c6f986db9f54cc8e)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune: README: Typographical corrections
Darren Hart [Fri, 17 Jan 2014 22:27:00 +0000 (22:27 +0000)]
tune: README: Typographical corrections

No new content, just correcting a few typographical errors.

(From OE-Core rev: 8df13f5013d92954ee76943dad58db75704c3cc5)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune: README: Document best practice
Darren Hart [Fri, 17 Jan 2014 22:26:32 +0000 (22:26 +0000)]
tune: README: Document best practice

Describe the expected usage of base architecture tune files and
arch-specific files, specifically the stacking of generations.

(From OE-Core rev: 282735d7c8fcbd7e354f544c45461b095700fb77)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune: README: Whitespace cleanup
Darren Hart [Fri, 17 Jan 2014 22:26:21 +0000 (22:26 +0000)]
tune: README: Whitespace cleanup

Before making content changes, cleanup the various whitespace errors in
this file. Mostly end-of-line whitepsace.

(From OE-Core rev: 112e291c14ce4c3b8d074b71e63500dce609784e)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune: Remove tune-x86_64.inc
Darren Hart [Tue, 21 Jan 2014 17:45:38 +0000 (17:45 +0000)]
tune: Remove tune-x86_64.inc

The tune-x86_64.inc file is conceptually flawed. x86_64 is more akin to
the x86 and x86-32 ABIs defined in arch-x86.inc than it is a concrete
tune file, such as i586 or core2 - to the extent that everything but the
default tune is defined in the arch-x86.inc file. This becomes very
apparant when attempting to include tune-x86_64.inc in the x86 tune
hierarchy.

Remove the tune-x86_64.inc tune file in favor of it being an ABI
definition in arch-x86.inc and relying on the linear hierarchy of
concrete cpu-types in tune-i586, tune-core2, and tune-corei7.

core2_64 should suffice in lieu of x86_64 for all but a couple esoteric
corner cases involving older pre-core2 CPUs. In these cases, if they
exist at all, the BSP can replace the include tune-x86_64.inc with
arch-x86.inc and set the default tune to x86_64.

(From OE-Core rev: d8884649b2b3e76519bc10f5908f98d940a9c0cb)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune-corei7: Add support for cpu-type corei7
Darren Hart [Fri, 17 Jan 2014 22:26:11 +0000 (22:26 +0000)]
tune-corei7: Add support for cpu-type corei7

corei7 offers a significant advancement since the previous core2
cpu-type described in the tune-core2 file.

From the GCC(1):
Intel Core i7 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3,
               SSSE3, SSE4.1 and SSE4.2 instruction set support.

This offers optimizations for Nehalem and Silvermont (e.g. Bay Trail)
CPUs (and beyond).

(From OE-Core rev: 21f8ce2a4b94034284eb74b9c3b4c9cc638511d6)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune: Make 32b or 64b explicit in tune name for core2
Darren Hart [Tue, 21 Jan 2014 17:51:59 +0000 (17:51 +0000)]
tune: Make 32b or 64b explicit in tune name for core2

Core2 has both a 32b and a 64b variant. Currently, core2 implies 32b,
while core2_64 is the 64b version. This implicit 32b mode will become
confusing in later architectures, such as corei7, where it would be
natural for people to assume "corei7" meant 64 bit.

Rather than carrying forward an implicit 32b mode and rather than
changing the naming scheme part way through the architecture hiearchy,
make the 32b and 64b variant explicit in the tune name by changing core2
to core2-32. This patch also standardises on using '-' in the names.

(From OE-Core rev: 69e6395b8d11e2940892a6293ecbbe645c2a478b)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune-core2: Only add the current ARCH to PACKAGE_EXTRA_ARCHS
Darren Hart [Fri, 17 Jan 2014 22:26:00 +0000 (22:26 +0000)]
tune-core2: Only add the current ARCH to PACKAGE_EXTRA_ARCHS

Inherit the PACKAGE_EXTRA_ARCHS from i586 and only explicitly add core2
here.

(From OE-Core rev: 2a10d570560c37eb1d23cf853c0e541bc08a2878)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotune-core2: Replace -mtune=generic with -mtune=core2
Darren Hart [Fri, 17 Jan 2014 22:25:49 +0000 (22:25 +0000)]
tune-core2: Replace -mtune=generic with -mtune=core2

-march specifies which ISA to use. -mtune specifies which cpu-type to
optimize instruction ordering for, but not which ISA to use. There are
times when it may make sense to specify mtune=generic and use a more
specific march, such as core2, but the opposite makes little sense at
all: use cpu-type specific ISA, but order the instructions
generically. While the -mtune is implied by -march, gcc does not verify
it is using -mtune=core2 with:

    gcc -Q -march=core2 --help=target

Explicitly specify -mtune=core2 to be sure.

Add a comment header describing the CPUs targeted by this tune file.

(From OE-Core rev: 4cd33193b2db6c281275db2fb5cc169181955217)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoi586: Only add the current tune to PACKAGE_EXTRA_ARCHS
Darren Hart [Fri, 17 Jan 2014 22:28:33 +0000 (22:28 +0000)]
i586: Only add the current tune to PACKAGE_EXTRA_ARCHS

The generic x86 build supports i586 by default, so this specific tune
file technically doesn't add any specific ARCHes to PACKAGE_EXTRA_ARCHS.
For consistency, append the current tune to PACKAGE_EXTRA_ARCHS.

Since we do not have specific tune files for i386 and i486, just drop
them.

These could be added to tune-x86 version if there is a need to
maintain them, but they really do not belong here.

(From OE-Core rev: 1ff914118bdfb19d7f3d794a92ba3735c06ab97b)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox86: Replace ia32 with x86 when referring to the generic architecture
Darren Hart [Fri, 17 Jan 2014 22:25:36 +0000 (22:25 +0000)]
x86: Replace ia32 with x86 when referring to the generic architecture

ia32 implies 32bit, while these files provide descriptions for IA32,
X86_64, and X32 architectures. The term "x86" fits this used better
without resorting to using the term "Intel" which isn't quite right as
it excludes things like the tune-c3 file describing a Via CPU.

(From OE-Core rev: f5e0a574d87b7dc6466bfe01593fab5aa13464ff)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutils: Add a cpu_count wrapper function
Richard Purdie [Mon, 27 Jan 2014 14:38:08 +0000 (14:38 +0000)]
utils: Add a cpu_count wrapper function

Add a cpu_count wrapper function (useful from annonymous python where
the import would be trickier).

(From OE-Core rev: 0ae27a55759e7c4254e704e18b304d40013cb5c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Added 10 new variables to the glossary.
Scott Rifenbark [Wed, 22 Jan 2014 14:25:28 +0000 (08:25 -0600)]
bitbake: user-manual-ref-variables.xml: Added 10 new variables to the glossary.

Fixes [YOCTO #5472]

1. ASSUME_PROVIDED
2. BB_CURRENTTASK
3. BB_FETCH_PREMIRRORONLY
4. BB_FILENAME
5. BB_NICE_LEVEL
6. BB_HASHCONFIG_WHITELIST
7. BB_TASK_NICE_LEVEL
8. BB_NO_NETWORK
9. BB_NUMBER_PARSE_THREADS
10. STAMPCLEAN

(Bitbake rev: 72a01a54c4786a7a82ae8b86b8e2beedd07f7f21)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Fixed references to "Build Directory".
Scott Rifenbark [Tue, 21 Jan 2014 23:25:41 +0000 (17:25 -0600)]
bitbake: user-manual-ref-variables.xml: Fixed references to "Build Directory".

I made sure that these are lower-cased.  Also, removed the tags
for cross-referencing into the term section of the YP Development
Manual.

(Bitbake rev: f9e3de2bb3e73204ef35d102ff26ee7393056ede)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Editing pass.
Scott Rifenbark [Tue, 21 Jan 2014 23:20:55 +0000 (17:20 -0600)]
bitbake: user-manual-ref-variables.xml: Editing pass.

Corrected grammar and applied active voice where possible.
Also removed several cross-reference tags to the YP manual set.

(Bitbake rev: 17cbad436c97e904a04596237022e84853b10a21)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: template/titlepage.templates.xml: Suppress Title Text.
Scott Rifenbark [Mon, 20 Jan 2014 23:47:02 +0000 (17:47 -0600)]
bitbake: template/titlepage.templates.xml: Suppress Title Text.

I commented out two blocks of code that are responsible
for getting the book's title to format onto the title page.
Commenting the code out suppresses the title from the
PDF version's title page yet retains the title text for the
HTML tab space of the browser.  The reason this is necessary
is because the BitBake User Manual uses an image file for
the title.  Thus, it is not necessary to print the title
again.

(Bitbake rev: d7f15880c5423d91fd786e291f3e062545342184)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-customization.xsl: Updated param list to pass
Scott Rifenbark [Mon, 20 Jan 2014 22:35:25 +0000 (16:35 -0600)]
bitbake: user-manual-customization.xsl: Updated param list to pass

I added five parameters here to match the build process used
for the YP manual set.

(Bitbake rev: f95994be26986098c2603ef6d4cb10f06422b790)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Renamed section tag
Scott Rifenbark [Mon, 20 Jan 2014 21:13:18 +0000 (15:13 -0600)]
bitbake: user-manual-metadata.xml: Renamed section tag

There were two section tags that used the same id name "classes".
One was in the intro chapter and one was in the metadata chapter.
This was causing an exception in the PDF creation process and
breaking it.  I renamed the tag in the metadata chapter
"metadata-classes".

(Bitbake rev: d5f405586f7c50c602241519d32d02b1c7b1f345)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variavbles.xml: Added new glossary chapter.
Scott Rifenbark [Mon, 20 Jan 2014 19:09:43 +0000 (13:09 -0600)]
bitbake: user-manual-ref-variavbles.xml: Added new glossary chapter.

Added a scrubbed copy of the YP ref-manual glossary.  The content
was scrubbed to contain BB variables only.  Removed broken
cross-references, made sure the PDF file built.

(Bitbake rev: aae6bcb7fb6e056eb7b1027a8054f6ea5f8ab2b2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-bitbakecommand: Various edits/cleanups
Richard Purdie [Sat, 18 Jan 2014 16:25:25 +0000 (16:25 +0000)]
bitbake: user-manual-bitbakecommand: Various edits/cleanups

(Bitbake rev: f079e0886b1b191d84621057f9752cc32bfabb44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-bitbakecommand: Standardise on section tags, not example
Richard Purdie [Sat, 18 Jan 2014 16:22:01 +0000 (16:22 +0000)]
bitbake: user-manual-bitbakecommand: Standardise on section tags, not example

(Bitbake rev: c85a035608b7c862d964f45bb1b767fde072a1de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-bitbakecommand: Replace screen tags with literallayout
Richard Purdie [Sat, 18 Jan 2014 16:14:52 +0000 (16:14 +0000)]
bitbake: user-manual-bitbakecommand: Replace screen tags with literallayout

(Bitbake rev: 4fffe48ab607fd0d2f884186006ee168874b8414)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-bitbakecommand: Reform whitespace
Richard Purdie [Sat, 18 Jan 2014 16:05:00 +0000 (16:05 +0000)]
bitbake: user-manual-bitbakecommand: Reform whitespace

(Bitbake rev: f1a6d7029e7adc147655809dca71782a143c5ac5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-bitbakecommand: Update help text output with that from bitbake...
Richard Purdie [Sat, 18 Jan 2014 15:33:30 +0000 (15:33 +0000)]
bitbake: user-manual-bitbakecommand: Update help text output with that from bitbake master

(Bitbake rev: bd1da5001c03cba17a4c61cfb854ab394c50e732)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching: Editing pass over the manual chapter
Richard Purdie [Sat, 18 Jan 2014 15:24:18 +0000 (15:24 +0000)]
bitbake: user-manual-fetching: Editing pass over the manual chapter

(Bitbake rev: b0fc79e6405b7070a42cfda035e87edc832f8334)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching: Change varname/emphasis tags to filename
Richard Purdie [Sat, 18 Jan 2014 15:21:33 +0000 (15:21 +0000)]
bitbake: user-manual-fetching: Change varname/emphasis tags to filename

(Bitbake rev: 3b04c18212f3f0c22a1167dc6f62210e54ed2002)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching: Change screen -> literallayout
Richard Purdie [Sat, 18 Jan 2014 15:13:13 +0000 (15:13 +0000)]
bitbake: user-manual-fetching: Change screen -> literallayout

(Bitbake rev: e0474be77c954cac3bb9b403d6c854ff447cc02d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching: Change the file whitespace
Richard Purdie [Sat, 18 Jan 2014 15:07:32 +0000 (15:07 +0000)]
bitbake: user-manual-fetching: Change the file whitespace

(Bitbake rev: 7e32068d1ab4e1f342f70a8338bb8a51fc783da9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Clean up task documentation
Richard Purdie [Sat, 18 Jan 2014 14:34:14 +0000 (14:34 +0000)]
bitbake: user-manual-metadata: Clean up task documentation

(Bitbake rev: 55158ce6c5435544a62a60c0055724619bafde27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Clean up task flag section
Richard Purdie [Sat, 18 Jan 2014 14:33:33 +0000 (14:33 +0000)]
bitbake: user-manual-metadata: Clean up task flag section

(Bitbake rev: b2e8c56d0f554e3b118f23b42858319110501180)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Expand parsing process docuemtnation
Richard Purdie [Sat, 18 Jan 2014 14:32:51 +0000 (14:32 +0000)]
bitbake: user-manual-metadata: Expand parsing process docuemtnation

(Bitbake rev: 2596dd2b42c06ef258032356294cc345a6e25fed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Add section about layers
Richard Purdie [Sat, 18 Jan 2014 14:30:45 +0000 (14:30 +0000)]
bitbake: user-manual-metadata: Add section about layers

(Bitbake rev: 0a99fe01dc273c548f7f83f9a7695c21184e7331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Add section about INHERIT
Richard Purdie [Sat, 18 Jan 2014 14:29:16 +0000 (14:29 +0000)]
bitbake: user-manual-metadata: Add section about INHERIT

(Bitbake rev: f2ffe0365df7aa9c7d6c57b6bff8a5bbed198bfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Add section about running tasks and the environment
Richard Purdie [Sat, 18 Jan 2014 14:27:30 +0000 (14:27 +0000)]
bitbake: user-manual-metadata: Add section about running tasks and the environment

(Bitbake rev: b32524643c125c78848630a5ce18d1df36313bc7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Rework section about shell/python functions
Richard Purdie [Sat, 18 Jan 2014 14:26:07 +0000 (14:26 +0000)]
bitbake: user-manual-metadata: Rework section about shell/python functions

(Bitbake rev: c2bcb5364ff7c702bc1ec2726169f608b445f979)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Add section about data store operations
Richard Purdie [Sat, 18 Jan 2014 14:24:13 +0000 (14:24 +0000)]
bitbake: user-manual-metadata: Add section about data store operations

(Bitbake rev: 85ffd05f292386de1b098debb6a3d3fe18c6b6b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Add lists of common events
Richard Purdie [Sat, 18 Jan 2014 14:22:41 +0000 (14:22 +0000)]
bitbake: user-manual-metadata: Add lists of common events

(Bitbake rev: 240d3f0439e7c1f12e06fa738acc20fbcac8ae65)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Editing pass over the manual chapter
Richard Purdie [Sat, 18 Jan 2014 14:02:18 +0000 (14:02 +0000)]
bitbake: user-manual-metadata: Editing pass over the manual chapter

(Bitbake rev: 6f326f2f2785d6d48d7753abee6e8162852d8702)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Use filename tags instead of literal and varname tags
Richard Purdie [Sat, 18 Jan 2014 13:20:36 +0000 (13:20 +0000)]
bitbake: user-manual-metadata: Use filename tags instead of literal and varname tags

(Bitbake rev: 56f8c4ad09c244522d68e203fe4cb76d593a9f2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Replace screen tags with literallayout tags
Richard Purdie [Sat, 18 Jan 2014 13:14:30 +0000 (13:14 +0000)]
bitbake: user-manual-metadata: Replace screen tags with literallayout tags

(Bitbake rev: be3967f9f088e414c679e72a947817b60bab82d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Update whitespace (no content changes)
Richard Purdie [Sat, 18 Jan 2014 11:34:47 +0000 (11:34 +0000)]
bitbake: user-manual-metadata: Update whitespace (no content changes)

(Bitbake rev: 7eb1e340321ab4a5baa23e83eebf65ba13d23aef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Reorder sections to more logical order
Richard Purdie [Fri, 17 Jan 2014 16:35:32 +0000 (16:35 +0000)]
bitbake: user-manual-metadata: Reorder sections to more logical order

(Bitbake rev: 6f2bed62bde5cd20f91c336b158f60f4a6bcb82f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata: Add section ids for most sections
Richard Purdie [Fri, 17 Jan 2014 16:22:42 +0000 (16:22 +0000)]
bitbake: user-manual-metadata: Add section ids for most sections

(Bitbake rev: 4ad94fb161d5fe24869696187e01004bff61d569)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-hello.xml: Added new chapter for "Hello World Example"
Scott Rifenbark [Tue, 14 Jan 2014 13:27:59 +0000 (07:27 -0600)]
bitbake: user-manual-hello.xml: Added new chapter for "Hello World Example"

This file was evidently a "working" file and not included in the
manual at the point Bill left off.  The wmat branch, however, had
a load of commits dedicated to this file.  Rather than attempt to
replay them all one-by-one, I simply copied the file from the
wmat branch and hand-inserted the changes to make it equal to what
was there.  Note also that I re-formatted the file to have the
same formatting standards I use in the YP manuals.

(Bitbake rev: 9ddbf31ba7d05a596ca53b8ed78d94221850894b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual.xml: Cleanup on the title page.
Scott Rifenbark [Tue, 14 Jan 2014 00:04:41 +0000 (18:04 -0600)]
bitbake: user-manual.xml: Cleanup on the title page.

1. Added commented out manual revision history.
2. Cleaned up the author stuff.

(Bitbake rev: df92da67ddbb2bcc672911626b9abd1a168cf436)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro.xml: Re-write of BitBake introduction.
Bill Traynor [Tue, 14 Jan 2014 00:34:16 +0000 (18:34 -0600)]
bitbake: user-manual-intro.xml: Re-write of BitBake introduction.

(Bitbake rev: afc998a73f09f3d1a0d7e22425badfa5b7001aa1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro: Various minor cleanups/improvements
Richard Purdie [Fri, 17 Jan 2014 15:15:24 +0000 (15:15 +0000)]
bitbake: user-manual-intro: Various minor cleanups/improvements

(Bitbake rev: 5e22c0c5d4bb9e63142a13618f5f87e53c83d9f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro: Add obtaining bitbake and summary sections
Richard Purdie [Fri, 17 Jan 2014 15:07:11 +0000 (15:07 +0000)]
bitbake: user-manual-intro: Add obtaining bitbake and summary sections

Add new obtaining bitbake and summary sections from Bill Traynor

(Bitbake rev: 083e4e44f52ffdfca68ce6c56eae85ce3b719e1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro.xml: Added "Concepts" section.
Scott Rifenbark [Mon, 13 Jan 2014 23:35:00 +0000 (17:35 -0600)]
bitbake: user-manual-intro.xml: Added "Concepts" section.

Provided initial text for recipes, configuration files, and
classes.

(Bitbake rev: 55875bcf682979ce538845a8118452425ff96cfc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro: Update/improve whitespace
Richard Purdie [Fri, 17 Jan 2014 15:00:48 +0000 (15:00 +0000)]
bitbake: user-manual-intro: Update/improve whitespace

(Bitbake rev: fb74a1926c3a603a4c1ebe0325b27fb2c3aec3ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro: Expand introduction and fix spelling mistakes
Richard Purdie [Fri, 17 Jan 2014 14:58:20 +0000 (14:58 +0000)]
bitbake: user-manual-intro: Expand introduction and fix spelling mistakes

Expand the introduction section, fill out the section ids and fix some spelling
mistakes.

Wording from Bill Traynor/Scott Rifenbark

(Bitbake rev: 780f61da6a59c52555de8574093a264d565b2a75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: documentation: Add README based off the YP docs one
Bill Traynor [Mon, 14 Jan 2013 20:24:34 +0000 (15:24 -0500)]
bitbake: documentation: Add README based off the YP docs one

Reusing the README file from the Yocto Project Documentation
directory but removed the YP specific content and changed to be
specific to BitBake.

(Bitbake rev: 67b6e9c54676e979c546c0d350b2d01443f13f36)

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: gitignore: Update for recent docs changes
Bill Traynor [Mon, 14 Jan 2013 19:32:51 +0000 (14:32 -0500)]
bitbake: gitignore: Update for recent docs changes

Added a few more files to gitignore file to allow document
generation testing.

(Bitbake rev: f6310ca9ccb402a7569a79a4e92751c6d5733697)

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual: Separate out chapters into individual files
Richard Purdie [Fri, 11 Jan 2013 17:45:15 +0000 (12:45 -0500)]
bitbake: user-manual: Separate out chapters into individual files

Splitting the manual into a chapter per file makes the content
a little more managable.

(Bitbake rev: 020178eba958d2d5142ee0909fc0fd133b97cd92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual: Import YP Docs templates for usermanual improvements
Bill Traynor [Fri, 11 Jan 2013 17:45:15 +0000 (12:45 -0500)]
bitbake: user-manual: Import YP Docs templates for usermanual improvements

Import the necessary pieces to be able to build the BitBake User
Manual using make in a similar way that the Yocto Documentation is
built.  The Makefile has been edited to remove Yocto Project specific
content and adapt for bitbake's needs.

(Bitbake rev: d4199078692f86341ed5b42a7c2dd4b34819aead)

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: usermanual: Renamed manual dir to user-manual to be consistent.
Bill Traynor [Mon, 7 Jan 2013 14:34:50 +0000 (09:34 -0500)]
bitbake: usermanual: Renamed manual dir to user-manual to be consistent.

Renaming the manual directory to user-manual in order to allow
for future additions of specific manual types, such as a
dev-manual.

(Bitbake rev: 4617aa5e8491067f7825062ed3baee27cf697e88)

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: usermanual: Updated CC License to version 3.0
Bill Traynor [Fri, 4 Jan 2013 15:40:40 +0000 (10:40 -0500)]
bitbake: usermanual: Updated CC License to version 3.0

Updated the Creative Commons License to the most current version,
version 3.0.  Also updated the Creative Commons mailing address.

(Bitbake rev: 0546bc19557de9263b448ceb1707884543d2de56)

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix package data gathering
Alexandru DAMIAN [Fri, 17 Jan 2014 17:58:05 +0000 (17:58 +0000)]
bitbake: toaster: fix package data gathering

Under OE-Core, the name under which a package would
be installed in a target may have been different than the
name under it has been built or recorded in the dependencies
listings.

This patch addresses the way that Toaster records package
names, and adds the field of "installed_name" to save the
name under which a package have been installed in an image.

(Bitbake rev: 24e0367429b248108b104ab5a2af05efcf7a8c39)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix builds page CSS and functionality
Alexandru DAMIAN [Mon, 20 Jan 2014 17:31:08 +0000 (17:31 +0000)]
bitbake: toaster: fix builds page CSS and functionality

This patch fixes a set of CSS and functionality problems
with the build list page:

* Fix Recent Builds text styles
* Added proper links from Failed Tasks entries.
* Always Search returns to the first page of results.
* Clear search button appears only if search is active.
* Search shows the number of object, proper no objects found
* Various smaller fixes.

(Bitbake rev: 9164948e387a726f318f723f63e8d93435d7afe6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Set .error styles for tables
Barros Pena, Belen [Thu, 16 Jan 2014 10:50:59 +0000 (10:50 +0000)]
bitbake: toaster: Set .error styles for tables

Override the default styles of Twitter Bootstrap for table rows
with the .error class applied, and ensure that table cells and
anchor tags inherit the .error styles when their table row has
that class applied.

(Bitbake rev: 8b44955bb836ccad384718247ceb08d713ebc152)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: All Tasks Feature with sorting and filtering
Ravi Chintakunta [Fri, 10 Jan 2014 21:43:24 +0000 (16:43 -0500)]
bitbake: toaster: All Tasks Feature with sorting and filtering

- Fixed the all tasks view and template  to match the UI design and use
the new basetable code.

- Added a method to views to add sort order icon to the view context.

- Default sort order when the page is loaded is displayed with the sort icon

- Filtering of columns

(Bitbake rev: b2f8de082c3ae41eb44e6ccdc283849b64d0b0f2)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Implementation of recipe detail views
David Reyna [Sat, 18 Jan 2014 00:58:08 +0000 (16:58 -0800)]
bitbake: toaster: Implementation of recipe detail views

Add the new recipe detail page and update the view context accordingly.
Rename the recipe summary page to 'recipes.html' and add the respective
links to the recipe details page.

The views are based on specifications found in attachments to
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4299

[YOCTO #4299]

(Bitbake rev: d561000b6c4927ef6ec269e9ab7c70249b3c344a)

Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Implementation of base build details page
David Reyna [Fri, 17 Jan 2014 01:41:57 +0000 (17:41 -0800)]
bitbake: toaster: Implementation of base build details page

This page is the standard base page for 'details' views. It is
based on 'basebuildpage.html' but does not include the build's
quick-link sidebar.

(Bitbake rev: 2d7e9a6f8464783e165804974a7d94b544c9a43f)

Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Added custom filter tags for use in templates.
Ravi Chintakunta [Tue, 14 Jan 2014 19:06:38 +0000 (14:06 -0500)]
bitbake: toaster: Added custom filter tags for use in templates.

- custom filter tag to return the css class based on
  the task execution status and execution outcome

- custom filters for active filter icon and tooltip text

- custom filter for displaying blank for None, zero, '0' and
  'Not Applicable'

(Bitbake rev: 1e9253984e6f107c6eed1c3b9df3a444076e2989)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Base table fixes for header text, sort icon and filter icon
Ravi Chintakunta [Fri, 10 Jan 2014 21:36:40 +0000 (16:36 -0500)]
bitbake: toaster: Base table fixes for header text, sort icon and filter icon

- Display the table column header as a link only if it is sortable.
   Non-sortable column headers are displayed as plain text.

- Display the sort order by an up / down arrow icon next to the
   column header

- Add style for header in default.css

- Set tooltip for the active filter icon

- Pass the view name to the filter dialog

(Bitbake rev: 53ede15926d45b555252d77919a0568a984c6d74)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Base html fix to set the page title
Ravi Chintakunta [Wed, 15 Jan 2014 19:55:06 +0000 (14:55 -0500)]
bitbake: toaster: Base html fix to set the page title

Set title of the page if the context includes objectname.

(Bitbake rev: 8bfd140b93bcbfe8be4dd8a30268d3cc033e180f)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: settings remove duplicate entry
Alexandru DAMIAN [Fri, 10 Jan 2014 03:08:09 +0000 (22:08 -0500)]
bitbake: toaster: settings remove duplicate entry

The 'toastergui' application had duplicate entries,
so this patch removes the duplicate ones.

Based on an original patch from Ravi Chintakunta <ravi.chintakunta@timesys.com>.

(Bitbake rev: 86d3a44e81aa3dbff947330dfaeff6040bbd625f)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add initial tests
Andreea Proca [Tue, 14 Jan 2014 14:01:08 +0000 (16:01 +0200)]
bitbake: toaster: Add initial tests

This adds the initial api tests for toaster, using Django's unittest modules.

(Bitbake rev: daf9a61fbf69a46b7afd781a6175b05b05fd452f)

Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Toaster GUI Build and Dashboard pages fixes
Alexandru DAMIAN [Thu, 16 Jan 2014 12:22:21 +0000 (12:22 +0000)]
bitbake: toaster: Toaster GUI Build and Dashboard pages fixes

THis is a large set of fixes for the generic table, Build and
Dashboard pages.

Among the fixes:
* the table remembers which columns to show across refreshes,
based on saving the settings in a cookie
* added column timespent for a build which is  a denormalization
of the completed_on - started_on information due to limits in
computing datetime differences in the SQL engine
* fixed formatting of the time differences
* various sorting header links fixed
* correct error and warning CSS classes applied to the
respective rows
* fixes multiple divide-by-zero error in displaying duration
estimations

(Bitbake rev: 61e3dee55ac577fce1c0ae0fe7e0d3cf644e8ae6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add jquery cookie plugin
Alexandru DAMIAN [Thu, 16 Jan 2014 13:07:02 +0000 (13:07 +0000)]
bitbake: toaster: add jquery cookie plugin

We add the jquery cookie plugin to allow us to save
and read local client date in cookie.

jquery-cookie using version 1.4.0 under MIT licence.

(Bitbake rev: 8ce1668dd93269add878f8ea69deb8b53f3bca8b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add vim modelines for .py files
Alexandru DAMIAN [Tue, 14 Jan 2014 12:50:32 +0000 (12:50 +0000)]
bitbake: toaster: add vim modelines for .py files

No-op patch that adds vim modelines for all .py files
intended to be user-edited.

(Bitbake rev: 73271a7c6f1913c68a4b39ab86414f44acc04776)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update Task classification fields
Alexandru DAMIAN [Tue, 14 Jan 2014 12:35:12 +0000 (12:35 +0000)]
bitbake: toaster: update Task classification fields

This patch updates the task classification fields (outcome, etc)
as to

* Changes outcome names from SSTATE to CACHED and
from EXISTING to PREBUILT

* NoExec tasks now recorded as Not Executed / script type NA instead
of Executed / script type NOEXEC. Script type NOEXEC is deleted.

* SetScene tasks do not get order numbers

* New task method that returns a QuerySet for setscene tasks related
to this task: Task.get_related_setscene()

* New custom TaskManager that allows searching for setscene tasks
related to a certain task: Task.objects.related_setscene(task)

(Bitbake rev: a4164821a142f8b625a5fdc209adc6dc80874241)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update Simple UI references to avoid conflict
Alexandru DAMIAN [Mon, 13 Jan 2014 17:03:41 +0000 (17:03 +0000)]
bitbake: toaster: update Simple UI references to avoid conflict

Since the Toaster GUI was cloned from the Simple UI, we need
to update the URL pattern names in Simple UI to
prevent conflict when determining the reverse URL path.

(Bitbake rev: 6ed1a28eb0e52a6de83a37664ff6f4418ce84ee4)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Only attempt to print closest matching task if there is a match
Richard Purdie [Mon, 20 Jan 2014 21:36:36 +0000 (21:36 +0000)]
bitbake: runqueue: Only attempt to print closest matching task if there is a match

(Bitbake rev: 1dbf400c662354b7826b2b97ee2e3e6d11af9fd2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/wget: Check downloaded file isn't zero size
Richard Purdie [Tue, 21 Jan 2014 09:58:21 +0000 (09:58 +0000)]
bitbake: fetch2/wget: Check downloaded file isn't zero size

I can't think of a reason we'd download zero sized files however there are
reasons zero length files can accidently make it onto source mirrors.

This check allows us to ignore the broken files and switch to another
mirror rather than fail with odd checksum failures.

(Bitbake rev: 300cba2e1a720dba4b83b0c76208ea93c608c1de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtool-cross/native: Force usage of bash due to sstate inconsistencies
Richard Purdie [Thu, 23 Jan 2014 12:10:01 +0000 (12:10 +0000)]
libtool-cross/native: Force usage of bash due to sstate inconsistencies

Scenario:
a) libtool script is built on system with bash as /bin/sh
b) machine B installs sstate from build a)
c) machine B has dash as /bin/sh

In this scenario, the script fails to work properly since its expecting
/bin/sh to have bash like syntax and it no longer does have it.

This patch forces the configure process to use /bin/bash, not /bin/sh
and hence allows the scripts to work correctly when used from sstate.

(From OE-Core rev: 24d5b449e5f4d91119f0d8e13c457618811aadfc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "e2fsprogs/populate-extfs.sh: fix a problem on dash"
Richard Purdie [Thu, 23 Jan 2014 10:28:32 +0000 (10:28 +0000)]
Revert "e2fsprogs/populate-extfs.sh: fix a problem on dash"

This reverts commit 22f90c5aec4f0b0360d1d960226f9965d83d589b.

This causes build failures with:

| dirname: missing operand
| Try 'dirname --help' for more information.

under some circumstances.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoboot-directdisk: fix the support of vmdk
Joao Henrique Ferreira de Freitas [Thu, 23 Jan 2014 06:50:14 +0000 (22:50 -0800)]
boot-directdisk: fix the support of vmdk

Previous change (086ce22b88f5ef5f75a83119a32c8b3fdcfa296d) broke
the creating of vmdk images. This protects shell expansion variables
and let dd generate the image to be transformed to vmdk by image-vmdk.class.

(From OE-Core rev: 2fe667afbdc6880c377657b5ff27e6db3b6cbe77)

Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com>
[edit to change the usage of IMAGE_FSTYPE to IS_VMDK]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Add option -T to allways use the full time
Peter Kjellerstedt [Tue, 21 Jan 2014 15:22:35 +0000 (16:22 +0100)]
pybootchartgui: Add option -T to allways use the full time

When --full-time (or -T) is used, the graph allways shows the full
time regardless of which processes are currently shown. This is
especially useful in combinationm with the -s flag when outputting to
multiple files.

(From OE-Core rev: c6e88199ddf2c4ae243d42afc403d28ab56f00f0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Adopt the width of the index in split output files
Peter Kjellerstedt [Tue, 21 Jan 2014 15:22:34 +0000 (16:22 +0100)]
pybootchartgui: Adopt the width of the index in split output files

Add minimum width zero-padding to the index used in split output files
with -s and -o. I.e., if -s 200 is used, then the index will be
zero-padded to three digits width.

(From OE-Core rev: 45565b24651ab502ae49dc49261dc3ad5634191f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Simplify adding processes to the trace
Peter Kjellerstedt [Tue, 21 Jan 2014 15:22:33 +0000 (16:22 +0100)]
pybootchartgui: Simplify adding processes to the trace

(From OE-Core rev: 5fa869007b5ba762bf5679197cf98b1d14a34a22)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Correct the legend
Peter Kjellerstedt [Tue, 21 Jan 2014 15:22:32 +0000 (16:22 +0100)]
pybootchartgui: Correct the legend

(From OE-Core rev: 1ca2e1a2ae3dc4d1e62a9daf25df588ec27a195a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Make the -s option work again
Peter Kjellerstedt [Tue, 21 Jan 2014 15:22:31 +0000 (16:22 +0100)]
pybootchartgui: Make the -s option work again

[YOCTO #5588]

(From OE-Core rev: 8245ceab3acd02618f24665ff5dc203c1e5cce1d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtool: remove the unrecognized configure option
Chen Qi [Wed, 15 Jan 2014 06:51:34 +0000 (14:51 +0800)]
libtool: remove the unrecognized configure option

Remove the unrecognized configure option '--with-sysroot' to avoid
build time warnings.

(From OE-Core rev: 6f6a10372b6a318be7695b6b50275a8a3e9ed033)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake.bbclass: fix note when warning about deprecated variables
Ross Burton [Tue, 21 Jan 2014 11:37:36 +0000 (11:37 +0000)]
cmake.bbclass: fix note when warning about deprecated variables

The note issues when OECMAKE_BUILDPATH and OECMAKE_SOURCEPATH were being used
stated that an in-tree build would be done, but the default is in fact an
out-of-tree build.

(From OE-Core rev: 0dafb9f78e9ab9ec1a1483efc37902c2e8de3623)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: do not install rootfs if target is not selected
Laurentiu Palcu [Fri, 17 Jan 2014 15:16:18 +0000 (17:16 +0200)]
adt_installer: do not install rootfs if target is not selected

Currently, if YOCTOADT_TARGETS does not contain an architecture but the
rootfs/machine settings are uncommented, then the rootfs is installed
and adt will throw an error because is not able to find the toolchain
environment script.

This patch will:
 * not allow to install a target rootfs if the toolchain for the
   target architecture is not selected;
 * uncomment the target rootfs/machine settings for the other
   architectures since it's easier for the user to just add a new
   architecture in YOCTOADT_TARGETS and have the target rootfs
   installed;

[YOCTO #5727]

(From OE-Core rev: 22351d27de76b39cb71904396e73497e36d9e1d6)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa: sshcontrol: fix false timeout failures
Stefan Stanacar [Fri, 17 Jan 2014 15:57:47 +0000 (17:57 +0200)]
lib/oeqa: sshcontrol: fix false timeout failures

Ocasionally AB shows odd false fails like:
http://autobuilder.yoctoproject.org/main/builders/nightly-arm/builds/1/steps/Running%20Sanity%20Tests/logs/stdio
This should fix that by checking for eof instead of
polling the return code of the ssh process, because the process
might still be there.

(From OE-Core rev: 3a22b5df5aa38a98b35bc2931d646a2b7702fbec)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdk-pixbuf: use PACKAGECONFIG to control loaders with external dependencies
Ross Burton [Mon, 20 Jan 2014 22:45:02 +0000 (22:45 +0000)]
gdk-pixbuf: use PACKAGECONFIG to control loaders with external dependencies

(From OE-Core rev: aaa3644a75a7698604102b3b68d40b4dcc02df1d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>