scm/bb/tizen-distro.git
10 years agounfs3: Fix compile regression from unfs3 port
Jason Wessel [Sat, 1 Feb 2014 14:07:39 +0000 (08:07 -0600)]
unfs3: Fix compile regression from unfs3 port

A line got dropped from the original patch when porting to the latest
unfs3.  The regression was introduced in commit 7d8075c64 (unfs3: Fix
dependencies and allow target builds).

This patch restores the missing line from the original which had been
working fine for over a year's time.

 --- a/Config/Makefile.in
 +++ b/Config/Makefile.in
 @@ -12,7 +12,9 @@ all: lib.a
  lib.a: $(OBJS)
        $(AR) crs lib.a $(OBJS)

 -y.tab.h y.tab.c: exports.y
 +y.tab.h: y.tab.c
 +
 +y.tab.c: exports.y
         $(YACC) -d exports.y

(From OE-Core rev: 9edbd9d872c128038fd7b56fac713256fd69c6c5)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix race against tasks sharing stamp files
Richard Purdie [Fri, 31 Jan 2014 11:17:34 +0000 (11:17 +0000)]
bitbake: runqueue: Fix race against tasks sharing stamp files

Shared work directories work by assuming bitbake will not run
more than one task with a specific stamp name. Recent runqueue optimisations
accidentally broke this meaning there could be races. This fixes the code.

