scm/bb/tizen-distro.git
10 years agosubversion: Disable make install parallelism
Richard Purdie [Fri, 18 Jul 2014 12:40:31 +0000 (13:40 +0100)]
subversion: Disable make install parallelism

The Makefile generation for subversion is horrible, I can't figure out
where the dependencies are missing, it looks like they might be missing
everywhere. Give up and disable parallel make install.

(From OE-Core rev: f5569d30b98418b201766ad07b177aac5fae4a41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: fix indentation in python function
Roxana Ciobanu [Fri, 18 Jul 2014 12:41:34 +0000 (15:41 +0300)]
license.bbclass: fix indentation in python function

If we don't fix this, the fix for bug 6502 will trigger warnings
that the write_package_manifest function contains tabs.

Related to fix for [YOCTO #6502].

(From OE-Core rev: 6d93be5338ca301caafbcd44bfe3da08c05610ec)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: neon support was dropped, switch to serf
Richard Purdie [Thu, 17 Jul 2014 20:37:38 +0000 (20:37 +0000)]
subversion: neon support was dropped, switch to serf

(From OE-Core rev: 1838153de3a68ac391bdec139446e496ad093763)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoserf: Add new recipe (needed by subversion for http support)
Richard Purdie [Thu, 17 Jul 2014 20:37:23 +0000 (20:37 +0000)]
serf: Add new recipe (needed by subversion for http support)

(From OE-Core rev: 572407ad9474f94299810c5c9a81587265730218)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibatomic-ops: Add BBCLASSEXTEND for native (to support bdwgc-native)
Richard Purdie [Thu, 17 Jul 2014 21:14:49 +0000 (21:14 +0000)]
libatomic-ops: Add BBCLASSEXTEND for native (to support bdwgc-native)

(From OE-Core rev: ebe518d6bb8af6b53805e554e4a61e6534cfb479)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobdwgc: Add PACKAGECONFIG for libatomic-ops
Richard Purdie [Thu, 17 Jul 2014 06:41:32 +0000 (06:41 +0000)]
bdwgc: Add PACKAGECONFIG for libatomic-ops

Taken from the libgc recipe in meta-oe.

(From OE-Core rev: a449598a839e677e2a094aa4bd9a68003de6e42e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqs/selftest: Added test case decorators for toaster
Lucian Musat [Thu, 17 Jul 2014 10:57:00 +0000 (13:57 +0300)]
oeqs/selftest: Added test case decorators for toaster

(From OE-Core rev: 87ded649257e963e45d629679d44376d9a993ecd)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: use PACKAGECONFIG to address readline dependency
Ming Liu [Thu, 17 Jul 2014 07:58:18 +0000 (15:58 +0800)]
gmp: use PACKAGECONFIG to address readline dependency

To avoid automatically detecting readline dependency, which will lead to
a implicit build result.

(From OE-Core rev: b98da859423a541e419bbf38edacf2320ce00c8d)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflac: explicitly disable checking for nasm
Ming Liu [Thu, 17 Jul 2014 07:58:17 +0000 (15:58 +0800)]
flac: explicitly disable checking for nasm

Automatical checking for nasm program will lead flac to a implicit build
result depending on nasm is built before or after it.

(From OE-Core rev: 3db77bfb5f02dae841f24eba66ac5747bbe10b9f)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: fix return status in pam.py to match shadow-4.2.1
Chen Qi [Thu, 17 Jul 2014 07:53:35 +0000 (15:53 +0800)]
oeqa: fix return status in pam.py to match shadow-4.2.1

The return statuses of commands like `su --help' or `passwd --help'
in shadow 4.2.1 version are different from those in shadow 4.1.4.3
version.

Now that we've upgraded shadow to 4.2.1, we need to fix these statuses
in the pam.py to make things work as expected.

(From OE-Core rev: 6bc53438735690866358194dd9e88fa1d7435e2c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: upgrade from 4.1.4.3 to 4.2.1
Chen Qi [Thu, 17 Jul 2014 07:53:34 +0000 (15:53 +0800)]
shadow: upgrade from 4.1.4.3 to 4.2.1

Upgrade shadow from 4.1.4.3 to 4.2.1.

Changes during this upgrade are as following.

1. Remove the "merged" patches. These patches are either merged or
   the same functionality has been implemented upstream.

   add_root_cmd_groupmems.patch
   add_root_cmd_options.patch
   fix-etc-gshadow-reading.patch
   shadow-4.1.4.2-env-reset-keep-locale.patch
   shadow-4.1.4.2-groupmod-pam-check.patch
   shadow-4.1.4.2-su_no_sanitize_env.patch
   shadow.automake-1.11.patch
   shadow_fix_for_automake-1.12.patch
   useradd.patch

2. Remove the unneeded patch.
   The following patch has been removed because the logic in the related
   codes of the new version has been changed. In specific, the codes now
   can handle the 'NULL' return value. So there's no need for the following
   patch.

   slackware_fix_for_glib-2.17_crypt.patch

3. Teak the current patch to match the new version.

   allow-for-setting-password-in-clear-text.patch

4. Add a patch to fix compilation failure.

   usermod-fix-compilation-failure-with-subids-disabled.patch

5. Add a patch to fix the installation failure.

   fix-installation-failure-with-subids-disabled.patch

5. Add a patch to fix the failure at rootfs time if extrausers is inherited.

   commonio.c-fix-unexpected-open-failure-in-chroot-env.patch

6. Fix the bad section in the recipe.

7. Disable the new subids feature in the new version as it doesn't support
   cross compilation for now.

8. Modify the pkg_postinst to `exit 1' if the `pwconv' or `grpconv' fails.
   Also, fix the arguments to use '--root $D' instead of '--root=$D'.

9. Add a patch for shadow-native to create parent directories when necessary.

   0001-useradd.c-create-parent-directories-when-necessary.patch

(From OE-Core rev: b73e5cd51551556f9e6a4f7d9e7deec4d9d661bd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Upgrade to 3.70
Saul Wold [Tue, 15 Jul 2014 20:28:35 +0000 (13:28 -0700)]
man-pages: Upgrade to 3.70

(From OE-Core rev: 4fb8d2e4fda6e90d38766bf333b9fb6b3cb95561)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpod-plainer-perl: Upgrade to 1.04
Saul Wold [Tue, 15 Jul 2014 20:28:00 +0000 (13:28 -0700)]
libpod-plainer-perl: Upgrade to 1.04

Year changed in README for Copyright and Licnese info

(From OE-Core rev: 59300e17bd990cb9387850e7257ab4e6674eb4d3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: Upgrade to 2.0.25
Saul Wold [Tue, 15 Jul 2014 20:27:27 +0000 (13:27 -0700)]
gnupg: Upgrade to 2.0.25

(From OE-Core rev: 80d5c657f6658bbda042d4e3c382342804ca2041)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolzo: Upgrade to 2.08
Saul Wold [Tue, 15 Jul 2014 20:26:01 +0000 (13:26 -0700)]
lzo: Upgrade to 2.08

Changed copyright lines from multiple to a single line, no license change

(From OE-Core rev: 381c240be680c535830eccf6ed9d3696e3217dae)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosquashfs-tools: Upgrade to 4.3
Saul Wold [Tue, 15 Jul 2014 20:24:45 +0000 (13:24 -0700)]
squashfs-tools: Upgrade to 4.3

Remove patches that are now implemented upstream
COPYING file has formating change no change to licence itself

(From OE-Core rev: 518d6b32aa9d84e572ccd6d04368f4c5bdb222ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: Upgrade to latest git
Saul Wold [Tue, 15 Jul 2014 20:17:19 +0000 (13:17 -0700)]
kmod: Upgrade to latest git

Update to version 18 with an additional patch from
the git repo to address an issue.

(From OE-Core rev: 5a16da19eda60992e094b38ebb185875529b3b4c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Upgrade to 2.0.2
Saul Wold [Tue, 15 Jul 2014 20:16:28 +0000 (13:16 -0700)]
kbd: Upgrade to 2.0.2

Tarball compression type changed to zx

(From OE-Core rev: 12b3b7191c14a0151977a9e9b66ba446228074bf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: exclude some ARM EABI obsolete syscalls
Roy.Li [Mon, 23 Jun 2014 06:28:30 +0000 (14:28 +0800)]
qemu: exclude some ARM EABI obsolete syscalls

some syscalls are obsolete and no longer available for EABI, exclude them to
fix the below error:
        In file included from qemu-seccomp.c:16:0:
        qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function)
              { SCMP_SYS(select), 252 },
                ^
        qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function)
              { SCMP_SYS(mmap), 247 },
                ^
        qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function)
              { SCMP_SYS(getrlimit), 245 },
                ^
        qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function)
              { SCMP_SYS(time), 245 },
                ^
        qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function)
              { SCMP_SYS(alarm), 241 },

please refer source files:
        arch/arm/include/uapi/asm/unistd.h
or kernel header:
        /usr/include/asm/unistd.h

(From OE-Core rev: 49257247fdc57e9296520bbd598fd8cbf425d44a)

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 agoeglibc: check for required distro features
Chen Qi [Thu, 3 Jul 2014 03:23:42 +0000 (11:23 +0800)]
eglibc: check for required distro features

If users accidently override the DISTRO_FEATURES in local.conf,
then build failures occur for lack of libc functions.

All features in DISTRO_FEATURES_LIBC should be in DISTRO_FEATURES.
That's why this patch let the recipe inherit distro_features_check
class and set REQUIRED_DISTRO_FEATURES to "${DISTRO_FEATURES_LIBC}".

[YOCTO #6381]

(From OE-Core rev: 82d9d12a3364914a5c1f354671adac1f0a71eea3)

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 agopython: Forcibly disable tk
Richard Purdie [Wed, 16 Jul 2014 16:09:47 +0000 (16:09 +0000)]
python: Forcibly disable tk

Avoids the determinism problem shown with the warnings:

WARNING: QA Issue: python-tkinter rdepends on libx11 but its not a build dependency? [build-deps]
WARNING: QA Issue: python-tkinter rdepends on tcl-lib but its not a build dependency? [build-deps

(From OE-Core rev: 53ae544cfdac22c82af452b8c7ebe6664296bd9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Fix build determinism problem
Richard Purdie [Wed, 16 Jul 2014 15:59:34 +0000 (15:59 +0000)]
xserver-xorg: Fix build determinism problem

We're seeing the warning:

WARNING: QA Issue: xserver-xorg rdepends on nettle but its not a build dependency? [build-deps]

We list openssl in DEPENDS so we need to specify that as the sha1 provider
rather that nettle which is autodetected.

(From OE-Core rev: bfc19d81a5992c8b7b725a873dda527c9c9c148d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: Fix floating libidn dependency
Richard Purdie [Wed, 16 Jul 2014 15:46:49 +0000 (15:46 +0000)]
gnutls: Fix floating libidn dependency

Avoids WARNING: QA Issue: gnutls-bin rdepends on libidn but its not a build dependency? [build-deps]

(From OE-Core rev: 6fd51f5c15a380eae630fe853ba0eccde7b9a369)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: Fix floating dbus dependency
Richard Purdie [Wed, 16 Jul 2014 15:46:14 +0000 (15:46 +0000)]
libpcap: Fix floating dbus dependency

Avoids WARNING: QA Issue: libpcap rdepends on dbus-lib but its not a build dependency? [build-deps]

(From OE-Core rev: 8ced43cfee6e8de4fa462b0aabb0e1e5aeb2a65f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache: Fix build dependency errors
Richard Purdie [Wed, 16 Jul 2014 15:27:42 +0000 (15:27 +0000)]
fontcache: Fix build dependency errors

This addresses warnings like:

WARNING: QA Issue: liberation-fonts rdepends on fontconfig-utils but its not a build dependency? [build-deps]

since the dependencies were being added at package time and were not
visible to bitbake.

Also take the opportunity to convert to use PACKAGEFUNCS rather than
the horrible populate_packages_append.

(From OE-Core rev: f784e9f53f333f05b3ef570334bf2f6bc9e972c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoneard: Fix typo in patch leading to parallel make race
Richard Purdie [Wed, 16 Jul 2014 14:14:46 +0000 (14:14 +0000)]
neard: Fix typo in patch leading to parallel make race

The typo left room for a parallel make race for unit/test-snep-read.o,
fix it.

(From OE-Core rev: 061b9fd4b6dca030df1f2f00a59ad7d365b06894)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs-tools: Upgrade 3.12 -> 3.14.2
Richard Purdie [Wed, 16 Jul 2014 14:01:51 +0000 (14:01 +0000)]
btrfs-tools: Upgrade 3.12 -> 3.14.2

(From OE-Core rev: da30d4cfe4b3cac12d09384ca27f9612b5288b48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibconvert-asn1-perl: Upgrade 0.26 -> 0.27
Richard Purdie [Wed, 16 Jul 2014 13:05:54 +0000 (13:05 +0000)]
libconvert-asn1-perl: Upgrade 0.26 -> 0.27

(From OE-Core rev: 1a8d584ffcdfc6e746eadcc190c13cac0c48766f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pycurl: Upgrade 7.19.3 -> 7.19.3.1
Richard Purdie [Wed, 16 Jul 2014 13:03:49 +0000 (13:03 +0000)]
python-pycurl: Upgrade 7.19.3 -> 7.19.3.1

License text just moved within the README.rst (same checksum)

(From OE-Core rev: 2d7566c7b564facb4ada5b29f7a77bfb203ebcb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: Upgrade 1.7.7 -> 1.8.9
Richard Purdie [Wed, 16 Jul 2014 12:31:59 +0000 (12:31 +0000)]
subversion: Upgrade 1.7.7 -> 1.8.9

Dropped neon patches as neon support was dropped.
Dropped CVE patches as applied in later version
Added patch to avoid OS-X check which doesn't cross compile
Add PACKAGECONFIG for gnome-keyring

Addition to license:

For the file subversion/libsvn_subr/utf_width.c
* Markus Kuhn -- 2007-05-26 (Unicode 5.0)
*
* Permission to use, copy, modify, and distribute this software
* for any purpose and without fee is hereby granted. The author
* disclaims all warranties with regard to this software.

(From OE-Core rev: 99c3225cfe39f8de89555df5bd3f1e93cd731269)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian: Fix shlibs directory after recent shlibs changes
Richard Purdie [Wed, 16 Jul 2014 12:45:41 +0000 (12:45 +0000)]
cross-canadian: Fix shlibs directory after recent shlibs changes

(From OE-Core rev: 4c947718d0538ea79041fdcd9673dc6408380989)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonasm: Update 2.11.02 -> 2.11.05
Richard Purdie [Wed, 16 Jul 2014 11:08:26 +0000 (11:08 +0000)]
nasm: Update 2.11.02 -> 2.11.05

(From OE-Core rev: 403eed4b92a8b8d841b8a3ab9f1b2c25130f1deb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopowertop: Upgrade 2.5 -> 2.6.1
Richard Purdie [Wed, 16 Jul 2014 10:58:34 +0000 (10:58 +0000)]
powertop: Upgrade 2.5 -> 2.6.1

Needed to create the directory to avoid B != S build issues.

(From OE-Core rev: 6612c5e48c94fcfcd2c3ed48f7d8f2650e5b6abe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogccmakedep: Upgrade 1.0.2 -> 1.0.3
Richard Purdie [Wed, 16 Jul 2014 10:58:02 +0000 (10:58 +0000)]
gccmakedep: Upgrade 1.0.2 -> 1.0.3

(From OE-Core rev: 0d8bedc75e94827e1d2329b2bd96bcfaee6132d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: Upgrade 3.3 -> 3.3.1
Richard Purdie [Wed, 16 Jul 2014 10:57:13 +0000 (10:57 +0000)]
mdadm: Upgrade 3.3 -> 3.3.1

(From OE-Core rev: b0d95d6a449c979eac76b72872bde49bc2204223)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdb: Upgrade 7.7 -> 7.7.1
Richard Purdie [Wed, 16 Jul 2014 10:56:25 +0000 (10:56 +0000)]
gdb: Upgrade 7.7 -> 7.7.1

(From OE-Core rev: ee7991aed0aec760054e78e018c40f06a36a4f5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-scons: Upgrade 2.3.0 -> 2.3.2
Richard Purdie [Wed, 16 Jul 2014 10:55:57 +0000 (10:55 +0000)]
python-scons: Upgrade 2.3.0 -> 2.3.2

License file changes copyright years only.

(From OE-Core rev: 31ef959d9c0f2fc9a141d06ef01b5cfb14412c4e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-docutil: Upgrade 0.11 -> 0.12
Richard Purdie [Wed, 16 Jul 2014 10:52:25 +0000 (10:52 +0000)]
python-docutil: Upgrade 0.11 -> 0.12

License change is just a date change in the license file, looks
like English to German locale change to the date display.

(From OE-Core rev: b3f854884aacd93f6370658eafc0955023c1f31d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopkgconfig: Drop version from RPROVIDES
Richard Purdie [Wed, 16 Jul 2014 09:34:14 +0000 (09:34 +0000)]
pkgconfig: Drop version from RPROVIDES

Versioned RPROVIDES don't make sense and break the pkgdata rprovides code.

(From OE-Core rev: 0d6774dc46663fe6b42a69ab7f6c9afc6a9d38ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: Avoid libpcap build error when libnl1 is involved
Hu Yadi [Mon, 16 Jun 2014 13:49:19 +0000 (06:49 -0700)]
libpcap: Avoid libpcap build error when libnl1 is involved

Add --with-libnl autoconfig parameter and dependency between libpcap and libnl1

(From OE-Core rev: 10d9c5858d0e63879df49c8d8572c04085349f42)

Signed-off-by: Hu Yadi <Yadi.hu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: use "foreign" automake strictness
Ross Burton [Tue, 15 Jul 2014 16:18:36 +0000 (17:18 +0100)]
ltp: use "foreign" automake strictness

ltp doesn't want GNU-levels of automake strictness so tell it to be "foreign".

(From OE-Core rev: 846bc50fde11bbb36c8eb5b2e3ae6bb644c037f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: use "foreign" automake strictness
Ross Burton [Tue, 15 Jul 2014 16:18:35 +0000 (17:18 +0100)]
oprofile: use "foreign" automake strictness

oprofile doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

(From OE-Core rev: 01943188f85ce6411717fb5bf702d609f55813f2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibmad: use "foreign" automake strictness
Ross Burton [Tue, 15 Jul 2014 16:18:34 +0000 (17:18 +0100)]
libmad: use "foreign" automake strictness

libmad doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

(From OE-Core rev: 60da074fea280d8190e7439361712dcc86177f12)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowhich: use "foreign" automake strictness
Ross Burton [Tue, 15 Jul 2014 16:18:33 +0000 (17:18 +0100)]
which: use "foreign" automake strictness

which doesn't want GNU-levels of automake strictness so tell it to be "foreign".

(From OE-Core rev: 5007bfcd6d21beb1e4da2ad1a1fe0dbd1f48a2db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibid3tag: use "foreign" automake strictness
Ross Burton [Tue, 15 Jul 2014 16:18:32 +0000 (17:18 +0100)]
libid3tag: use "foreign" automake strictness

libid3tag doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

(From OE-Core rev: e1e2069f93885d09c920b1a2453fd822578d83e1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobzip2: use "foreign" automake strictness
Ross Burton [Tue, 15 Jul 2014 16:18:31 +0000 (17:18 +0100)]
bzip2: use "foreign" automake strictness

bzip2 doesn't want GNU-levels of automake strictness so tell it to be "foreign".

(From OE-Core rev: 5b5462acd059ec195c4f39c2716c1f3acc52a188)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-omx: Use variables for CORE_NAME processing.
Drew Moseley [Wed, 9 Jul 2014 23:17:34 +0000 (19:17 -0400)]
gstreamer1.0-omx: Use variables for CORE_NAME processing.

Use the "libdir" and "sysconfdir" variables rather than
hard-coding "/usr/lib" and "/etc".

(From OE-Core rev: 1ae73bb41436bf7e97d83052fbe1541074b4a4ac)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl-rdepends: Add perl as perl-misc/${PN}-pod runtime dep
Hongxu Jia [Mon, 14 Jul 2014 09:01:42 +0000 (17:01 +0800)]
perl-rdepends: Add perl as perl-misc/${PN}-pod runtime dep

Each of the items requires perl, but had not previously stated their perl
dependency.

(From OE-Core rev: 16d4d496a3a3c2df289b9c8b340d26ab1d818335)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosetserial: add missing depends on groff-native
Yue Tao [Tue, 15 Jul 2014 01:57:50 +0000 (21:57 -0400)]
setserial: add missing depends on groff-native

[YOCTO #6526]

setserial needs groff-native to build

(From OE-Core rev: 1a1d1d89b490703ec163b82ba93f10a7d3e93270)

Signed-off-by: Jonas Zetterberg <jonas.zetterberg@windriver.com>
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml2: enable catalog support
Hongxu Jia [Wed, 9 Jul 2014 10:16:54 +0000 (18:16 +0800)]
libxml2: enable catalog support

It let the environment variable XML_CATALOG_FILES could work
which was required by xmlto.

[YOCTO #2416]

(From OE-Core rev: 1ea74a265b3c8f36e07c3cf2c26d8e60518da5a7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg.inc: add missing dep for xmlto
Hongxu Jia [Tue, 15 Jul 2014 12:13:07 +0000 (20:13 +0800)]
xserver-xorg.inc: add missing dep for xmlto

Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]
(From OE-Core rev: 9a81580cc4e8cd260d863751476534ccd380f11c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-lib-common.inc: add missing dep for xmlto
Hongxu Jia [Tue, 15 Jul 2014 12:12:07 +0000 (20:12 +0800)]
xorg-lib-common.inc: add missing dep for xmlto

Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]

(From OE-Core rev: 80259291d6a066d43de2976da80cd327d7335d33)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-proto-common.inc: add missing dep for xmlto
Hongxu Jia [Tue, 15 Jul 2014 12:10:43 +0000 (20:10 +0800)]
xorg-proto-common.inc: add missing dep for xmlto

Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]
(From OE-Core rev: 4c6a1ba0f92e7184b4dcef10c49ce4d74a0a3d00)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils-native: add missing dep for xmlto
Hongxu Jia [Tue, 15 Jul 2014 12:07:09 +0000 (20:07 +0800)]
alsa-utils-native: add missing dep for xmlto

Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native
to PACKAGECONFIG[xmlto]'s dep.

[YOCTO #2416]

(From OE-Core rev: f0ece09f7d32afa80383ed87158ec39d7c411a59)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxmlto: add version 0.0.25
Hongxu Jia [Tue, 15 Jul 2014 12:18:06 +0000 (20:18 +0800)]
xmlto: add version 0.0.25

It moved from meta-oe and fixed the defect that xmlto/xsltproc
stylesheets cannot be found even when they are installed in
sysroot.

About the config files (catalog.xml), we refered what Ubuntu
13.04 did, so it could correctly search the xsl stylesheets
and xml dtds.

Assigned the environment variable XML_CATALOG_FILES, so the
xmlto will use oe-core's config as priority to avoid the
the search from build system.

[YOCTO #2416]

(From OE-Core rev: 6eccf7940e90dd06568f7a2da36ce2d5d090aed5)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocbook-xml: add docbook-xml-dtd4
Hongxu Jia [Wed, 9 Jul 2014 10:16:56 +0000 (18:16 +0800)]
docbook-xml: add docbook-xml-dtd4

Refer debian, it shipped the latest DocBook 4.5 XML DTD, as well as
a selected set of legacy DTDs for use with older documents, including
4.0, 4.1.2, 4.2, 4.3 and 4.4.

About the config files (docbook-xml.xml and the update patch), we
refered what Ubuntu 13.04 did, so the xmlto could correctly search
among multible DTDs.

[YOCTO #2416]

(From OE-Core rev: 03bc6717482c07dde69edf96d1044d3c0016dbf6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocbook-xml: add docbook-xsl-stylesheets 1.78.1
Hongxu Jia [Wed, 9 Jul 2014 10:16:55 +0000 (18:16 +0800)]
docbook-xml: add docbook-xsl-stylesheets 1.78.1

About the config files (docbook-xsl.xml), we refered what Ubuntu 13.04 did,
so the xmlto could correctly search the xsl stylesheets.

[YOCTO #2416]

(From OE-Core rev: f5554492c80c69ba9b34dbf206a7c748ab8f1fb6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/test-remote-image: add --skip-download option
Corneliu Stoicescu [Fri, 11 Jul 2014 16:02:46 +0000 (19:02 +0300)]
scripts/test-remote-image: add --skip-download option

Adding the possibility to skip the download phase completely.
This is useful for repeating runs with the same image types and similar configurations.

(From OE-Core rev: 3cc3f8a069b3d6d895afa6f192b36443b8328f40)

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 agofile: remove dump and filesystems
Robert Yang [Thu, 10 Jul 2014 10:34:51 +0000 (03:34 -0700)]
file: remove dump and filesystems

I can't find the reason from the log why we need them, and they are out
of date, so remove them, then file would use the one from its package.

(From OE-Core rev: 4c67bab18ba82a2e8446ff11482a234ec7e4cc35)

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 agofile: fix perl reported as awk
Robert Yang [Thu, 10 Jul 2014 10:31:22 +0000 (03:31 -0700)]
file: fix perl reported as awk

The awk pattern was checked *before* the Perl pattern, so the perl
script with BEGIN{...} would be reported as awk, this patch fixes it.

(From OE-Core rev: 99de944c9e9dd70e8319c3d27bb61d3c781a29f3)

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 agogit: update to v2.0.1
Nicolas Dechesne [Thu, 10 Jul 2014 17:32:04 +0000 (19:32 +0200)]
git: update to v2.0.1

Also fetch source code from kernel.org. As per the Git release announcement, see
[1], Git source tarball are now located back on kernel.org, at [2].

[1] https://lkml.org/lkml/2014/6/25/760
[2] https://www.kernel.org/pub/software/scm/git/

(From OE-Core rev: 4a7df842a0e8754329b3f7b5b25483b0d403ea4d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/insane: Show QA check name
Chong Lu [Mon, 14 Jul 2014 08:31:50 +0000 (16:31 +0800)]
classes/insane: Show QA check name

QA errors/warnings would show the name of the QA failure in the error/warning message.
The format is listed:

<message> [QA check name]

You can see which QA check you need to disable if you want to disable it.

[YOCTO #6160]

(From OE-Core rev: a5ea622a8e012d3263bc36b6239ee43a4d1fb0ee)

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 agoRemove long-deprecated "task-core" backward compat for packagegroups.
Robert P. J. Day [Mon, 14 Jul 2014 12:24:44 +0000 (08:24 -0400)]
Remove long-deprecated "task-core" backward compat for packagegroups.

(From OE-Core rev: 7472037569b42386592c060d54196f0c8b9e2d5d)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopseudo_1.6.0.bb: uprev to pseudo 1.6
Peter Seebach [Mon, 14 Jul 2014 19:12:29 +0000 (14:12 -0500)]
pseudo_1.6.0.bb: uprev to pseudo 1.6

This uprevs pseudo to 1.6. This merges in all of the existing
fixes, and also adds partial support for extended attributes,
including storing arbitrary extended attributes in the database,
and also interpreting the posix permissions ACLs as chmod
requests.

The extended attribute support means we need xattr.h, the simplest
way to be sure of this is to build attr before pseudo, which doesn't
take long.

(From OE-Core rev: b8f5d6b493ec759a97b92cf9b4c07ad8a8114de6)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix PERLPATH
Robert Yang [Mon, 14 Jul 2014 13:33:16 +0000 (06:33 -0700)]
groff: fix PERLPATH

There is no PERLPATH, but "${USRBINPATH}/env perl".

(From OE-Core rev: 103d668cece420447c12987119459ebd49c208df)

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 agoxorg-driver: use PACKAGEFUNCS instead of populate_packages_prepend
Ross Burton [Tue, 15 Jul 2014 16:40:33 +0000 (17:40 +0100)]
xorg-driver: use PACKAGEFUNCS instead of populate_packages_prepend

The dependency adding function has nothing to do with package splitting, so move
it to a PACKAGEFUNC.

(From OE-Core rev: b8766acd26676f619e28e90417f09848c2da43fa)

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>
10 years agodefault-versions: remove xf86-video-intel
Ross Burton [Tue, 15 Jul 2014 16:40:32 +0000 (17:40 +0100)]
default-versions: remove xf86-video-intel

Setting PREFERRED_VERSION to the latest version available is redundant, so
remove it.

(From OE-Core rev: c5941aa91655042d9d4df574a3e1ee33d5d3825a)

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>
10 years agoxf86-video-intel: upgrade to 2.99.912
Ross Burton [Tue, 15 Jul 2014 16:40:31 +0000 (17:40 +0100)]
xf86-video-intel: upgrade to 2.99.912

Drop a backported patch that has been applied.

Apply a patch from upstream to add enable/disable options for each DRI level, as
.912 won't build if the X server doesn't support DRI3.  Add PACKAGECONFIG
options for each DRI level and enable DRI1 and DRI2.

Add a PACKAGECONFIG option for the client tools, disabled by default as they're
only useful on machines with hybrid discrete/integrated GPUs.

(From OE-Core rev: ac029cf6a228a00956978f186aef2c0f05bb8731)

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>
10 years agowic: Error on zero-sized partitions
Tom Zanussi [Tue, 15 Jul 2014 15:33:15 +0000 (10:33 -0500)]
wic: Error on zero-sized partitions

It doesn't make sense to create zero-sized partitions so assume user
error and notify the user they should be using a non-zero --size for
partitions that don't specify a --source.

(From OE-Core rev: 3231562c3c9f8173ddcc0812001aadf0988c8892)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add kickstart reference to help system
Tom Zanussi [Fri, 11 Jul 2014 20:51:27 +0000 (15:51 -0500)]
wic: Add kickstart reference to help system

Add a 'wic kickstart' help section to make it easy for users to access
the kickstart reference without having to go to an external website.

(From OE-Core rev: 136137ec1c124aee89d2120abded60a5cf0562b0)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add wic overview to help system
Tom Zanussi [Fri, 11 Jul 2014 01:50:31 +0000 (20:50 -0500)]
wic: Add wic overview to help system

Add a general overview of wic to the help system as 'wic overview',
along with some introductory examples.

(From OE-Core rev: fa108caaa53878152e4856d32ce1ab7fe3802287)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add vfat support
Tom Zanussi [Thu, 10 Jul 2014 19:29:27 +0000 (14:29 -0500)]
wic: Add vfat support

Add vfat as a supported rootfs type (in addition to the current
ext2/3/4 and btrfs support).

vfat partitions can now be created using --source rootfs along with
--fstype=vfat, or without --source but specifying a --size.

(From OE-Core rev: d9efc110fd73822629b2a3326761f2256b9f23b0)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Error on parted non-zero error code
Tom Zanussi [Thu, 10 Jul 2014 18:25:14 +0000 (13:25 -0500)]
wic: Error on parted non-zero error code

The current code uses msger.debug() to note errors, effectively
squelching them if --debug isn't used.  Apparently this is because it
can return non-zero for some loop device failures.  We don't care
about loop devices, and not paying attention to the error code
actually results in invalid images, so error out on parted failures as
we should be.

(From OE-Core rev: b1c68e5446080f0743f7f8a530f3b00f90c8717d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: fix build - project identification
Alexandru DAMIAN [Fri, 4 Jul 2014 11:17:35 +0000 (12:17 +0100)]
bitbake: toasterui: fix build - project identification

This patches fixes the build - project identification when
running under managed mode. The build is assigned to the
project from which it was triggered, and to the
build request, as to simplify relationships queries
 in the database.

(Bitbake rev: af1d3373706d365f9138caec110fcb20a5966b7b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: new project page implementation
Alexandru DAMIAN [Mon, 30 Jun 2014 14:58:36 +0000 (15:58 +0100)]
bitbake: toaster: new project page implementation

We add the logic to create a new project. This page
also serves as user registration and silent login
for users.

Once the project is added, the main project page is displayed.

(Bitbake rev: 8855daebe55917c4f5855413d02ae1f3f7f76571)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: whitespace fix
Alexandru DAMIAN [Mon, 30 Jun 2014 10:16:15 +0000 (11:16 +0100)]
bitbake: toaster: whitespace fix

This patch is just a whitespace (end-of-line) fix.

(Bitbake rev: 5f33d1a240faa49bd8259a48eb15ef57a6b4ce55)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add automated login in new project page
Alexandru DAMIAN [Fri, 27 Jun 2014 14:09:04 +0000 (15:09 +0100)]
bitbake: toaster: add automated login in new project page

Toaster uses the Django authentication system to assign
user accounts to the projects that are being created.

In the current implementation, the user accounts are
created/authenticated automatically, on the fly, based
on the fields specified in the create new project page.

(Bitbake rev: a9062d9692525e24e59b5b2bb4dfdef90b41bf2a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add project pages
Alexandru DAMIAN [Thu, 26 Jun 2014 14:21:42 +0000 (15:21 +0100)]
bitbake: toaster: add project pages

We add the new project and project page skeletons.

In the process, we add an identifier in the settings.py
to detect whenever Toaster is running in managed mode,
and a context processor to make this value available
to the template processor.

(Bitbake rev: 927a27c68e24cfe13f62ca5f0e60878b04fa4e24)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: Show in the log that ToasterUi is ready to receive events.
Dave Lerner [Wed, 25 Jun 2014 14:40:29 +0000 (15:40 +0100)]
bitbake: toasterui: Show in the log that ToasterUi is ready to receive events.

Issue: TA53702

It was observed that a sequence in a script such as
   bitbake --server-only ..
   bitbake --observe-only ..
   bitbake <some target>
could generate events from the server to the observer before
the observer was ready to read the events, and the early events
of builds were consistently dropped.  Adding a "ready" note in the
log allows the script to scan for that message before proceeding
to building a target.

(Bitbake rev: 9949948f92bbe2717a05a380d3df63a332d39c9a)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: automatically enable applications
Alexandru DAMIAN [Wed, 25 Jun 2014 13:28:36 +0000 (14:28 +0100)]
bitbake: toaster: automatically enable applications

We automatically enable local applications in INSTALLED_APPS
based on detecting a models.py or views.py file.
This allows Toaster extensibility by adding applications,
without having to edit configuration files.

(Bitbake rev: 05b246095d161143ca2ebc126d9e70d198ab8bb8)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: automatically discover urls.py files
Alexandru DAMIAN [Wed, 25 Jun 2014 13:13:08 +0000 (14:13 +0100)]
bitbake: toaster: automatically discover urls.py files

Added code to automatically discover and add url dispatchers
to the urlpattern list. This allows extension of Toaster
through adding applications that will be automatically
registered with the URL dispatcher.

(Bitbake rev: 4000d8224206f404d174a5bc4aa49af55cb44d27)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: remove strftime calls in filters
Alexandru DAMIAN [Tue, 24 Jun 2014 12:43:45 +0000 (13:43 +0100)]
bitbake: toaster: remove strftime calls in filters

We remove the unneeded strftime calls in filters, as the
filters can deal directly with datetime types.

[YOCTO #6379]

(Bitbake rev: 149693a342fe3a56027943d3ecb8bf2e1d0d652b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane: Ensure do_package_qa happens after do_packagedata
Richard Purdie [Fri, 11 Jul 2014 22:17:40 +0000 (23:17 +0100)]
insane: Ensure do_package_qa happens after do_packagedata

We're relying on the packagedata being available for this task to work
correctly so lets ensure it is with the correct dependency.

(From OE-Core rev: fa325e44f5b429b4038022b31285af9c94672943)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/image.py: check the rootfs size against IMAGE_ROOTFS_MAXSIZE
Robert Yang [Mon, 7 Jul 2014 09:33:58 +0000 (02:33 -0700)]
lib/oe/image.py: check the rootfs size against IMAGE_ROOTFS_MAXSIZE

* Check the rootfs size against IMAGE_ROOTFS_MAXSIZE (if set)
* Add comments for IMAGE_ROOTFS_SIZE to not confuse with IMAGE_ROOTFS_MAXSIZE

[YOCTO #2610]

(From OE-Core rev: 6acd4fc8d5e642b5c6c75fcc40dd8f37caf7ddcf)

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 agooeqs/selftest: Added test case decorators for the rest of selftest testcases except...
Lucian Musat [Wed, 9 Jul 2014 08:36:47 +0000 (11:36 +0300)]
oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster

(From OE-Core rev: 3c820db4624a062644a26de1866123a10a78a006)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg.inc: add PACKAGECONFIG for xmlto
Hongxu Jia [Wed, 9 Jul 2014 02:34:17 +0000 (10:34 +0800)]
xserver-xorg.inc: add PACKAGECONFIG for xmlto

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

(From OE-Core rev: c2d8322b3e3d1c2cb1ed7ccff59c7e86ab7af751)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-lib-common.inc: add PACKAGECONFIG for xmlto
Hongxu Jia [Wed, 9 Jul 2014 02:32:05 +0000 (10:32 +0800)]
xorg-lib-common.inc: add PACKAGECONFIG for xmlto

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

(From OE-Core rev: 5d80a47de953f47cdb0cc8d394bf200758fa9624)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-proto-common.inc: add PACKAGECONFIG for xmlto
Hongxu Jia [Wed, 9 Jul 2014 02:25:50 +0000 (10:25 +0800)]
xorg-proto-common.inc: add PACKAGECONFIG for xmlto

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

(From OE-Core rev: 95c194f3e7903d70d6bbc8df293937f34f02d06b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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 xmlto
Hongxu Jia [Wed, 9 Jul 2014 02:19:29 +0000 (10:19 +0800)]
alsa-utils: add PACKAGECONFIG for xmlto

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

(From OE-Core rev: 14f4a3e9458b967e74a4a39f6ce9a4672a6302cf)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups.inc: Delete obsolete "PROVIDES" line.
Robert P. J. Day [Tue, 8 Jul 2014 13:22:31 +0000 (09:22 -0400)]
cups.inc: Delete obsolete "PROVIDES" line.

Remove "PROVIDES =" line that refers back to CUPS version 1.4.

(From OE-Core rev: 8e7898b2cf276977cf1c527b573a7192719a8c99)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add general 'plugins' help topic
Tom Zanussi [Mon, 7 Jul 2014 21:05:44 +0000 (16:05 -0500)]
wic: Add general 'plugins' help topic

Add a category for help topics with an initial help topic discussing
source plugins.

(From OE-Core rev: a3dbe46dd28a6fd9e6c21f6bbb6a12578df9dff3)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add dummy subcommand and usage strings
Tom Zanussi [Mon, 7 Jul 2014 20:30:12 +0000 (15:30 -0500)]
wic: Add dummy subcommand and usage strings

In order to reuse the existing subcommand infrastructure to display
various general-purpose help topics, add a dummy 'help_topic'
subcommand and usage string.  This allows users to invoke general help
topics by the natural form 'wic help <topic>' even though topic
doesn't correspond to a real subcommand.

(From OE-Core rev: d03f39a99058c2393d7b50ac4909bdaa84b09920)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Print error if a partition specifies an invalid --source
Tom Zanussi [Sat, 5 Jul 2014 00:21:29 +0000 (19:21 -0500)]
wic: Print error if a partition specifies an invalid --source

If a partition specified in a .wks file specifies a nonexistent
--source, print an error to that effect and exit.  The error text also
points the user to a command listing valid sources, and help on adding
a new source plugin.

(From OE-Core rev: 4dff6945d2606cebc0ab26e877c5d8c7b457e179)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add help text for 'wic list source-plugins'
Tom Zanussi [Sat, 5 Jul 2014 00:15:27 +0000 (19:15 -0500)]
wic: Add help text for 'wic list source-plugins'

Add both short and long text for the new 'wic list source-plugins'
command.

(From OE-Core rev: 4f20acc10b18c7353bd73f253943372dacd957ca)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add command to list available source plugins
Tom Zanussi [Sat, 5 Jul 2014 00:11:49 +0000 (19:11 -0500)]
wic: Add command to list available source plugins

Add a 'wic list source-plugins' command enabling users to get a list
of valid partition --sources.  This is useful not only for determining
sources to use in .wks partition statements, but also for making sense
of errors in .wks partition processing.

(From OE-Core rev: 37db9423e7872012fabde67e8858db5b512832f6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: disable -Wno-override-init
Robert Yang [Tue, 8 Jul 2014 15:39:20 +0000 (08:39 -0700)]
rpm: disable -Wno-override-init

Fixed rpm-native.do_configure error on CentOS 5.x:
cc1: error: unrecognized command line option "-Wno-override-init"

The -Wno-override-init was commented in rpm-5.4.9, but commented out in
rpm-5.4.14 thus it is failed to build on CentOS 5.x, comment it again to fix
the problem.

(From OE-Core rev: ad4a54a0f5bb667f5d5e3df2bcf841b05e0d0f2c)

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 agolibnss-mdns: replace hardcoded /etc with ${sysconfdir}
Koen Kooi [Tue, 8 Jul 2014 14:35:27 +0000 (16:35 +0200)]
libnss-mdns: replace hardcoded /etc with ${sysconfdir}

(From OE-Core rev: fd408c49fffbc63dc79954420a5cfa46809bd5ca)

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 agolibnss-mdns: support ipv6 in lookups
Koen Kooi [Tue, 8 Jul 2014 14:35:26 +0000 (16:35 +0200)]
libnss-mdns: support ipv6 in lookups

It nothing can resolve the hostname as ipv4 it will also try ipv6.
Ideally the mdns4_minimal should get replaced as well, but there's some
handwaving on the internet stating it will slow things down if your ipv6
network is misconfigured.
Since I can't verify that slowdown I've opted for the safe way and only
do ipv6 lookup in the fallback entry.

(From OE-Core rev: fdb5aaabea9e32d687c055ca25506dcffbb37867)

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 agolibpcap: fix depends on libnl
Robert Yang [Tue, 8 Jul 2014 04:40:06 +0000 (21:40 -0700)]
libpcap: fix depends on libnl

Fixed:
* libnl1 -> libnl
* Remove libnl from DEPENDS since we are using PACKAGECONFIG, the
  libnl in the DEPENDS didn't affect libpcap since the --without-libnl
  took effect before this patch, so it is safe to remove it.

(From OE-Core rev: f8abe9fe6e3c371d07711378c0fbfb4fad7eed81)

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 agoMove boot media to /media/realroot for easy access after boot.
Brian Lloyd [Sat, 28 Jun 2014 15:48:24 +0000 (10:48 -0500)]
Move boot media to /media/realroot for easy access after boot.

There are cases where software after boot may need to know the
current boot disk.  Under the current system, it is not guaranteed
which disk is the boot.  While /media/sda is a good guess, it
isn't always right, nor is it a good assumption that only one boot
disk is in the system.  This gives a standard path to the original
boot disk mount which can be used to, for instance, update the
syslinux file on the boot media with a newer kernel, or updating
the boot parameters to add user options for future boots.  Knowing
which disk is the boot media keeps from updating the non-boot
disk when for instance multiple syslinux boot medias are plugged in
(ie ensure correct syslinux is updated when the booted system is
updated).

(From OE-Core rev: 2be3b2607fd164d18498299dbfc020ff17dd2ca9)

Signed-off-by: Brian Lloyd <blloyd@familyhonor.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>