]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agotexinfo: add perl RDEPENDS and fix up packaging
Saul Wold [Wed, 14 Aug 2013 18:33:50 +0000 (11:33 -0700)] 
texinfo: add perl RDEPENDS and fix up packaging

This new version of texinfo uses perl for the conversion process.

The perl modules are installed in ${datadir}/texinfo which was getting
pulled into the -doc package, since FILE_${PN} is a full override, add
it back.

(From OE-Core rev: f0b6734182a5505fad7d26bc67a2141e51bc7a9d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: fix for read-only rootfs
Chen Qi [Mon, 29 Jul 2013 02:11:07 +0000 (10:11 +0800)] 
openssh: fix for read-only rootfs

If the rootfs is read-only and the ssh keys are not available at system
start-up, the init script will generate ssh keys into /etc/ssh, thus
causing a 'read-only file system' error.

In order for Yocto based image to work correctly for read-only rootfs,
we use the following logic for openssh.

If the rootfs is read-only and there are pre-generated keys under /etc/ssh,
we use the pre-generated keys. Note the pre-generated keys are mainly for
debugging or development purpose.
If the rootfs is read-only and there are no pre-generated keys under
/etc/ssh, we use /var/run/ssh as the location for ssh keys. That is, at
system boot-up, the generated ssh keys will put into /var/run/ssh.

[YOCTO #4887]

(From OE-Core rev: 2ed44745024f04aa4e00ddba3009153c6b47c8e9)

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>
12 years agoirda-utils: fix for read-only rootfs
Chen Qi [Tue, 23 Jul 2013 03:06:08 +0000 (11:06 +0800)] 
irda-utils: fix for read-only rootfs

The init script for irda writes configuration items to /etc/sysconfig/irda
if that file is not available in system. But it's actually not necessary,
the behavior doesn't change whether the init script writes to the file or not.

Considering it issues error messages in case of a read-only rootfs, I delete
the writing process.

[YOCTO #4103]
[YOCTO #4886]

(From OE-Core rev: f88a101bc0caa7b486527f0d337406651cbaeb0d)

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>
12 years agopopulate-volatile.sh: use 'cp -a' to avoid potential problem
Chen Qi [Wed, 7 Aug 2013 07:17:15 +0000 (15:17 +0800)] 
populate-volatile.sh: use 'cp -a' to avoid potential problem

Previously, dead links in target directory will not be copied.
This is incorrect as dead links are not uncommon in our rootfs.
So we use '-a' option instead.

(From OE-Core rev: 742440441222e0627abbdd3eb2ee16401e8f4adf)

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>
12 years agorunqemu-internal: fix to start X correctly in live images
Chen Qi [Tue, 23 Jul 2013 02:58:04 +0000 (10:58 +0800)] 
runqemu-internal: fix to start X correctly in live images

The QEMUOPTIONS for ISOFS was not complete, leading to failures when
trying to start X in live images.

This patch fixes this problem.

[YOCTO #4103]
[YOCTO #4884]

(From OE-Core rev: 08947869917dc5a9dfff05b0ee19279f60cf6d2b)

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>
12 years agopopulate-volatile.sh: don't spawn background process at rootfs time
Chen Qi [Sat, 27 Jul 2013 14:21:57 +0000 (22:21 +0800)] 
populate-volatile.sh: don't spawn background process at rootfs time

If we're building a read-only rootfs, we'll get the following error now
and then.

    tar: .: file changed as we read it

The root cause is that we spawn background process at rootfs time.
When the tar command is running, it's possible that files under rootfs
are changed by background processes, thus this error.

[YOCTO #4937]

(From OE-Core rev: 4bd419f95868d5b8707a45cee5f6c5c6a840a65b)

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>
12 years agopopulate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR
Chen Qi [Tue, 23 Jul 2013 02:56:33 +0000 (10:56 +0800)] 
populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR

It's possible that a 'No such directory' error occurs when doing
check_requirement in populate-volatile.sh at rootfs time. This is
because the $ROOT_DIR/var/tmp might be a dead link.

Use $ROOT_DIR/var/volatile/tmp as the TMPDIR instead to avoid this
error.

[YOCTO #4883]
[YOCTO #4103]

(From OE-Core rev: 7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e)

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>
12 years agoudev: remove implicit dependency on initscripts
Chen Qi [Tue, 23 Jul 2013 02:55:20 +0000 (10:55 +0800)] 
udev: remove implicit dependency on initscripts

At some point, the udev was modified to source the functions from
initscripts or lsbinitscripts. This dependency is actually not needed.
If we use udev in a system where initscripts from oe-core is not available,
there will be errors.

This patch fixes this problem by removing the implicit dependency.

[YOCTO #4882]
[YOCTO #4103]

(From OE-Core rev: 72d6825c24f4c3e4a7a907cf0a09e2e8f7720ae8)

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>
12 years agoinit-live.sh: make $ROOT_MOUNT/media writable when necessary
Chen Qi [Mon, 29 Jul 2013 02:05:04 +0000 (10:05 +0800)] 
init-live.sh: make $ROOT_MOUNT/media writable when necessary

If the live image is mounted as read-only, we cannot make necessary
directories under $ROOT_MOUNT/media, so trying to move the mount points
lead to errors.

So in case that no unification filesystem mechanism is available in kernel
and the rootfs is mounted as read-only, we mount tmpfs on $ROOT_MOUNT/media
so that it's possible to make necessary directories under it.

[YOCTO #4881]
[YOCTO #4103]

(From OE-Core rev: aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe)

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>
12 years agodevice_table-minimal.txt: use user/group names instead of uid/gid
Chen Qi [Tue, 13 Aug 2013 06:11:51 +0000 (14:11 +0800)] 
device_table-minimal.txt: use user/group names instead of uid/gid

Instead of hard coding the uid/gid, we prefer the way of using user/group
names.

Note the way of using uid/gid is still supported.

[YOCTO #1159]

(From OE-Core rev: c5ef0294a9b8d178896a47c9f5d6e3dd6797e343)

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>
12 years agoimage.bbclass: create device table after package installation
Chen Qi [Tue, 13 Aug 2013 06:11:50 +0000 (14:11 +0800)] 
image.bbclass: create device table after package installation

Now that the makedevs supports using user/group names in the devcie
table files, and it uses passwd and group files under the rootfs which
is provided by the base-passwd package, we should let package installation
finish first, so that makedevs can get a correct mapping from user/group
names to uid/gid.

The check for existence of ${IMAGE_ROOTFS}/dev is removed. This is because
do_rootfs doesn't have 'nostamp' flag any more, so the do_rootfs task will
not be rerun for every build. Checking for the existence of ${IMAGE_ROOTFS}/dev
is not necessary any more. Besides, as base-files package also installs the
/dev directory, this checking does not serve as a good criteria.

[YOCTO #1159]

(From OE-Core rev: d073ca77ba886c7912abd3ec0640881c00aea3bb)

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>
12 years agomakedevs: support using user/group names in device table files
Chen Qi [Tue, 13 Aug 2013 06:11:49 +0000 (14:11 +0800)] 
makedevs: support using user/group names in device table files

Compared to hard coding the numeric group and user ids in the device
table files, the way of using user/group names is preferred.

This patch adds the ability to makedevs to correctly deal with device
table files with user/group names in them.

To maintain backward compatibility, the way of using uid/gid is still
supported.

[YOCTO #1159]

(From OE-Core rev: 1fcf718e3a1e50446ab61972069566e5016bc625)

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>
12 years agowipe-sysroots: don't assume TMPDIR is under BUILDDIR
Ross Burton [Wed, 14 Aug 2013 14:13:44 +0000 (15:13 +0100)] 
wipe-sysroots: don't assume TMPDIR is under BUILDDIR

The previous code used the environment variable BUILDDIR and assumed that TMPDIR
was a subdirectory. This often isn't the case, so instead ask bitbake where the
directories we're about to delete are.

(From OE-Core rev: 29491a72acac81ebb7e9ecfbc9392fbeb9a7ea26)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu, default-providers: Add mesa as default virtual/egl
Martin Jansa [Wed, 14 Aug 2013 12:49:04 +0000 (14:49 +0200)] 
qemu, default-providers: Add mesa as default virtual/egl

* it's safer to select it consistently with virtual/libgl* providers

(From OE-Core rev: d9321da1bf01175a9e3721607df31055e3765bc6)

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>
12 years agocmake.bbclass: Don't use packages from the native build machine
Stefan Herbrechtsmeier [Wed, 14 Aug 2013 08:47:44 +0000 (10:47 +0200)] 
cmake.bbclass: Don't use packages from the native build machine

(From OE-Core rev: 044037d8add3556a90ac4da5991e1e5975d62e25)

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-wm: fix icon handling on 64-bit hosts
Ross Burton [Wed, 14 Aug 2013 11:40:12 +0000 (12:40 +0100)] 
matchbox-wm: fix icon handling on 64-bit hosts

Xlib has a historical quirk where 32-bit values are returned in longs (but
always hidden through a cast).  On 32-bit machines this doesn't matter but on
64-bit this leads to problems.  Bump SRCREV to integrate a fix from upstream.

Also, drop the conditional configure_fix.patch, it was integrated long ago.

[ YOCTO #4917 ]

(From OE-Core rev: 09c609afbfb6e9a2504166d0fe8c7ae3d8ae9ebd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibmatchbox: upgrade to 1.11
Ross Burton [Wed, 14 Aug 2013 11:40:11 +0000 (12:40 +0100)] 
libmatchbox: upgrade to 1.11

Remove check.m4 as libmatchbox uses the check.pc instead of a m4 file now.

(From OE-Core rev: 4f51bf23346947cd47e7ac9e1290e799f3c20708)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxrestop: add dependency on ncurses
Martin Jansa [Wed, 14 Aug 2013 11:13:54 +0000 (13:13 +0200)] 
xrestop: add dependency on ncurses

* fails without it
  | xrestop.c:50:20: fatal error: curses.h: No such file or directory
  |  #include <curses.h>
  |                     ^
  | compilation terminated.

(From OE-Core rev: c709fcd7e5f81707ece5f7d085c8c43eed165f7e)

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>
12 years agoxeyes: add dependency on libxrender
Martin Jansa [Wed, 14 Aug 2013 11:13:53 +0000 (13:13 +0200)] 
xeyes: add dependency on libxrender

* fails without:
  | configure:10604: error: Package requirements (xrender >= 0.4) were not met:
  | No package 'xrender' found

(From OE-Core rev: ceb69dce2cff26153c6e17614a934b9fa8f9f2a5)

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>
12 years agogst-plugins-gl: add dependency on glew
Martin Jansa [Wed, 14 Aug 2013 11:18:45 +0000 (13:18 +0200)] 
gst-plugins-gl: add dependency on glew

* fails without:
  | ./gstglshader.h:30:21: fatal error: GL/glew.h: No such file or directory

(From OE-Core rev: a3c58aaeb84c711431e78458afabed2f7054d937)

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>
12 years agoat-spi2-core: add intltool-native dependency
Martin Jansa [Wed, 14 Aug 2013 11:13:51 +0000 (13:13 +0200)] 
at-spi2-core: add intltool-native dependency

* configure fails without it
  at-spi2-core/2.8.0-r0/temp/run.do_configure.372: intltoolize: not found

(From OE-Core rev: 483abbe91c1320d6c6e3e7a5824de80e427aa50e)

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>
12 years agonfs-utils: Replace spaces with tabs in shell function
Muhammad Shakeel [Tue, 13 Aug 2013 06:52:38 +0000 (11:52 +0500)] 
nfs-utils: Replace spaces with tabs in shell function

As per OE-Core convention, indentation should be TAB for shell.

(From OE-Core rev: 91b6d2cf08c5c6ad58f0f9a85a3536a9034342b8)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpcbind: Replace spaces with tabs in shell function
Muhammad Shakeel [Tue, 13 Aug 2013 06:52:37 +0000 (11:52 +0500)] 
rpcbind: Replace spaces with tabs in shell function

As per OE-Core convention, indentation should be TAB for shell.

(From OE-Core rev: a92376f2daf10baf45d99a3de9502b52cbce8b7e)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolighttpd: Replace spaces with tabs in shell function
Muhammad Shakeel [Tue, 13 Aug 2013 06:52:36 +0000 (11:52 +0500)] 
lighttpd: Replace spaces with tabs in shell function

As per OE-Core convention, indentation should be TAB for shell.

(From OE-Core rev: d73a0d00554cc197d2eb7e95432252af267d7bca)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg.inc: remove the obsolete POSTLOG variable
Chen Qi [Tue, 13 Aug 2013 07:34:00 +0000 (15:34 +0800)] 
opkg.inc: remove the obsolete POSTLOG variable

With the current implementation of postinst logging mechanism, the
location for log file is configured via the POSTINST_LOGFILE variable.

The POSTLOG variable is obsolete now, thus removing it.

(From OE-Core rev: 6aaf2d5c51eb4ee6acbb85fd4aa5f44406907bc2)

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>
12 years agocogl: GL/GLX feature cleanup
Ross Burton [Tue, 13 Aug 2013 09:45:16 +0000 (10:45 +0100)] 
cogl: GL/GLX feature cleanup

Separate GL and GLX flags don't make sense, as on Linux GL means GLX and GLX
means GL.

So, default to GLESv2 and GLX if X11 is enabled.  EGL on X11 doesn't have
feature parity yet so leave it disabled by default.

(From OE-Core rev: e5f8f6c6191505d731c4672353e811d6729d424a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-dtb: Use kernel build system to generate the dtb files
Otavio Salvador [Tue, 13 Aug 2013 13:52:35 +0000 (10:52 -0300)] 
linux-dtb: Use kernel build system to generate the dtb files

As the Linux kernel, unconditionally, builds the dtc application and
it is the compatible version with the DeviceTree files shipped within
the kernel it is better to use it and the kernel build system to
generate the dtb files.

Some DeviceTree files rely on CPP and kernel headers to be able to
generate the dtb binary contents and it is harder to replicate it
outside of Linux kernel build system so we /use/ it.

To comply with these assumptions we need to use the dtb file when
calling 'make' instead of pointing to the DeviceTree source file; the
code has been made backward compatible but it is advised to move to
the new definition to avoid warnings as:

,----[ Original definition ]
| KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts"
`----

Becomes:

,----[ New definition ]
| KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
`----

(From OE-Core rev: 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemtap: upgrade to 2.3
Cristiana Voicu [Tue, 13 Aug 2013 07:39:26 +0000 (10:39 +0300)] 
systemtap: upgrade to 2.3

Disabled javac and jar.

(From OE-Core rev: 0308bf2619734f07814f55c0adae17937f77afbd)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-skeleton: layer.conf Should also have .bbappend in example
Saul Wold [Tue, 13 Aug 2013 15:32:49 +0000 (08:32 -0700)] 
meta-skeleton: layer.conf Should also have .bbappend in example

This will allow for an example recipe with a .bbappend, such as
busybox or kernel configure fragments.

(From OE-Core rev: 2a2a2540b37880cdd866f01d8e4077cbd0378749)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-skeleton: Add busybox config fragment example
Saul Wold [Tue, 13 Aug 2013 18:01:50 +0000 (11:01 -0700)] 
meta-skeleton: Add busybox config fragment example

This shows an example of the config fragment support that
both the linux-yocto and busybox recipes use. This example
is specific to busybox.

By adding busybox CONFIG options into a .cfg file and then
adding that .cfg file to SRC_URI the merge_config.sh script will
correctly handle these CONFIG options during the do_configure task.
The merge_config.sh script uses a last-in wins method.

For more details about this, see the Kernel Development Manual Section 2.2.3
http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration

(From OE-Core rev: 57662d4f813d5795cac1529633db80a09efdb089)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Skip it for mips64 target
Khem Raj [Tue, 13 Aug 2013 17:49:01 +0000 (10:49 -0700)] 
qemu: Skip it for mips64 target

We should not skip it always since same recipes provide
qemu-native too so user class-target override to make it
only skip for target recipes

(From OE-Core rev: 23d633cc65cf31486263f120c71df82186cfdd22)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg: fix include header caused compile error
Kai Kang [Tue, 13 Aug 2013 09:57:49 +0000 (17:57 +0800)] 
dpkg: fix include header caused compile error

Build dpkg-native on Fedora 19, it fails with:

/usr/include/c++/4.8.1/cstdlib: In function â€˜long long int std::abs(long long int)’:
/usr/include/c++/4.8.1/cstdlib:174:20: error: declaration of C function â€˜long long int std::abs(long long int)’ conflicts with
   abs(long long __x) { return __builtin_llabs (__x); }
                    ^
/usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration â€˜long int std::abs(long int)’ here
   abs(long __i) { return __builtin_labs(__i); }
   ^

That because header cstdlib is included in a 'extern "C"' block that gcc
4.8 doesn't support. Fix it by move the header file out of the 'extern "C"'
block.

(From OE-Core rev: 7de61ecc3efc43c625dde9a66f5c05e980a82e34)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-setup-builddir: substitute ##OEROOT## when using templates
Ross Burton [Mon, 12 Aug 2013 10:41:49 +0000 (11:41 +0100)] 
oe-setup-builddir: substitute ##OEROOT## when using templates

oe-setup-builddir substitutes ##COREBASE## which seems like it should have the
same value as the variable ${COREBASE}.  In reality it doesn't as ##COREBASE##
is substituted with the value of $OEROOT (the location of the oe-init-build-env
script), whereas ${COREBASE} is set by oe-core to the parent directory of meta/.
If oe-core's meta/ isn't a top-level directory then ##COREBASE## and ${COREBASE}
have different values, which can lead to confusion.

To resolve this, deprecate (but still substitute) ##COREBASE## and substitute
 ##OEROOT# for $OEROOT.

(From OE-Core rev: 1890783928dd1c73105fae32fb6c588afc287ff6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprocps: Add cgroup support
Jukka Rissanen [Mon, 12 Aug 2013 07:22:24 +0000 (10:22 +0300)] 
procps: Add cgroup support

(From OE-Core rev: 767383ac80bd52a51d52655f95bb503cd0bb827b)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoblacklist.bbclass: Avoid blacklist specific handle in base.bbclass
Otavio Salvador [Sat, 10 Aug 2013 20:19:30 +0000 (17:19 -0300)] 
blacklist.bbclass: Avoid blacklist specific handle in base.bbclass

base.bbclass had code which handled the PNBLACKLIST in case of
multilib use. This is better to be done in the blacklist.bbclass so it
has all logic in a single place.

(From OE-Core rev: 04f0fefeccc1e7e3af8a1f741350492ae3f171fc)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Fix possible installation of GPLv3 header
Paul Barker [Mon, 5 Aug 2013 21:31:00 +0000 (22:31 +0100)] 
opkg: Fix possible installation of GPLv3 header

opkg is GPLv2+ licensed but it has optional support for sha256 checksums which
was GPLv3+ licensed. This code is not built unless '--enable-sha256' is passed
to the configure script, the default is equivalent to '--disable-sha256'.

However, the header 'sha256.h', which is GPLv3+ licensed, is in the list of
header files to be installed and thus could end up in the libopkg-dev package.
As this header is installed to '/usr/include/libopkg' it is very unlikely that
it will ever be used. However, if you're uncomfortable with GPLv3 code going
anywhere near your target filesystem you won't want this to happen.

The simplest solution is to replace the sha256 implementation in opkg with the
implementation from coreutils-6.9 which is licensed under GPLv2+. This is
committed to the opkg subversion repository as r652/r653.

The only intervening commit between r650 (previous SRCREV) and this is r651,
which integrates 'obsolete_automake_macros.patch' into the opkg sources. Thus
this patch isn't needed in oe-core anymore.

(Note: Before 873689bbabba25e7be5c12317c04519a7bc8d0ef, this header is only
installed if opkg is built in its source tree (ie. ${B}=${S}). After that commit
the header will always be installed)

(From OE-Core rev: 3c6a8a39d820f14f9eb3df3d719cef2c469769da)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Correct post(inst|rm) package association
Darren Hart [Fri, 9 Aug 2013 17:58:42 +0000 (10:58 -0700)] 
kernel.bbclass: Correct post(inst|rm) package association

Fixes [YOCTO #4991]

The kernel image is installed as part of the kernel-image package, but
the symlink creation/removal via alternatives is being done in
pkg_post(inst|rm)_kernel-base.

Move the postinst alternatives logic into the kernel-image functions.

(From OE-Core rev: 35f538b117e3387354d2dab1f22c3de28ab1322b)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogroff: Add GPLv2 version
Saul Wold [Fri, 9 Aug 2013 15:36:04 +0000 (08:36 -0700)] 
groff: Add GPLv2 version

Apparrently a LICENSE change was missed, so we add the GPLv2 version back in

(From OE-Core rev: 002818712fab5c6325b1f7205512945ea87ad76c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogroff: Fix License to be GPLv3
Saul Wold [Fri, 9 Aug 2013 15:38:04 +0000 (08:38 -0700)] 
groff: Fix License to be GPLv3

(From OE-Core rev: 4090c4d9b204118ec9826db02b0739ce60563dd4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib
Mark Hatle [Fri, 9 Aug 2013 23:41:05 +0000 (18:41 -0500)] 
image.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib

[YOCTO #4993]

Move the runtime_mapping_rename into a prefunc for the do_rootfs function.
Otherwise doing it in the python section could occur BEFORE the multilib
classes renaming.

If the package 'b' is a kernel module, then lib32-b and b should both
point to the same package.  The runtime_mapping code will do this
automatically.

Before if you ran: bitbake lib32-<image>

It may do:

start PACKAGE_INSTALL (a b c)
remap  (a b c)
MULTILIB naming (lib32-a lib32-b lib32-c)

What we want is:

start PACKAGE_INSTALL (a b c)
MULTILIB naming (lib32-a lib32-b lib32-c)
remap (lib32-a b lib32-c)

(From OE-Core rev: 836662c9a9c175521dbcd29cdfc0a7c144d8770f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Enable compatibility with older RPM packages that have invalid platforms
Mark Hatle [Fri, 9 Aug 2013 22:51:30 +0000 (17:51 -0500)] 
rpm: Enable compatibility with older RPM packages that have invalid platforms

Some LSB packages appear to have the platform set to '%{_target_platform}'
which is not a valid platform field.  This causes a failure of the type:

warning: package lsb-test-core-4.1.15-1.x86_64 is intended for a %{_target_platform} platform

When we detect an invalid platform, fall back and try to construct a new
platform name that may be valid based on the arch and os contents of the
package.  (This should only ever be needed by invalid or older RPM packages.)

(From OE-Core rev: 6513fa327aeb7e9fdd313290c205917952eed226)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Change references from RPM_VENDOR_POKY to RPM_VENDOR_OE
Mark Hatle [Fri, 9 Aug 2013 22:51:29 +0000 (17:51 -0500)] 
rpm: Change references from RPM_VENDOR_POKY to RPM_VENDOR_OE

Change the #define references to match RPM_VENDOR_OE.

(From OE-Core rev: a84ecc5ad158a7529a904785de25ebfedf5767a7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-dtb.inc: Replace /boot/ with /${KERNEL_IMAGEDEST}/
Mike Looijmans [Fri, 9 Aug 2013 10:53:39 +0000 (12:53 +0200)] 
linux-dtb.inc: Replace /boot/ with /${KERNEL_IMAGEDEST}/

Devicetree files were installed hard-coded in /boot. When KERNEL_IMAGEDEST
is anything else but "boot", the postinstall script and the file locations
no longer match and the postinstall will fail.

Replace "boot" with "${KERNEL_IMAGEDEST}" to fix this problem, and to allow
the devicetree files to be installed in another location.

(From OE-Core rev: 0f589b9a38397fdf55025062a45889b19d1c83c4)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub_0.97: Fix to correctly ship files under /usr/lib
Chen Qi [Fri, 9 Aug 2013 07:12:32 +0000 (15:12 +0800)] 
grub_0.97: Fix to correctly ship files under /usr/lib

The grub_fix_for_automake-1.12.patch replaced pkglib with pkgdata to
make grub_0.97 build with automake-1.12. However, it forgot to set up
the pkgdatadir, thus causing grub_0.97 not shipping files under /usr/lib.
This in turn resulted in an unworkable grub.

This patch fixes this problem by setting up the pkgdatadir correctly.

[YOCTO #4997]

(From OE-Core rev: 883b1b396328e6cd67dcb4ca6fd8975b6e716c0a)

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>
12 years agolib/oeqa/runtime: add new systemd tests
Alexandru Palalau [Fri, 9 Aug 2013 07:59:12 +0000 (10:59 +0300)] 
lib/oeqa/runtime: add new systemd tests

New systemd runtime tests for enable/disable service, start/stop service and list services.

(From OE-Core rev: 6386dc718f85210c9b6b9f69878ec9a7847b78de)

Signed-off-by: Alexandru Palalau <alexandrux.palalau@intel.com>
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oeqa/runtime: rework syslog test
Stefan Stanacar [Fri, 9 Aug 2013 13:26:40 +0000 (16:26 +0300)] 
lib/oeqa/runtime: rework syslog test

Add separate tests for restarting syslog and using logger, and
skip the configuration test for systemd images which always fail
because syslog's systemd service doesn't read a config by default
(see YB#4860).

(From OE-Core rev: c75f3e2385dde44ee96e33f4e5d064894dfb7d52)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooeqa/utils/qemurunner: get ip old fashioned way and use tcp serial console
Stefan Stanacar [Tue, 13 Aug 2013 14:47:12 +0000 (17:47 +0300)] 
oeqa/utils/qemurunner: get ip old fashioned way and use tcp serial console

The way we read data from the serial console was unreliable and blocking (AutoBuilder
seems to hit that often), so change the serial console type from unix socket to tcp
and reverse the connection - don't let qemu act as server (wait for a connection).
So now the serial console is used to save the boot log and make sure that we reached
the login prompt. Until a better way is found this should solve some of the AutoBuilder
failures (one being YB#4904).

Also we need to use the same method as the old qemuimagetest to get the ip
(from the qemu process arguments), because that it's more reliable.
The first version used here was to log into the target and use the output of
"ip addr show eth0" but then systemd decides that it should rename interfaces,
so that was changed to get the ip of the interface that has the default gw,
but if there is no default gw we'll get the loopback ip and we end up trying to
ssh into the host machine (some recent AutoBuilder runs showed that).

Changed in V2:
 - use -ww for ps, as output might get truncated

(From OE-Core rev: 55e78185110937b7e2b143cf1020426d8df58b72)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/testimage: create a link for qemu boot log
Stefan Stanacar [Thu, 8 Aug 2013 13:41:11 +0000 (16:41 +0300)] 
classes/testimage: create a link for qemu boot log

The full name for the log is confusing when there are multiple files.
Also move the ssh log path stuff where it's needed.

(From OE-Core rev: 1dbef61a0776ec6c9ac9209442bb4c346e706d7d)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: fix and enable out-of-tree builds
Ross Burton [Fri, 9 Aug 2013 15:32:24 +0000 (16:32 +0100)] 
mesa: fix and enable out-of-tree builds

One patch (submitted upstream) for when Gallium is enabled, and another
(inappropriate for upstream) to fix out-of-tree builds with
0003-EGL-Mutate-NativeDisplayType-depending-on-config.

(From OE-Core rev: fbc7092f0ae07538d4363679b1597ba4e556d1a8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-ffmpeg: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Mon, 5 Aug 2013 17:14:09 +0000 (18:14 +0100)] 
gst-ffmpeg: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION will be
defaulted from it.

(From OE-Core rev: 33fc0caa169c8d0c707977e387bda6a23630ee12)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-ffmpeg: enable using yasm during build
Paul Eggleton [Mon, 5 Aug 2013 17:11:35 +0000 (18:11 +0100)] 
gst-ffmpeg: enable using yasm during build

A recipe is now available for this, and it should enhance performance on
x86/x86-64.

(From OE-Core rev: 39aab68c1d60cb071bbd0c5d21b94222c89209a3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-ffmpeg: merge in bbappend from meta-oe
Paul Eggleton [Mon, 5 Aug 2013 17:08:23 +0000 (18:08 +0100)] 
gst-ffmpeg: merge in bbappend from meta-oe

* Enable external libav for better optimisations/additional bugfixes
  (internal ffmpeg copy is quite old), default enabled but can be
  disabled using PACKAGECONFIG
* Add a PACKAGECONFIG for orc, disabled by default in line with other
  gstreamer recipes
* Bump PR to r7 so the bbappend can be dropped without PR going
  backwards

(From OE-Core rev: aab668fbba25d3e590e4182224b7b064d7705c5b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibav: add from meta-oe, update and tweak
Paul Eggleton [Mon, 5 Aug 2013 16:47:39 +0000 (17:47 +0100)] 
libav: add from meta-oe, update and tweak

Changes from the meta-oe recipe:
* Update stable recipe to 0.8.8
* Update git recipe to the tag for 9.8 (for now)
* Switch over to a tarball for the release version recipe
* Add LICENSE_FLAGS = "commercial"
* Set SUMMARY instead of DESCRIPTION
* Add yasm-native to DEPENDS since there is now a recipe for it
* Remove libvpx from DEPENDS and add a PACKAGECONFIG option for it,
  disabled by default since it wasn't actually being enabled
* Add a PACKAGECONFIG option for x11 to enable/disable x11grab, and
  add the proper DEPENDS if so (still defaults to enabled)
* Add a number of other PACKAGECONFIG options, replacing some old
  comments as well as offering the ability to disable x264.
* Hide text relocation warning when building for i586 (PIC can't be
  enabled for 32-bit x86).
* Drop PR

Notes for the git recipe:
* This hasn't been able to be built recently in meta-oe since there was
  a circular dependency between libav and libpostproc. libpostproc is
  part of libav 0.8.x but was split out in 9+ and is not needed at all
  anymore by libav itself, so this dependency was removed.
* Additionally the recipe was filtering out the option to enable
  libpostproc but this option wasn't being added by the inc file and
  thus the filter wasn't doing anything, so I dropped this as well.

(From OE-Core rev: 9a670f780b1f1204d426017ff9a95842ad85800e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agox264: add from meta-oe, update and tweak
Paul Eggleton [Mon, 5 Aug 2013 16:42:58 +0000 (17:42 +0100)] 
x264: add from meta-oe, update and tweak

This is required by the default configuration of libav being brought over
from meta-oe. Changes from the meta-oe recipe:

* Update to the latest revision from the stable branch (upstream does
  not seem to provide stable releases.)
* Add LICENSE_FLAGS = "commercial"
* Enable PIC to fix text relocation warnings and disable warning for
  i586 (since PIC can't be used there)
* Make SUMMARY value slightly shorter
* Indent SRC_URI consistently with other recipes in OE-Core

(From OE-Core rev: a3ca077285003fbc04d134e875a58a745271e47f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyasm: add from meta-oe and tweak
Paul Eggleton [Mon, 5 Aug 2013 16:35:18 +0000 (17:35 +0100)] 
yasm: add from meta-oe and tweak

This is needed for x264. Enabling it for libav also improves performance
on x86 and x86-64. Two minor changes from the meta-oe recipe:

* Set SUMMARY instead of DESCRIPTION
* Drop setting of S - it was setting it to the same as the default

(From OE-Core rev: 2619c81d6641ef5d4dee58c128a1af140429c248)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updates to insane.bbclass and two new variables added.
Scott Rifenbark [Tue, 13 Aug 2013 12:15:55 +0000 (15:15 +0300)] 
ref-manual: Updates to insane.bbclass and two new variables added.

* Updated the insane.bbclass section to move the note at the
  end about using ERROR_QA and WARN_QA to control how the
  checks are reported to the front of the section.

* Added new variable entries for WARN_QA and ERROR_QA.

(From yocto-docs rev: 6f220d1ba3d44a1bba2f1ac882cdf6b601ddc5bb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Review comments added, new variables added
Scott Rifenbark [Tue, 13 Aug 2013 11:43:52 +0000 (14:43 +0300)] 
ref-manual: Review comments added, new variables added

* Updated some links in the insane.bbclass sectioni so they
  now point to some new variables.

* Added glossary descriptions for PKGD, PKGDEST, and
  INCOMPATIBLE_LICENSE.

* Added a paragraph to the LICENSE variable to describe
  situations where the output might have components whose
  licensing is from two different licenses (licensing on
  a per-package basis).

(From yocto-docs rev: b8dd3b3d5cb912ed7c5d3c9b6c01d93347e95b84)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Small wording change to installed-vs-shipped test.
Scott Rifenbark [Tue, 13 Aug 2013 10:49:17 +0000 (13:49 +0300)] 
ref-manual: Small wording change to installed-vs-shipped test.

(From yocto-docs rev: 40257d5011dbc22d1d40e13f8ae2229b8e5de50c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added more QA checks to the insane.bbclass.
Scott Rifenbark [Tue, 13 Aug 2013 09:02:59 +0000 (12:02 +0300)] 
ref-manual: Added more QA checks to the insane.bbclass.

Fixes [YOCTO #4788]

Added a bunch of new checks to the list of checks in this
class.  I also recast the section head to just have the
class file as the section heading.  This resulted in a link
that needed changed.

(From yocto-docs rev: 4a4df80c0b6012ad09ea526d2893e729aa06965b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Review comments to a few variables.
Scott Rifenbark [Tue, 13 Aug 2013 07:17:54 +0000 (10:17 +0300)] 
ref-manual: Review comments to a few variables.

Applied some minor review comments from Paul for some variables
in the reference.

(From yocto-docs rev: 231031c291367f3b8f6b1f44d4a0b1804d8e9d9f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: updated the IPK_FEED_URIS variable.
Scott Rifenbark [Tue, 13 Aug 2013 07:01:49 +0000 (10:01 +0300)] 
ref-manual: updated the IPK_FEED_URIS variable.

When I added this variable, I cut-and-pasted from the
INSANE_SKIP variable, which appears directly in front of
this new variable.  I failed to change the name of the
variable from the copied INSANE_SKIP to IPK_FEED_URIS.

Fixed.

(From yocto-docs rev: 3138ba59d90dbdd11be524598c3996a6824bc424)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: updated LIC_FILES_CHKSUM exmaple
Scott Rifenbark [Tue, 13 Aug 2013 06:47:12 +0000 (09:47 +0300)] 
ref-manual: updated LIC_FILES_CHKSUM exmaple

Fixes [YOCTO #4975]

Changes made to be sure that we are not assuming WORKDIR is a
child of the 'S' directory.

(From yocto-docs rev: c47b65c008ee45873e3bf61c7aaea18ca9744007)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: udates to toaster section.
Scott Rifenbark [Tue, 13 Aug 2013 05:46:21 +0000 (08:46 +0300)] 
dev-manual: udates to toaster section.

Fixes [YOCTO #4730]

Edits to the new section on toaster.  These are from Belen's review.

(From yocto-docs rev: f1462bd53bf39c706a87af86830a92b451b3e00c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to the IMAGE_TYPES variable.
Scott Rifenbark [Fri, 9 Aug 2013 16:35:31 +0000 (19:35 +0300)] 
ref-manual: Edits to the IMAGE_TYPES variable.

(From yocto-docs rev: 973bae5361ca3205c467cc7445cf83462f422edb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual, yocto-project-qs: Debian support added
Scott Rifenbark [Fri, 9 Aug 2013 14:12:10 +0000 (17:12 +0300)] 
dev-manual, ref-manual, yocto-project-qs: Debian support added

Fixes [YOCTO #4912]

Throughout the manual set, various areas talk about the Linux
distributions we support and the required packages among other
items that are tied to a distro.  Debian had been missing except
from the list in the ref-manual that shows the releases we test
against.

I have attended to all areas where Debian needs to be mentioned
now.

Reported-by: Laszlo Papp <lpapp@kde.org>
(From yocto-docs rev: 2004567821add745d320106b0dc6cccb4f73b605)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Fixed path typo for a download.
Scott Rifenbark [Fri, 9 Aug 2013 13:13:52 +0000 (16:13 +0300)] 
yocto-project-qs: Fixed path typo for a download.

Fixes [YOCTO #4996]

In section "Building an Image" the first Tip box has example
file location "poky-dylan-9.0-build/conf/local.conf". It should
be "poky-dylan-9.0/build/conf/local.conf".

This particular error had propagated into 1.4.1 and 1.4.2.  I have
fixed all versions.  This commit though is for the dylan HEAD, which
will show up with the 1.4.2 release.  The best I could do for
1.4 and 1.4.1 was to pull local versions of the branch, fix,
rebuild and push to the website.

Reported-by: Juuso Korhonen <korhonen.jusso1@gmail.com>
(From yocto-docs rev: 8c42b68a4632ad9300232501c45fae61edd37475)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to IMAGE_FSTYPES and IMAGE_TYPES variables.
Scott Rifenbark [Fri, 9 Aug 2013 12:28:41 +0000 (15:28 +0300)] 
ref-manual: Edits to IMAGE_FSTYPES and IMAGE_TYPES variables.

(From yocto-docs rev: f852fff164e926f3b821c59f293904125cbb17bd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added IMAGE_TYPES variable and updated IMAGE_FSTYPES.
Scott Rifenbark [Fri, 9 Aug 2013 11:48:07 +0000 (14:48 +0300)] 
ref-manual: Added IMAGE_TYPES variable and updated IMAGE_FSTYPES.

(From yocto-docs rev: f360973500b92a93311ac5e62b09aee9a4bdeebb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: updates to TARGET_ARCH and KARCH variables.
Scott Rifenbark [Fri, 9 Aug 2013 11:20:24 +0000 (14:20 +0300)] 
ref-manual: updates to TARGET_ARCH and KARCH variables.

(From yocto-docs rev: c466ca5b8e9c4fb1824b3cb1bd9d53a300696a2d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobsp-guide: Updated the returned KARCH list for yocto-bsp script.
Scott Rifenbark [Fri, 9 Aug 2013 11:19:04 +0000 (14:19 +0300)] 
bsp-guide: Updated the returned KARCH list for yocto-bsp script.

(From yocto-docs rev: a01e2e4990f1db40bccabd4c32b2740f01aaf044)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Updated section on toolchains.
Scott Rifenbark [Fri, 9 Aug 2013 11:17:46 +0000 (14:17 +0300)] 
yocto-project-qs: Updated section on toolchains.

Changed the directory to x86_64 from x86-64.  Also specically
stated we support 32-bit and 64-bit stuff for x86 systems.

(From yocto-docs rev: 6338469059b7ac6547f53a2da973f76e338c5124)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added new variable IPK_FEED_URIS.
Scott Rifenbark [Fri, 9 Aug 2013 08:46:09 +0000 (11:46 +0300)] 
ref-manual: Added new variable IPK_FEED_URIS.

(From yocto-docs rev: 94039032274b17e383be026976736b662e877ee0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added BINCONFIG_GLOB variable and updated binconfig.bbclass
Scott Rifenbark [Fri, 9 Aug 2013 08:08:38 +0000 (11:08 +0300)] 
ref-manual: Added BINCONFIG_GLOB variable and updated binconfig.bbclass

New variable.

Changed the class section to have a reference-like section title.
Added a link back to the GLOB variable.

(From yocto-docs rev: 42dbafc1b64d8572930501f25a0470038721524f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Applied review edits to several variable descriptions.
Scott Rifenbark [Fri, 9 Aug 2013 07:42:12 +0000 (10:42 +0300)] 
ref-manual: Applied review edits to several variable descriptions.

Minor changes to a whole lotta variables.

(From yocto-docs rev: a2a175a5138683a9e9deac71b6080cc05cbb801e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-manual: Organized building a toolchain installer into a section.
Scott Rifenbark [Fri, 9 Aug 2013 07:40:32 +0000 (10:40 +0300)] 
adt-manual: Organized building a toolchain installer into a section.

An improvement to expose the method by which the user gets a
toolchain installer.  I placed this information in a section of
its own rather than having it buried in a note.

(From yocto-docs rev: a1c2bb48f47cee9ee8c5c079afbcf77a793ca791)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits and additions to glossary
Scott Rifenbark [Thu, 8 Aug 2013 15:24:27 +0000 (18:24 +0300)] 
ref-manual: Edits and additions to glossary

Some items updated and several new variables added:

* Review edits to SERIAL_CONSOLE
* Added TRANSLATED_TARGET_ARCH
* Added SOLIBSDEV
* Added SOLIBS
* Added OLDEST_KERNEL
* Added INTERCEPT_DIR
* Added ALTERNATIVE
* Added ALTERNATIVE_LINK_NAME
* Added ALTERNATIVE_PRIORITY
* Added ALTERNATIVE_TARGET
* Added COMMON_LICENSE_DIR
* Added EXCLUDE_FROM_WORLD
* Added INITRAMFS_FSTYPES
* Removed commented out BUILDHISTORY_CHECKVERBACKWARDS variable.

(From yocto-docs rev: 9c18046e39b3b98e2e788b5c5d05096a3d95add8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the update-alternatives class
Scott Rifenbark [Thu, 8 Aug 2013 15:18:19 +0000 (18:18 +0300)] 
ref-manual: Updated the update-alternatives class

Added some links to four variables that are now documented in the
glossary.

(From yocto-docs rev: de7574be7c805173318b77d39c7b540bff4108df)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to the binconfig.bbclass section.
Scott Rifenbark [Wed, 7 Aug 2013 20:02:09 +0000 (23:02 +0300)] 
ref-manual: Edits to the binconfig.bbclass section.

(From yocto-docs rev: 7b442239b8dc083c0191e863cb959fb978ea6345)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, dev-manual: Review edits for Build Directory wording.
Scott Rifenbark [Wed, 7 Aug 2013 14:48:00 +0000 (17:48 +0300)] 
ref-manual, dev-manual: Review edits for Build Directory wording.

Did some word-smithing to work around a false statement that
implied externalsrc.bbclass needed to be inherited on a
recipe-by-recipe basis.  This affected the usage section and
the glossary definitions for both EXTERNALSRC and EXTERNALSRC_BUILD.

Also updated the "B" variable description to be more accurate
in the use of the term "Build Directory."

(From yocto-docs rev: 46695817b6e44cfa88161699105b8d03a5828fd2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to OE_BINCONFIG_EXTRA_MANGLE and binconfig.bbclass
Scott Rifenbark [Wed, 7 Aug 2013 13:33:51 +0000 (16:33 +0300)] 
ref-manual: Edits to OE_BINCONFIG_EXTRA_MANGLE and binconfig.bbclass

(From yocto-docs rev: d732e0a32d1bc5dccd9bf6522bb9852df3b63ebd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added glossary entry for INHIBIT_DEFAULT_DEPS variable.
Scott Rifenbark [Wed, 7 Aug 2013 13:05:25 +0000 (16:05 +0300)] 
ref-manual: Added glossary entry for INHIBIT_DEFAULT_DEPS variable.

(From yocto-docs rev: d33370a1a1448a339a32f91c171193c7f4d9397e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, dev-manual: Fixed links for SERIAL_CONSOLE
Scott Rifenbark [Wed, 7 Aug 2013 12:56:52 +0000 (15:56 +0300)] 
ref-manual, dev-manual: Fixed links for SERIAL_CONSOLE

These manuals had references to the deprecated SERIAL_CONSOLE
variable.  Changed the links to SERIAL_CONSOLES.

(From yocto-docs rev: 998b8524d2111ebfb6bdb3d4620434cd81d92489)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added glossary entry for SERIAL_CONSOLES variable.
Scott Rifenbark [Wed, 7 Aug 2013 12:46:40 +0000 (15:46 +0300)] 
ref-manual: Added glossary entry for SERIAL_CONSOLES variable.

Also, I changed the definition for SERIAL_CONSOLE to indicate
the variable is deprecated.

(From yocto-docs rev: 36c78759b406853ab36f815d741689d5719d1e0f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added glossary entry for SERIAL_CONSOLES_CHECK variable.
Scott Rifenbark [Wed, 7 Aug 2013 12:24:07 +0000 (15:24 +0300)] 
ref-manual: Added glossary entry for SERIAL_CONSOLES_CHECK variable.

(From yocto-docs rev: d4e685033794c504220e30ba92adb7c7da64b753)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added a glossary entry for the EXTENDPKGV variable.
Scott Rifenbark [Wed, 7 Aug 2013 11:29:43 +0000 (14:29 +0300)] 
ref-manual: Added a glossary entry for the EXTENDPKGV variable.

(From yocto-docs rev: 87ccd9f922db081c8848bc543b96859600b1a86b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added new glossary entry for PACKAGE_INSTALL variable.
Scott Rifenbark [Wed, 7 Aug 2013 11:19:47 +0000 (14:19 +0300)] 
ref-manual: Added new glossary entry for PACKAGE_INSTALL variable.

(From yocto-docs rev: 15411b77931a039d374c770d71e975aaf34b22c4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added new glossary entry for the PATCHTOOL variable.
Scott Rifenbark [Wed, 7 Aug 2013 11:08:15 +0000 (14:08 +0300)] 
ref-manual: Added new glossary entry for the PATCHTOOL variable.

(From yocto-docs rev: fa3e46c5a4debada71cbc9899dca506093d2a8c8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added two links for FILESOVERRIDES and OVERRIDES
Scott Rifenbark [Wed, 7 Aug 2013 09:12:55 +0000 (12:12 +0300)] 
ref-manual: Added two links for FILESOVERRIDES and OVERRIDES

These variables were missing links into the reference section
glossary from the Migration chapter.

(From yocto-docs rev: 65ad5fc60f5a1067fbe2a54987d195ee388d264b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added placeholder for BUILDHISTORY_CHECKVERBACKWARDS
Scott Rifenbark [Wed, 7 Aug 2013 08:31:08 +0000 (11:31 +0300)] 
ref-manual: Added placeholder for BUILDHISTORY_CHECKVERBACKWARDS

Inserted a commented placehoder for this glossary item.

(From yocto-docs rev: 6c621cd8eddfdd592df299255035288dd5d15477)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: updated link
Scott Rifenbark [Wed, 7 Aug 2013 08:21:43 +0000 (11:21 +0300)] 
ref-manual: updated link

I updated a link to the externalsrc.bbclass references section.
The section name has changed so that it does not imply how to use
the class.

(From yocto-docs rev: e951618cee0204a68f4980115237b53e1fb9f987)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: New variable entries added.
Scott Rifenbark [Wed, 7 Aug 2013 08:20:12 +0000 (11:20 +0300)] 
ref-manual: New variable entries added.

* EXTERNALSRC
* EXTERNALSRC_BUILD

These are new.

Also fixed a link to the dev-manual that points to the section
on how to use external.bbclass.  The section name was changed
so that it does not imply how to use the class.

(From yocto-docs rev: be9b801cac6a8fd6cd3db86eacf432f73da6fd08)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Changes to the externalsrc.bbclass reference section.
Scott Rifenbark [Wed, 7 Aug 2013 08:18:17 +0000 (11:18 +0300)] 
ref-manual: Changes to the externalsrc.bbclass reference section.

Updated this to not contain usage information, which has been
moved to the dev-manual.  I diff'ed out this commit and there
are some changes that resulted from accidental deletion and
restoration of a large amount of text.

(From yocto-docs rev: fdefcfd77811d2cfe65d51b70f3bc69018f3de81)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: updates to how to use externalsrc.bbclass
Scott Rifenbark [Wed, 7 Aug 2013 08:16:25 +0000 (11:16 +0300)] 
dev-manual: updates to how to use externalsrc.bbclass

I made sure all the usage information for this class is in this
section and not in the ref-manual.  Changes involved using
EXTERNALSRC and EXTERNALSRC_BUILD now to select the source
and build directories.

(From yocto-docs rev: f818d7013502d943517a99b84397e98f5f9dfd9a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updates to the S variable description in the glossary.
Scott Rifenbark [Tue, 6 Aug 2013 12:53:59 +0000 (15:53 +0300)] 
ref-manual: Updates to the S variable description in the glossary.

(From yocto-docs rev: 44a2b16f77cb86e37f3dcd46c52f699a59e3b418)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added glossary description for OE_BINCONFIG_EXTRA_MANGLE variable.
Scott Rifenbark [Tue, 6 Aug 2013 12:49:40 +0000 (15:49 +0300)] 
ref-manual: Added glossary description for OE_BINCONFIG_EXTRA_MANGLE variable.

(From yocto-docs rev: 55bbcbebc707d95ee357aa3d8075218d0f31b2f1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added new glossary description for RM_OLD_IMAGE.
Scott Rifenbark [Tue, 6 Aug 2013 10:55:15 +0000 (13:55 +0300)] 
ref-manual: Added new glossary description for RM_OLD_IMAGE.

(From yocto-docs rev: 718002e23dbea4f8c2090003ee43af30fa0ae82d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: replaced linux_libc-headers with linux-libc-headers
Scott Rifenbark [Mon, 5 Aug 2013 13:53:52 +0000 (16:53 +0300)] 
ref-manual: replaced linux_libc-headers with linux-libc-headers

Four occurrences in the toolchain section affected.

(From yocto-docs rev: c69d84f5a64763e6560e8eb126a354b69740439e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to the TOPDIR glossary entry.
Scott Rifenbark [Mon, 5 Aug 2013 13:38:43 +0000 (16:38 +0300)] 
ref-manual: Edits to the TOPDIR glossary entry.

(From yocto-docs rev: bb29b4a4a8e5c4be6fc2a4103e1a32df184a2f76)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: More review edits to closer look section.
Scott Rifenbark [Mon, 5 Aug 2013 13:37:33 +0000 (16:37 +0300)] 
ref-manual: More review edits to closer look section.

Fixes [YOCTO #2808]

Another edit to the list in the SDK section.  Removing the
term "SDK installer" and replacing with "SDK."

(From yocto-docs rev: fec6388957a52320ad8106fab109ea95de07d42b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Small corrections to the TOPDIR variable description.
Scott Rifenbark [Mon, 5 Aug 2013 12:43:37 +0000 (15:43 +0300)] 
ref-manual: Small corrections to the TOPDIR variable description.

(From yocto-docs rev: 74e5b386f08169a3381b758e2759caac9d94dd47)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>