(Bitbake rev: b1628b1a260ddf43fc9985535b1ddcfcebbb1e5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Include patch scheduled for GCC 4.8.3 to fix epilogue on ARM
Holger Hans Peter Freyther [Fri, 31 Jan 2014 09:45:17 +0000 (10:45 +0100)]
gcc: Include patch scheduled for GCC 4.8.3 to fix epilogue on ARM

GCC 4.8.0, 4.8.1 and 4.8.2 can generate broken epilogues for the
ABI used by the kernel. Apply the patch that is included for GCC
4.8.3 from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854.

The issue was found on Yocto/Dora and the patch should be backported
to this branch. A kernel built with Dora's GCC 4.8.1 misbehaved on:

 while true;
 do
    (for i in `seq 1 100`;
        do
            echo "Log message... $RANDOM";
        done) | logger;
 done

busybox's syslogd would from time to read a huge negative value and
then exit, strace would get stuck waiting on a syscall. After this
patch it appears to work better.

(From OE-Core rev: 3004eb3b7ee5fd8dfe9c4e5749b4e125d0bd4b59)

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtool: Set CONFIG_SHELL for nativesdk
Richard Purdie [Fri, 31 Jan 2014 10:24:42 +0000 (10:24 +0000)]
libtool: Set CONFIG_SHELL for nativesdk

We're seeing similar failures that we saw from libtool-native and libtool-cross
where /bin/sh changed from bash to dash on different machines after sstate
reusage. This patch fixes nativesdk to avoid the same issue.

(From OE-Core rev: 7994b2870dac8fd5f6db6d47043378534b644515)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodb: Fix libtool linking against local libstdc++.so
Tyler Hall [Sat, 25 Jan 2014 04:14:03 +0000 (23:14 -0500)]
db: Fix libtool linking against local libstdc++.so

Building the C++ bindings in a484b35b818768487ff27cf06b8c5d4e128126af
introduced this error on systems with /usr/lib/libstdc++.so present:

    /usr/lib/libstdc++.so: file not recognized: File format not recognized

The shipped libtool is sysroot aware, so pass --with-sysroot so it will
extract the sysroot from the compiler.

(From OE-Core rev: db8a2c29b936e5252970c85def927d9cc56a8376)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl: Place the patch in the correct directory
Richard Purdie [Thu, 30 Jan 2014 14:09:13 +0000 (14:09 +0000)]
cogl: Place the patch in the correct directory

Otherwise this causes parsing warnings and build failures.

(From OE-Core rev: 6de220c2ae8effb9ecb61b9f55d3bacc01abedf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster.bbclass: save original package name
Alexandru DAMIAN [Wed, 29 Jan 2014 17:21:50 +0000 (17:21 +0000)]
toaster.bbclass: save original package name

If we can get the original package name when reading
package infos in toaster.bbclass, we save it for proper
referincing in the toater ui.

(From OE-Core rev: c3f3fed1b397b6ee6d44e7d39e63d084e4a88e30)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation.conf: update task descriptions
Barros Pena, Belen [Wed, 29 Jan 2014 17:21:51 +0000 (17:21 +0000)]
documentation.conf: update task descriptions

This patch updates the task descriptions in documentation.conf

It also has a bunch of grammar fixes for the variable descriptions.

(From OE-Core rev: 3f96e97b65bfb2505fb0127a4d6a585e9b14a3e4)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Show which files require given dependency in debug output
Martin Jansa [Tue, 28 Jan 2014 14:26:11 +0000 (15:26 +0100)]
package.bbclass: Show which files require given dependency in debug output

* when log.do_package shows some unexpected dependency, people usually
  need to grep package directory to find which binary was creating that
  dependency, show it directly in the debug output

(From OE-Core rev: cf0696a39b811b13bb6e7dd06a2dad607e93a643)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Don't search for providers of PRIVATE_LIBS
Martin Jansa [Tue, 28 Jan 2014 14:26:10 +0000 (15:26 +0100)]
package.bbclass: Don't search for providers of PRIVATE_LIBS

* split PRIVATE_LIBS and don't use find(), so that libfoo cannot be
  found in PRIVATE_LIBS = "libfoobar"

(From OE-Core rev: 2dec075478f977b554061dd9a4b2b8ff4af3597a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl: kms: include necessary header for size_t
Andreas Oberritter [Tue, 28 Jan 2014 20:27:54 +0000 (21:27 +0100)]
cogl: kms: include necessary header for size_t

Fixes compilation in cases where stddef.h is not already
included by EGL headers.

(From OE-Core rev: 5df33fc62f2d3a5a15dc387ed26cb7da8d9fbbe1)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounzip: Pass LDFLAGS to the linker
Mikhail Durnev [Wed, 29 Jan 2014 06:03:55 +0000 (17:03 +1100)]
unzip: Pass LDFLAGS to the linker

Change Makefile to use LDFLAGS

(From OE-Core rev: 4f211322eb1179db62c03616b4c113114c612cf8)

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: smart: fix adding channels
Stefan Stanacar [Wed, 29 Jan 2014 12:30:57 +0000 (14:30 +0200)]
oeqa/runtime: smart: fix adding channels

Without this it won't add core2-64 and similar channels, as the
directory name in deploy_dir/rpm uses _ not - as the package arch.

(From OE-Core rev: 14e3a8f58e309121760fec70619633281dd9d88c)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: drop restartTarget method
Stefan Stanacar [Wed, 29 Jan 2014 12:24:04 +0000 (14:24 +0200)]
oeqa/runtime: drop restartTarget method

Restart is a property of a specific target, not
of a test class, should a test really need to restart
the target the direct method should be called.
Also some tests used this to enforce more ram, which
makes sense only for qemu targets only (and the inital
reason this was needed isn't valid anymore, qemu machines had
the default ram size bumped a while ago).

(From OE-Core rev: 333a4326082e500bdbcd323af37e183e74adf617)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: Allow building without X11 support
Jonas Eriksson [Wed, 29 Jan 2014 09:38:44 +0000 (10:38 +0100)]
qemu: Allow building without X11 support

To enable the construction of minimal hypervisors based on OE, it is
important to be able to build qemu without it requiring X support. By
checking that the distro is built with the x11 feature before adding
virtual/x11 to the dependencies, this is made possible.

(From OE-Core rev: e88b85406f2a6722a507b5db3485358a88d950f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounfs3: Fix dependencies and allow target builds
Jason Wessel [Wed, 29 Jan 2014 14:57:33 +0000 (08:57 -0600)]
unfs3: Fix dependencies and allow target builds

Fixed in this patch:
  * All patches marked as submitted to the upstream
  * Remove the pseudo dependency because unfs3 can fully stand alone
    or be used with pseudo and it does not link against pseudo
  * Dependencies to flex for nativesdk and target builds are fixed
    such that unfs3 can be deployed into an image
  * Add unfs3 references in separatebuilddir.inc because unfs3
    works correctly with autotools.

(From OE-Core rev: 7d8075c64bd0734cb70d16acef36c1a17276b359)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopkgconfig: Drop glibconfig from SRC_URI to unbreak builds after previous commit
Richard Purdie [Tue, 28 Jan 2014 22:33:26 +0000 (22:33 +0000)]
pkgconfig: Drop glibconfig from SRC_URI to unbreak builds after previous commit

(From OE-Core rev: 53ac749f02e112061f4d2506f2bc26a73e89a345)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopkgconfig: remove out-dated configure options and dependencies
Ross Burton [Tue, 28 Jan 2014 17:44:04 +0000 (17:44 +0000)]
pkgconfig: remove out-dated configure options and dependencies

0.27 onwards uses a snapshot of glib 2 not glib 1, so drop the
do_configure_prepend and update the internal/installed options as appropriate.

Legacy scripts were removed in 0.26.

Use of popt was removed in 0.28.

(From OE-Core rev: 99b263285f0ee60b4336992251840e418aa695c4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-numpy: don't search host directories for libraries
Ross Burton [Tue, 28 Jan 2014 17:31:55 +0000 (17:31 +0000)]
python-numpy: don't search host directories for libraries

The build process hard-codes searches of various directories in /usr when
looking for libraries, delete this to avoid host contamination.

(From OE-Core rev: 9febe2d184ef76b7cacace15cbe17968e8c37617)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/runqemu-internal: use -cpu core2duo for qemux86-64
Stefan Stanacar [Tue, 28 Jan 2014 17:16:39 +0000 (19:16 +0200)]
scripts/runqemu-internal: use -cpu core2duo for qemux86-64

Now that the tune for qemux86-64 changed to core2-64 we need to
tell the emulator to use a proper CPU model. With the default setting
of qemu64 we'll get things like:

root@qemux86-64:~# smart --help
traps: python[758] trap invalid opcode ip:7f2af01f6be7 sp:7fff49466ef0 error:0 in strop.so[7f2af01f5000+6000]
Illegal instruction

If the tune for qemux86 changes, that needs to be updated too.

(From OE-Core rev: e6ade33a6f52434e884dd97549b8ac731347d9ad)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: rpm: fix finding the test rpm file
Stefan Stanacar [Tue, 28 Jan 2014 16:14:18 +0000 (18:14 +0200)]
oeqa/runtime: rpm: fix finding the test rpm file

Translate TUNE_PKGARCH to find the right file (this
used to work because tune for qemux86-64 used to be
x86_64 now it's core2-64)
Also, while using packagedata was nice, it's harder to make
the test exportable and runnable outside of the
build system. (where oe.packagedata isn't available)

(From OE-Core rev: fd0e9ad4d295ca11b33c3e3e11069421dee834e8)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual: Fix issue with previous revert
Richard Purdie [Tue, 28 Jan 2014 15:29:26 +0000 (15:29 +0000)]
bitbake: user-manual: Fix issue with previous revert

(Bitbake rev: 2d052690d46506ba3f4180ad5cdfa835ce85e59a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: Revert "usermanual: Updated CC License to version 3.0"
Richard Purdie [Tue, 28 Jan 2014 14:26:08 +0000 (14:26 +0000)]
bitbake: Revert "usermanual: Updated CC License to version 3.0"

This reverts commit 0546bc19557de9263b448ceb1707884543d2de56.

This change was not discussed with the copyright holders so the license
needs to remain at version 2.5.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: fix typo
Chen Qi [Thu, 23 Jan 2014 07:10:39 +0000 (15:10 +0800)]
udev: fix typo

Fix the typo in the RDEPENDS statement to make it have real effect.

(From OE-Core rev: aa1224e4d83a4273848ba7601162157f5e415e30)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-standalone-sdk-target: Add qemuwrapper-cross to target sysroot
David Nyström [Wed, 22 Jan 2014 15:48:51 +0000 (16:48 +0100)]
packagegroup-core-standalone-sdk-target: Add qemuwrapper-cross to target sysroot

Some postinstall scripts use the qemuwrapper script, so to be able to
offline install these packages outside of the bitbake environment, this script
needs to be exposed also in the SDK.

This to enable rootfs generation from a package repository using only a
package repository and the toolchain tarball.

See https://github.com/nysan/rootfs-sandbox for examples.

(From OE-Core rev: cc583b20a8d924f2c0c9754b71740449762d7391)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocml1.bbclass: Fix return code handling in do_menuconfig()
Jacob Kroon [Mon, 27 Jan 2014 21:00:21 +0000 (22:00 +0100)]
cml1.bbclass: Fix return code handling in do_menuconfig()

On my system, doing "bitbake -c menuconfig busybox" pops up
a gnome-terminal, I can see that the compilation starts but then the
terminal automatically exits.

It turns out I don't have ncurses development package installed on my host,
and OE's host sysroot isn't being passed to gcc, so compilation fails.
The window automatically closes before I can read the error message
since the '$' in the return code check needs to be escaped.

Make sure the user can read the error message by properly checking the
return code.

(From OE-Core rev: a2241a92fc48e4286de17b23124a9e2f0fd8185b)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowpa-supplicant: Add dependency on openssl
Mikhail Durnev [Tue, 28 Jan 2014 07:40:35 +0000 (18:40 +1100)]
wpa-supplicant: Add dependency on openssl

Building of wpa-supplicant failed due to missing dependency on openssl:
crypto_openssl.c:10:30: fatal error: openssl/opensslv.h: No such file or directory

(From OE-Core rev: 9d1cdb59cb9fcbc4927f04a226405766ab3c4fc8)

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomultilib.bbclass: fix Multilib QA Issue
Ming Liu [Tue, 28 Jan 2014 07:31:15 +0000 (15:31 +0800)]
multilib.bbclass: fix Multilib QA Issue

Multilib QA warning was observed, as follows:
------
WARNING: Multilib QA Issue: lib32-oprofile package lib32-oprofile -
suspicious values 'kernel-vmlinux' in RRECOMMENDS
------

The package starting with 'kernel-vmlinux' should be ok with multilib QA
checking.

(From OE-Core rev: 00012b63fefd77c57169f7cc06d648f54890e5df)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory.bbclass: Improve robustness in image file listing
Otavio Salvador [Thu, 23 Jan 2014 12:11:05 +0000 (10:11 -0200)]
buildhistory.bbclass: Improve robustness in image file listing

The filenames sometimes may have strange names. With the 'awk' script
it handled a limited number of spaces in the filename and a package
installing a file named "test file with spaces" would have its name
truncated.

This patch uses the find's printf formating to simplify the code and
properly handle this case. From a testing image, the only diff produced
is:

,----[ files-in-image.txt diff ]
| --rwxr-xr-x root       root                0 ./usr/bin/test\ file\ with\
| +-rwxr-xr-x root       root                0 ./usr/bin/test file with spaces
`----

The options used are available since findutils 4.2.5, released in 19
Nov 2004, making it available in all supported host distributions.

(From OE-Core rev: b09e24449c1c9ae335732dd070eacf66777556a1)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: siggen.py: fix the SignatureGenerator()
Robert Yang [Mon, 20 Jan 2014 11:44:53 +0000 (19:44 +0800)]
bitbake: siggen.py: fix the SignatureGenerator()

If we set:

BB_SIGNATURE_HANDLER = "noop"

Then we would get the following errors:

[snip]
File "runqueue.py", line 876, in RunQueue._start_worker(fakeroot=False, rqexec=None):
                "fakerootnoenv" : self.rqdata.dataCache.fakerootnoenv,
   >            "hashes" : bb.parse.siggen.taskhash,
                "hash_deps" : bb.parse.siggen.runtaskdeps,
AttributeError: 'SignatureGenerator' object has no attribute 'taskhash'
[snip]

This patch fixes the problem.

[YOCTO #5741]

(Bitbake rev: 2bfcb751891cf3b4050e996b3c8e28678c3a8bf4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Simplify pointless len() usage
Richard Purdie [Mon, 27 Jan 2014 21:47:27 +0000 (21:47 +0000)]
bitbake: runqueue: Simplify pointless len() usage

(Bitbake rev: 1f2bdd1b99075babe8dba91478cfc5d3501676cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: No need for enable_proxy and same_proxy in conf file
Irina Patru [Thu, 23 Jan 2014 09:49:43 +0000 (11:49 +0200)]
bitbake: hob: No need for enable_proxy and same_proxy in conf file

Hob doesn't read these variable from file and bitbake doesn't use them,
so they shouldn't be set in conf file.

(Bitbake rev: a8c9df86b96e27dc49028c2da42034d13988960c)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: Don't always save proxy values in conf file
Irina Patru [Thu, 23 Jan 2014 09:49:42 +0000 (11:49 +0200)]
bitbake: hob: Don't always save proxy values in conf file

If enable_proxy is not activated, Hob should not save the proxy values
in the conf file when user hits save button.

[ HOB #5308 ]

(Bitbake rev: fbe0851221ecfcefea5bdd4b629a05ed4f5ac189)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: don't display interruptions as fails
Irina Patru [Tue, 21 Jan 2014 15:59:38 +0000 (17:59 +0200)]
bitbake: hob: don't display interruptions as fails

When Hob receives a bb.command.CommandFailed event, it should check if
it's a log kind of information.
"Forced shutdown" and "Stopped build" are messages that show when a build
is not complete, but Hob considered them error.

[HOB #5609]

(Bitbake rev: ea1939f7ec8d8a71ce16a60c251c2413d7d91eb3)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: unsetting busy cursor after hitting Stop button
Irina Patru [Tue, 21 Jan 2014 15:59:37 +0000 (17:59 +0200)]
bitbake: hob: unsetting busy cursor after hitting Stop button

The busy cursor would never change after pressing Stop button.
It should be set after the possible return inside machine_combo_changed_cb()
method.

(Bitbake rev: d440d3ad4b2d99bc20e06d2d5f5e76d07864dff3)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: hob: check if parser has attribute 'shutdown'
Irina Patru [Tue, 21 Jan 2014 15:59:36 +0000 (17:59 +0200)]
bitbake: bitbake: hob: check if parser has attribute 'shutdown'

It must be checked first if parser has the attribute 'shutdown' when
user hits Stop button and the forceshutdown state is given.

[HOB #5579]

(Bitbake rev: 46943b442ea4fa778f70590b6dcce483595efaf8)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: change error_msg for CommandFailed event
Irina Patru [Tue, 21 Jan 2014 15:59:35 +0000 (17:59 +0200)]
bitbake: hob: change error_msg for CommandFailed event

When a bb.command.CommandFailed event is received by Hob, the error
message is stored inside event.error.
This information tells exactly why bitbake failed, so Hob should display
it instead of the current composed message.

(Bitbake rev: 24543ff6b45771712d624541ae35738d7d98f33c)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: Add option of specifying indvidual tasks for targets
Richard Purdie [Mon, 27 Jan 2014 14:37:04 +0000 (14:37 +0000)]
bitbake: cooker: Add option of specifying indvidual tasks for targets

Currently its near enough impossible to tell bitbake to run target X,
task Y and target A, task B. We could hack various parts of the API
around but it would mean incompatibilities.

An alternative is to accept the syntax "<target>:do_<task>" as a target
name. The default task would be used where the task is unspecified.

This has the advantage that its neat/clean code and works from all
current APIs including the commandline.

(Bitbake rev: 55f6bee3114e582333a1784caeddb197b9163d02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa: sshcontrol: Allow alternate port for SSHControl
Sipke Vriend [Mon, 27 Jan 2014 22:25:09 +0000 (08:25 +1000)]
lib/oeqa: sshcontrol: Allow alternate port for SSHControl

Add an optional parameter to SSHControl so the user can specify
and alternate port to the default (22).

(From OE-Core rev: 091d395e43836575587112ee1696a18c401505bb)

Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: Make directories only if they don't exisit yet
Saul Wold [Fri, 24 Jan 2014 19:25:00 +0000 (11:25 -0800)]
combo-layer: Make directories only if they don't exisit yet

(From OE-Core rev: 24188967209bad291545909ddb89af35ab3f6021)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: actually install things
Koen Kooi [Thu, 23 Jan 2014 09:06:28 +0000 (10:06 +0100)]
lz4: actually install things

This failure was masked by having lz4 installed on the host system :(

(From OE-Core rev: a2a77730f28decfd2448bcda68280174b55cf54c)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpcbind: fixes crash during start
Cristian Iorga [Fri, 24 Jan 2014 18:28:52 +0000 (20:28 +0200)]
rpcbind: fixes crash during start

This fix integrates a patch released
after rpcbind 0.2.1 distribution.
0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
fixes the issue of rpcuser not being set in Makefile.am,
which causes rpcbind to immediately exit.

Fixes [YOCTO #5733].

(From OE-Core rev: 68e87652ae4865a52705f8b87b4ae0f99cbc7428)

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>
10 years agotiff: flesh out PACKAGECONFIG
Christopher Larson [Fri, 24 Jan 2014 17:26:24 +0000 (10:26 -0700)]
tiff: flesh out PACKAGECONFIG

Adds packageconfigs for all appropriate configure arguments (other than jpeg
8/12 bit mode support, where I wasn't clear on the deps, and which I doubt we
care about).

jpeg, zlib, and xz dependencies can now be controlled.

(From OE-Core rev: 314b07181a3c7ef6d8f002f555a68ed6feaf99bb)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: New tests for sstate relocation
Corneliu Stoicescu [Fri, 24 Jan 2014 17:05:47 +0000 (18:05 +0100)]
oe-selftest: New tests for sstate relocation

Added new tests:
- sstate relocation stress testing
- rebuild from sstate stress testing

(From OE-Core rev: 461ae0bd06da89d31cba2459fb1e6f7e57ad6519)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscons bbclass: enable parallel make
Koen Kooi [Thu, 23 Jan 2014 12:31:26 +0000 (13:31 +0100)]
scons bbclass: enable parallel make

Scons supports -jX parallel make, so let's use that. A small scale test of a few recipes shows no failures!

(From OE-Core rev: a3ad3602b0e8d4a6387cac3f118722af1a0781eb)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu, runqemu-internal: Allow slirp for NFS and KVM use
Jason Wessel [Thu, 23 Jan 2014 14:32:46 +0000 (08:32 -0600)]
runqemu, runqemu-internal: Allow slirp for NFS and KVM use

The default slirp address for the NFS server is 10.0.2.2.  If not
using a tap interface this address must be used or the target system
cannot connect properly.  Also the ip=... kernel arguments need to be
set to dhcp when using slirp or the root NFS will not get setup
properly.

The call to cleanup() results in a routine which is not defined when
setting up the NFS because it is called before acquire() for the
locking of the tap interfaces, the solution being to simply not call
cleanup() that early.

When using slirp, kvm should not execute the vhost net checks because
the vhost net will not be configure or used.

(From OE-Core rev: 1ea04d87525f26c2cd32ba29c0f14c6226f60729)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-export-rootfs: update for unfs3
Jason Wessel [Thu, 23 Jan 2014 14:32:45 +0000 (08:32 -0600)]
runqemu-export-rootfs: update for unfs3

The unfs3 no longer has an rpc.mountd component. There is just a
single server for mountd and nfsd requests.  This means changing
the name of the server in the scripts that check for it.

[YOCTO #5639]

(From OE-Core rev: ea126a7d4a63e27755046ddd2eb0be079e20c334)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounfs-server: Remove unfs-server recipe and patches
Jason Wessel [Thu, 23 Jan 2014 14:32:44 +0000 (08:32 -0600)]
unfs-server: Remove unfs-server recipe and patches

The unfs-server only supports NFS v2 and it is not useful any longer
with the advent of 64 bit inodes and the fact that the server has only
a 32 bit key for the NFS hash which is hardcoded back to the inode.

This recipe is replaced with a user mode NFS server using v3.

[YOCTO #5639]

(From OE-Core rev: 13de86c54e2c02e548bd8805ea7df17ddad4e531)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu: Use the newer unfs3 for serving user space nfs
Saul Wold [Thu, 23 Jan 2014 14:32:43 +0000 (08:32 -0600)]
runqemu: Use the newer unfs3 for serving user space nfs

This new version correctly handles the 64bit ext3 / ext4 issues we
were seeing with the older unfs-server which did not handle 64bit file
systems correctly, producing the duplicate cookies.

[YOCTO #5639]

(From OE-Core rev: 2a59d55f712bbd79b1edf3ccb90ccabf609c9f0d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounfs3, unfs-server: Replace all instances of unfs-server with unfs3
Jason Wessel [Thu, 23 Jan 2014 14:32:42 +0000 (08:32 -0600)]
unfs3, unfs-server: Replace all instances of unfs-server with unfs3

Other recipes dependencies and even some comments need to be updated
for the removal of unfs-server and the replacement with unfs3.  The
unfs3 is a complete drop in replacement providing all the prior
functionality of NFSv2 but also adding NFSv3.

[YOCTO #5639]

(From OE-Core rev: d577c56519a448b142da5b43e46d5bd9d3a3b4bd)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounfs3: Add a NFSv3 user mode server for use with runqemu
Jason Wessel [Thu, 23 Jan 2014 14:32:41 +0000 (08:32 -0600)]
unfs3: Add a NFSv3 user mode server for use with runqemu

The user mode nfs server allows the use of runqemu without any root
privileges and may even be accelerated with kvm.

Example:

runqemu-extract-sdk tmp-eglibc/deploy/images/qemux86-64/core-image-minimal-qemux86-64.tar.bz2 rootfs

runqemu qemux86-64 `pwd`/rootfs nographic slirp kvm

[YOCTO #5639]

(From OE-Core rev: 24183f5ec9c71db936e75060387941463d30d962)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodpkg: use systemd service for first boot configuration
Chen Qi [Fri, 24 Jan 2014 09:47:37 +0000 (04:47 -0500)]
dpkg: use systemd service for first boot configuration

Use a systemd service file for first boot configuration for dpkg
based images which has 'package-management' in its IMAGE_FEATURES.

[YOCTO #5719]

(From OE-Core rev: 56490921d267b784118df43cbd107925c8b94200)

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 agoimage.bbclass: fix paths to run-postinsts
Ross Burton [Tue, 17 Dec 2013 10:55:06 +0000 (10:55 +0000)]
image.bbclass: fix paths to run-postinsts

The run-postinsts script has been moved to ${sbindir}.

[YOCTO #5719]

(From OE-Core rev: 2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1)

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 agosystemd-compat-units: remove run-postints service
Ross Burton [Fri, 13 Dec 2013 19:36:23 +0000 (19:36 +0000)]
systemd-compat-units: remove run-postints service

Remove this service as it's moved to the run-postinsts recipe.

[YOCTO #5719]

(From OE-Core rev: 1e3ac15fcf502396f92c69788642a56064e22e35)

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 agorun-postinsts: Add systemd service file
Ross Burton [Tue, 17 Dec 2013 10:50:09 +0000 (10:50 +0000)]
run-postinsts: Add systemd service file

This patch mainly adds a systmd service file for run-postinsts,
which is started at first boot to run the post-install scripts.

Apart from this, this patch also modifies the installation location
of run-postinsts to ${sbindir}. This is because this script would be
used by both sysvinit and systemd based images. So it's more reasonable
to make it locate under ${sbindir}.

[YOCTO #5719]

(From OE-Core rev: 5933fbef26ffbc8140248ffb28957f36a813054b)

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 agorun-postinsts: remove the init script after a clean start-up
Chen Qi [Mon, 13 Jan 2014 04:59:42 +0000 (23:59 -0500)]
run-postinsts: remove the init script after a clean start-up

If we enable ipk/deb package back-end, and we have 'package-management'
in our IMAGE_FEATURES, then the /etc/rcS.d/S99run-postinsts would
still exist in our system after a clean start-up.

The initial design for run-postinsts requires the related init script
to be removed if there's no more post-install script left in the system.

This patch fixes this problem.

[YOCTO #5718]

(From OE-Core rev: 08a2f48cb95256c6d44c8574949fabafe1466969)

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 agosanity.bbclass: check required perl modules
Robert Yang [Wed, 22 Jan 2014 10:45:42 +0000 (18:45 +0800)]
sanity.bbclass: check required perl modules

Several required perl modules may missing on the host, for example the
Text::ParseWords, Thread::Queue and Data::Dumper are not installed by
default on recent Fedora releases (19 and 20 AFAIK). There would be wild
errors if they don't exist, so check them in sanity.bbclass.

And add perl to SANITY_REQUIRED_UTILITIES.

[YOCTO #5744]

(From OE-Core rev: b46d82bea23208733b71642bb262c9a05c08efec)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-firmware: split out ATI/AMD Radeon firmware
Koen Kooi [Wed, 22 Jan 2014 19:37:12 +0000 (20:37 +0100)]
linux-firmware: split out ATI/AMD Radeon firmware

(From OE-Core rev: 9f96577d3da132d1744340d8b99bc9d55fbbc362)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofeature-arm-thumb: Fix missing t2 suffix for armv7a MACHINEs
Martin Jansa [Tue, 21 Jan 2014 23:43:12 +0000 (00:43 +0100)]
feature-arm-thumb: Fix missing t2 suffix for armv7a MACHINEs

* unfortunatelly that note about armv7 matching also armv7a is no
  longer valid since armv7 include in armv7 was replaced with
  armv6+neon in this commit:

  commit 75b8adbc042e0f65fb1286bc550d02becd3b6aea
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Tue Mar 27 18:37:45 2012 -0700

    tune/armv7: Delete

  since then thumb and arm feeds had the same architecture
* be aware that this will rename lots of feeds

(From OE-Core rev: 8e8839215032b57763a07363a560c3fd9d6f8e01)

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 agoopkg-utils: Add RPROVIDES/RREPLACES/RCONFLICTS to fix upgrade-path
Martin Jansa [Tue, 21 Jan 2014 23:43:11 +0000 (00:43 +0100)]
opkg-utils: Add RPROVIDES/RREPLACES/RCONFLICTS to fix upgrade-path

* now with update-alternatives-cworth completely gone should correctly
  replace it on target as well

(From OE-Core rev: 463e72e3125cc28a1494b42219808e925fdfe3d8)

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 agoconnman: upgrade to 1.21
Cristian Iorga [Tue, 21 Jan 2014 13:55:44 +0000 (15:55 +0200)]
connman: upgrade to 1.21

This is mainly a bug fix release.

- gtk-doc infrastructure has been removed
starting with connman 1.21; as such, support
for it has been removed from the recipe;
- Updated bug tracker site;
- Cosmetic cleanup;

(From OE-Core rev: dd3d82b54fa9f13527064fe7b9d541926c6b13f2)

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>
10 years agominicom: upgrade to 2.7
Cristian Iorga [Tue, 21 Jan 2014 08:55:20 +0000 (10:55 +0200)]
minicom: upgrade to 2.7

(From OE-Core rev: 4e5a734d4d491d641efd055a4a5c4cb37e2de420)

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>
10 years agolibpcap: upgrade to 1.5.3
Cristian Iorga [Mon, 20 Jan 2014 18:04:03 +0000 (20:04 +0200)]
libpcap: upgrade to 1.5.3

(From OE-Core rev: 5255405d84826869638f36d2c043f3d929ebe6d6)

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>
10 years agoneard: upgrade to 0.14
Cristian Iorga [Mon, 13 Jan 2014 13:53:43 +0000 (15:53 +0200)]
neard: upgrade to 0.14

switched from git version to tarball,
as new releases are now versioned.

(From OE-Core rev: 0624d1a54ca6490a3c118192603fe68423e054b4)

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>
10 years agoinitscripts: define failure/success/warning/pass functions
Roy Li [Wed, 22 Jan 2014 08:57:38 +0000 (16:57 +0800)]
initscripts: define failure/success/warning/pass functions

define failure/success/warning/pass functions, some packages' initscript
need them, and /etc/core-lsb/lsb_log_message from lsb needs them too.

(From OE-Core rev: b78154c4a52b5a198e90bca8f83990fe9251fb72)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: enable ptest support
Chong Lu [Wed, 22 Jan 2014 04:55:34 +0000 (12:55 +0800)]
gawk: enable ptest support

Install gawk test suite and run it as ptest.

(From OE-Core rev: 06b6b29a526541acde8916d6ba504655f4401f37)

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 agolibcgroup: Update to 0.41
Saul Wold [Tue, 21 Jan 2014 02:55:27 +0000 (18:55 -0800)]
libcgroup: Update to 0.41

(From OE-Core rev: 0b49729af46f98a1bd155fc798d39d5d12c674cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsbinitscripts: Update to 9.52
Saul Wold [Tue, 21 Jan 2014 02:54:30 +0000 (18:54 -0800)]
lsbinitscripts: Update to 9.52

(From OE-Core rev: 70b5976748206ef7f5cfc3583bd979c01611dab7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/patch.py: Prefer "git am" over "git apply" when applying git patches
Laszlo Papp [Tue, 24 Dec 2013 12:44:10 +0000 (12:44 +0000)]
lib/oe/patch.py: Prefer "git am" over "git apply" when applying git patches

It is better to use "git am" when possible to preserve the commit messages and
the mail format in general for patches when those are present. A typical use
case is when developers would like to keep the changes on top of the latest
upstream, and they may occasionally need to rebase. This is not possible with
"git diff" and "diff" generated patches.

Since this is not always the case, the fallback would be the "git apply"
operation which is currently available.

(From OE-Core rev: 3a14b0943731822905e6d45b13d08a6e8237e2fe)

Signed-off-by: Laszlo Papp <lpapp@kde.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: Fix freetype detection
Martin Jansa [Sun, 12 Jan 2014 17:33:11 +0000 (18:33 +0100)]
cmake: Fix freetype detection

* since last freetype upgrade cmake cannot detect it
* e.g. webkit-efl requires freetype and is failing because of this

(From OE-Core rev: 0cd58eb1ca29bdc53f623aba1f761b97cfe31fb4)

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 agospeex: configure in float or fixed mode based on TARGET_FPU
Fahad Arslan [Mon, 20 Jan 2014 10:38:20 +0000 (15:38 +0500)]
speex: configure in float or fixed mode based on TARGET_FPU

Decide float or fixed mode usage depending on whether hardware
FPU is present or not.

(From OE-Core rev: e8f707f16a38d85535593a32efff6dcbf4ddb203)

Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils: Add PACKAGECONFIG for udev
Phil Blundell [Mon, 20 Jan 2014 05:30:49 +0000 (05:30 +0000)]
alsa-utils: Add PACKAGECONFIG for udev

Commit b92a3e9d093bc9421aa38a40bc6bfd559a16b3be introduced a dependency
on udev, which is undesirable for distros which don't otherwise require
or build udev (and, as such, don't have any interest in the rules.d files).

Make this conditional on a PACKAGECONFIG setting so that it can be turned
off.  If it's off, we don't depend on udev and don't ship the rules.

(From OE-Core rev: 262e69c9c7acf0beb7bb6b96299e3c993c906434)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>