scm/bb/tizen-distro.git
10 years agolibfm: allow build with automake-1.14
Marko Lindqvist [Fri, 25 Oct 2013 07:39:24 +0000 (10:39 +0300)]
libfm: allow build with automake-1.14

Do not consider automake warnings about future incompatibility
errors.

(From OE-Core rev: f7281ebf1fd593805f2cc10828ecb9723e1554d0)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibfm: upgrade to upstream version 1.1.2.2
Marko Lindqvist [Fri, 25 Oct 2013 07:39:23 +0000 (10:39 +0300)]
libfm: upgrade to upstream version 1.1.2.2

(From OE-Core rev: 47f803a9cc6a7b43f10775172e6bc89632af322e)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcheck: allow build with automake-1.14
Marko Lindqvist [Fri, 25 Oct 2013 07:39:22 +0000 (10:39 +0300)]
libcheck: allow build with automake-1.14

Do not consider automake warnings about future incompatibility
errors.

(From OE-Core rev: c7ead34c51e77067cb5dd95cf0aa1bc35567a0f3)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxcb: fix build with automake-1.14
Marko Lindqvist [Fri, 25 Oct 2013 07:39:21 +0000 (10:39 +0300)]
libxcb: fix build with automake-1.14

(From OE-Core rev: f8c9a88082f5acf7835647a98a394d5a44fc556f)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: Stop rpc.statd correctly
Qiang Chen [Tue, 22 Oct 2013 03:03:59 +0000 (11:03 +0800)]
nfs-utils: Stop rpc.statd correctly

An incorrect process name in the nfsserver initscript prevented
rpc.statd from being shut down.

root@qemux86-64:~# /etc/init.d/nfsserver start
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done

root@qemux86-64:~# ps | grep rpc.statd
  650 root     10532 S    /usr/sbin/rpc.statd
  654 root      4720 S    grep rpc.statd

root@qemux86-64:~# /etc/init.d/nfsserver stop
stopping statd: done
stopping mountd: done
stopping nfsd: done

root@qemux86-64:~# ps | grep rpc.statd
  650 root     10532 S    /usr/sbin/rpc.statd
  662 root      4720 S    grep rpc.statd

As this daemon drops a pid file,simply use that instead.
Also add some initialization checks so the daemons are not
left partially started in the absence of kernel nfsd support.

(From OE-Core rev: 37e70a28e9cfc773bd70f09d7129295ce891ae18)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64
Wenzong Fan [Sat, 26 Oct 2013 07:53:16 +0000 (03:53 -0400)]
perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64

As the same reason to powerpc64, mips64 also need the flag.

(From OE-Core rev: d6f3cb0d71c3b6739365f085b6d5a5e20f329fa5)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscreen: dynamically add or remove a entry to/from /etc/shells
Ming Liu [Tue, 22 Oct 2013 03:12:01 +0000 (11:12 +0800)]
screen: dynamically add or remove a entry to/from /etc/shells

1 Add base-files to RDEPENDS.
2 Add pkg_postinst and pkg_postrm to add and remove a entry in
/etc/shells.

(From OE-Core rev: 95618d6d5c4f8e5f0aec632d35e02ad5a33a1f75)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobash: dynamically add or remove a entry to/from /etc/shells
Ming Liu [Tue, 22 Oct 2013 03:12:00 +0000 (11:12 +0800)]
bash: dynamically add or remove a entry to/from /etc/shells

1 Add base-files to RDEPENDS.
2 Use ${base_bindir} in regex to match bash path.
3 Add pkg_postrm to remove the entry from /etc/shells that added by
pkg_postinst.

(From OE-Core rev: c3f93357e2d3ece910ff0e2d18eba3fb94fb5c3c)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-files: remove invalid entries from /etc/shells
Ming Liu [Tue, 22 Oct 2013 03:11:59 +0000 (11:11 +0800)]
base-files: remove invalid entries from /etc/shells

It's more reasonable and secure to keep /etc/shells a minimal file, and
then entries for valid shells be added dynamically to the system, only if
the packages that provide them are supported.

(From OE-Core rev: a1d6b55bfa5daa9ba5fa9a7a99dd8872284b6ad8)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorelocate_sdk.py: Allow script to work with Python 2.4 and 3.
Konrad Scherer [Thu, 17 Oct 2013 14:17:20 +0000 (10:17 -0400)]
relocate_sdk.py: Allow script to work with Python 2.4 and 3.

Python 2.4 does not support the 'b' string literal or the
keyword 'as' in exception handling. Python 3 does not accept
the old method of exception handling and defaults to unicode.
The b() function converts strings to bytes on Python 3 and
using sys.exc_info() avoids the exception handling syntax.

(From OE-Core rev: 1e2ec5f576f167673d7980737826987fefdc74a9)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: Add nativesdk to BBCLASSEXTEND
David Nyström [Fri, 18 Oct 2013 10:27:26 +0000 (12:27 +0200)]
rpm: Add nativesdk to BBCLASSEXTEND

Modified FILES-paths since nativesdk can't handle hardcoded paths,
Also added *.real binaries to packaging since this is not done when built
as native.

As far as /var having to be hardcoded, I have a hard time seeing someone
modifying bitbake.conf to place localstatedir somewhere else than /var.

If there exists a target/nativesdk portable way of hardcoding FILES,
please let me know, and we'll do it that way.

Cleanup of FEATURES, since it was the same for native & target.

(From OE-Core rev: 39383e9bf1aa5e29d33d8af7f8e690d2238fd14f)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-extract-sdk: add --numeric-owner option to tar command
Chen Qi [Mon, 21 Oct 2013 02:42:29 +0000 (10:42 +0800)]
runqemu-extract-sdk: add --numeric-owner option to tar command

If the same username exists on both target and the build host, but
the uids differ, and we start target via NFS, then the uid for the
user will be incorrect on target.

For example, if postfix's uid on host is 119 and on target is 1024,
then if we start target via NFS, the uid for postfix will be 119.

The root cause is that when we use runqemu-extract-sdk to generate
the NFS rootfs for later use, the tar command will respect the username
instead of uid. So if PSEUDO_PASSWD environment is not set correctly,
the host /etc/passwd will be used, resulting in wrong uids.

The situation for gid is completely analogous to that of uid.

It's almost impossible for the runqemu-extract-sdk to guess the correct
location of the needed password file merely based on the target tarball
name.

This patch solves this problem by adding the '--numeric-owner' option
to the tar command so that the uid/gid will be used when extracting the
tarball using runqemu-extract-sdk. In this situation, we'll always get
the correct uid/gid after extracting the tarball.

[YOCTO #5364]

(From OE-Core rev: acce6ff1a77cfd29e3868faa89b120becb58bbbf)

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 agogdk-pixbuf: use PACKAGECONFIG to control legacy X11 sub-library
Ross Burton [Mon, 21 Oct 2013 09:28:49 +0000 (10:28 +0100)]
gdk-pixbuf: use PACKAGECONFIG to control legacy X11 sub-library

Instead of appending and using overrides, turn gdk-pixbuf-xlib into a
PACKAGECONFIG option and enable it for LSB-builds only.

(From OE-Core rev: d75b659ca22991662c78e4e7913f75675acf7e66)

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 agonss: don't need set SRC_URI with both += and _append
Ming Liu [Sun, 20 Oct 2013 10:48:32 +0000 (18:48 +0800)]
nss: don't need set SRC_URI with both += and _append

(From OE-Core rev: b1252f91ef62ce62d4d55269f498b5692aba76e8)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: fix dependency
Roy Li [Mon, 21 Oct 2013 06:30:37 +0000 (14:30 +0800)]
mesa: fix dependency

libudev is asked by enable-gbm, not enable_dri, and enable-gbm always is yes;

We can find the dependency from configure.ac codes:
if test "x$enable_gbm" = xyes; then
    SRC_DIRS="$SRC_DIRS gbm"

    PKG_CHECK_MODULES([LIBUDEV], [libudev], [],
                      AC_MSG_ERROR([gbm needs udev]))

    if test "x$enable_dri" = xyes; then
        GBM_BACKEND_DIRS="$GBM_BACKEND_DIRS dri"
        if test "x$enable_shared_glapi" = xno; then
            AC_MSG_ERROR([gbm_dri requires --enable-shared-glapi])
        fi
    fi
fi

(From OE-Core rev: 981f7e5b088ecd813e43291d72f8995f17dbea8e)

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 agokernel-grub.bbclass: add a method to install/update for bzImage
Hongxu Jia [Fri, 18 Oct 2013 02:45:35 +0000 (10:45 +0800)]
kernel-grub.bbclass: add a method to install/update for bzImage

While installing a rpm to update kernel on a deployed target, it will update
the boot area and the boot menu with the kernel as the priority but allow
you to fall back to the original kernel as well.

- In kernel-image's preinstall scriptlet, it backs up original kernel to avoid
  probable confliction with the new one.
- In kernel-image's postinstall scriptlet, it modify grub's config file to
  updates the new kernel as the boot priority.

[YOCTO #4104]

(From OE-Core rev: 8d872e7712a62fa4313a1114a92907c29beffa2e)

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 agolibarchive: replace += with _append for appending to OVERRIDES variables
Ming Liu [Sun, 20 Oct 2013 10:48:29 +0000 (18:48 +0800)]
libarchive: replace += with _append for appending to OVERRIDES variables

In some cases, it's unfit to use "+=" in a conditional appending, we would
end up with the variable being set rather than being appended, which is not
it mean to.

(From OE-Core rev: 15ba35aebd7550e53e9f2f35de6b709937dbb55c)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types.bbclass: fix endiannes for sumtool (jffs2 summary)
Andrea Adami [Sun, 20 Oct 2013 22:34:20 +0000 (00:34 +0200)]
image_types.bbclass: fix endiannes for sumtool (jffs2 summary)

For mkfs.jffs2 endianness can be be expressed in the long or short form
with the optional size argument:

 --little-endian
 -l

Strangely the sumtool has a different syntax and does accept the forms:

 --littleendian
 -l

Prefer the short form valid for both tools.

(From OE-Core rev: be566b6f77423f7f676bc6b0511966651d687871)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types.bbclass: do not force --no-cleanmarkers for jffs2
Andrea Adami [Sun, 20 Oct 2013 22:34:19 +0000 (00:34 +0200)]
image_types.bbclass: do not force --no-cleanmarkers for jffs2

(From OE-Core rev: b3249f238d669f5f2422207f9c4414b64e24eb73)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodropbear: update to 2013.60 version
Maxin B. John [Mon, 21 Oct 2013 15:36:42 +0000 (17:36 +0200)]
dropbear: update to 2013.60 version

update to latest version 2013.60
Update 0006-dropbear-configuration-file.patch for 2013.60

(From OE-Core rev: 76e8b841d19789fe54ef650d6e8b42950fd27ceb)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobzip2: replace += with _append for appending to OVERRIDES variables
Ming Liu [Sun, 20 Oct 2013 10:48:30 +0000 (18:48 +0800)]
bzip2: replace += with _append for appending to OVERRIDES variables

In some cases, it's unfit to use "+=" in a conditional appending, we would
end up with the variable being set rather than being appended, which is not
it mean to.

(From OE-Core rev: 9e9b5cbc352e1f8dce46458926b38a5aefc18fc3)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocheck: Remove duplicate recipe of libcheck
Saul Wold [Mon, 21 Oct 2013 16:49:20 +0000 (09:49 -0700)]
check: Remove duplicate recipe of libcheck

(From OE-Core rev: 0288dbcae1e9793e7d7491cca45301f68fb23806)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Use libcheck instead of check
Saul Wold [Mon, 21 Oct 2013 16:48:56 +0000 (09:48 -0700)]
kbd: Use libcheck instead of check

(From OE-Core rev: 8ed44adc5ad4f54acc985f1f76af554d8ddf1a44)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcheck: Add native support for kbd-native
Saul Wold [Mon, 21 Oct 2013 17:45:53 +0000 (10:45 -0700)]
libcheck: Add native support for kbd-native

(From OE-Core rev: a927a6c21770dd4c265cc4960e545edd9d3262cf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: switch ARM builds from linux-elf-arm to linux-armv4 config
Koen Kooi [Wed, 16 Oct 2013 07:25:55 +0000 (09:25 +0200)]
openssl: switch ARM builds from linux-elf-arm to linux-armv4 config

This enables aes and sha1 assembly at buildtime. Openssl does a
runtime check to see which portion gets enabled.

'./Configure TABLE' gives the following:

*** linux-elf-arm
$cc           =
$cflags       = -DL_ENDIAN      -DTERMIO  -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
$unistd       =
$thread_cflag = -D_REENTRANT
$sys_id       =
$lflags       = -ldl
$bn_ops       = BN_LLONG DES_RISC1
$cpuid_obj    =
$bn_obj       =
$des_obj      =
$aes_obj      =
$bf_obj       =
$md5_obj      =
$sha1_obj     =
$cast_obj     =
$rc4_obj      =
$rmd160_obj   =
$rc5_obj      =
$wp_obj       =
$cmll_obj     =
$modes_obj    =
$engines_obj  =
$perlasm_scheme = void
$dso_scheme   = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
$shared_ldflag =
$shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
$ranlib       =
$arflags      =
$multilib     =

*** linux-armv4
$cc           = gcc
$cflags       = -DTERMIO -O3 -Wall
$unistd       =
$thread_cflag = -D_REENTRANT
$sys_id       =
$lflags       = -ldl
$bn_ops       = BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR
$cpuid_obj    = armcap.o armv4cpuid.o
$bn_obj       = bn_asm.o armv4-mont.o armv4-gf2m.o
$des_obj      =
$aes_obj      = aes_cbc.o aes-armv4.o bsaes-armv7.o
$bf_obj       =
$md5_obj      =
$sha1_obj     = sha1-armv4-large.o sha256-armv4.o sha512-armv4.o
$cast_obj     =
$rc4_obj      =
$rmd160_obj   =
$rc5_obj      =
$wp_obj       =
$cmll_obj     =
$modes_obj    = ghash-armv4.o
$engines_obj  =
$perlasm_scheme = void
$dso_scheme   = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
$shared_ldflag =
$shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
$ranlib       =
$arflags      =
$multilib     =

Build tested on armv7a/angstrom and armv8/distroless, runtime tested on armv7a/angstrom.

'openssl speed' results:

Algo    blocksize       ops/s after
                ops/s before    difference
-------------------------------------------
MD5 16 308,766 264,664 -14.28%
64 277,090 263,340 -4.96%
256 212,652 197,043 -7.34%
1024 103,604 100,157 -3.33%
8192 17,936 17,796 -0.78%
sha1 16 290,011 385,098 32.79%
64 234,939 302,788 28.88%
256 144,831 177,028 22.23%
1024 57,043 67,374 18.11%
8192 8,586 9,932 15.68%
sha256 16 290,443 605,747 108.56%
64 178,010 370,598 108.19%
256 82,107 168,770 105.55%
1024 26,064 53,068 103.61%
8192 3,550 7,211 103.10%
sha512 16 59,618 259,354 335.03%
64 59,616 258,265 333.22%
256 21,727 98,057 351.31%
1024 7,449 34,304 360.49%
8192 1,047 4,842 362.63%
des cbc 16 964,682 1,124,459 16.56%
64 260,188 298,910 14.88%
256 65,945 76,273 15.66%
1024 16,570 19,110 15.33%
8192 2,082 2,398 15.17%
des ede3 16 370,442 429,906 16.05%
64 95,429 110,147 15.42%
256 23,928 27,808 16.21%
1024 5,993 6,960 16.13%
8192 752 868 15.36%
aes128 16 1,712,050 2,301,100 34.41%
64 466,491 651,155 39.59%
256 120,181 168,953 40.58%
1024 30,177 42,792 41.80%
8192 3,791 5,361 41.41%
aes192 16 1,472,560 1,964,900 33.43%
64 400,087 544,971 36.21%
256 103,245 141,062 36.63%
1024 25,902 35,389 36.63%
8192 3,256 4,451 36.67%
eas256 16 1,330,524 1,772,143 33.19%
64 355,025 486,221 36.95%
256 90,663 125,281 38.18%
1024 22,725 31,484 38.54%
8192 2,837 3,952 39.31%
rsa 2048bit 15 25 69.94%
public 547 832 52.00%
dsa 2048bit 55 86 54.26%
verify 47 73 53.33%

(From OE-Core rev: 8f29346a755d0a7690be9374cce6c88076541a3f)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: use linux-generic64 target for Aarch64 (LE and BE)
Fathi Boudra [Thu, 17 Oct 2013 16:57:10 +0000 (19:57 +0300)]
openssl: use linux-generic64 target for Aarch64 (LE and BE)

Update configure-targets.patch:
 - drop linux-aarch64 configuration
Update do_configure():
 - add linux-aarch64* case to cover linux-aarch64 and linux-aarch64_be
 - use linux-generic64 target in above case
Backport initial-aarch64-bits.patch:
 - first order optimizations for Aarch64

(From OE-Core rev: 3252110ee5c8272a1f09563f2a794cac545e29d5)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-gl: use base_set_filespath
Andreas Oberritter [Thu, 17 Oct 2013 11:31:26 +0000 (13:31 +0200)]
mesa-gl: use base_set_filespath

- Fixes FILESEXTRAPATHS being ignored in mesa-gl bbappend.

(From OE-Core rev: 48d042f27405dac06ebe406eaee13823c8e643cb)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: make runtime variables depend on PACKAGECONFIG
Andreas Oberritter [Thu, 17 Oct 2013 11:31:25 +0000 (13:31 +0200)]
mesa: make runtime variables depend on PACKAGECONFIG

- This solves a conflict between mesa-gl and a custom library,
  both providing a libgles2 package, although being disabled
  in mesa-gl.

(From OE-Core rev: c9148c89532f0989771e4846259f1f10a924bc68)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter: remove usage of FILESPATH
Petter Mabäcker [Thu, 17 Oct 2013 14:58:49 +0000 (16:58 +0200)]
clutter: remove usage of FILESPATH

Usage of FILESPATH is discouraged, since it can make recipes harder to
bbappend. Instead FILESEXTRAPATHS should be used to extend the path.
However in clutter the default paths solves the problem if we
put all patches in ${BP} directory instead.

(From OE-Core rev: cc41cb61707da1b4ae029de70c922802067166c2)

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory-diff: add ability to report version changes
Paul Eggleton [Thu, 17 Oct 2013 13:15:15 +0000 (14:15 +0100)]
buildhistory-diff: add ability to report version changes

Add a -v/--report-ver option to report changes in PKGE/PKGV/PKGR even
if the value is the same as the default from PE/PV/PR.

Also add a -a/--report-all option to report all changes instead of just
the default significant ones.

Addresses [YOCTO #5263].

(From OE-Core rev: b7de1eaac9eed559b2d68058f5de67de74a6cb58)

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>
10 years agopackagegroup-base: if zeroconf DISTRO_FEATURE enabled, add libnss-mdns
Ross Burton [Wed, 16 Oct 2013 13:07:59 +0000 (14:07 +0100)]
packagegroup-base: if zeroconf DISTRO_FEATURE enabled, add libnss-mdns

mDNS name resolution is a key part of mDNS, so if the DISTRO_FEATURE is enabled
then install libnss-mdns.

(From OE-Core rev: ef2ee68778be8e5336cd33ab6551bce1d56047b6)

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 agonspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning
Sujith H [Wed, 16 Oct 2013 05:46:35 +0000 (11:16 +0530)]
nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/formattm'
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/threads'
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/semaerr'
There are many QA Warnings thrown like the above for this recipe. This is observed for target imx6 sabrelite.

(From OE-Core rev: 98d9af299c6e110c7560f282f37f1f85c155213d)

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agominicom: fix -v/-h return value
Lu Chong [Wed, 16 Oct 2013 07:02:13 +0000 (15:02 +0800)]
minicom: fix -v/-h return value

The previous return value for '-h' and '-v' options was 1 which was
not correct. These two options should return 0 instead.

(From OE-Core rev: 88701b8c8b73202a738447ea8a1c169a0efdc7ed)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdb: upgrade to 7.6.1
Laurentiu Palcu [Wed, 16 Oct 2013 14:05:36 +0000 (17:05 +0300)]
gdb: upgrade to 7.6.1

(From OE-Core rev: d7014db37a62bad02a424e6d5f052abbd3c4d2ca)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: upgrade to 3.3
Laurentiu Palcu [Wed, 16 Oct 2013 13:40:03 +0000 (16:40 +0300)]
mdadm: upgrade to 3.3

Refreshed mdadm-3.2.2_fix_for_x32.patch to apply correctly.

(From OE-Core rev: dd125fc30042524079e32027f8be0784f140e379)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcl: upgrade to 8.6.1
Laurentiu Palcu [Wed, 16 Oct 2013 12:41:00 +0000 (15:41 +0300)]
tcl: upgrade to 8.6.1

Following patches were removed/refreshed:
 * let-DST-include-year-2099.patch - removed, fixed upstream
 * tcl-add-soname.patch - refreshed

(From OE-Core rev: 0d8ff52a4c2e31c28ef9b50a4c3a380cf263992b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotar: upgrade to 1.27
Laurentiu Palcu [Wed, 16 Oct 2013 12:36:59 +0000 (15:36 +0300)]
tar: upgrade to 1.27

Refreshed remove-gets.patch to apply correctly.

(From OE-Core rev: 8ba336d0fb86ec8eff65d39ef1db2ca8950f158f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agom4: upgrade to 1.4.17
Laurentiu Palcu [Wed, 16 Oct 2013 11:59:35 +0000 (14:59 +0300)]
m4: upgrade to 1.4.17

Refreshed remove-gets.patch to apply correctly and changed license
checksum since some years were added to the license file.

(From OE-Core rev: b7505d7c279888bd1675c1a8387edcf87cae8aac)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxinit: upgrade to 1.3.3
Laurentiu Palcu [Wed, 16 Oct 2013 09:47:42 +0000 (12:47 +0300)]
xinit: upgrade to 1.3.3

License file changed: Apple added their own header.

(From OE-Core rev: 093ef5a02d4241da3353a8257f99b3cc0f6e7f56)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-setuptools: upgrade to 1.1.6
Laurentiu Palcu [Wed, 16 Oct 2013 09:26:47 +0000 (12:26 +0300)]
python-setuptools: upgrade to 1.1.6

The license line moved to another line.

(From OE-Core rev: 8712d24a6f3d687786eca770b7072bbc38ff88aa)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxmodmap: upgrade to 1.0.8
Laurentiu Palcu [Wed, 16 Oct 2013 09:21:21 +0000 (12:21 +0300)]
xmodmap: upgrade to 1.0.8

License file changed slightly with some years changes.

(From OE-Core rev: c20e88818fe96a452b0ce5d7698cbe7edd05fc70)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase.bbclass: fix nondeterministic PACKAGECONFIG processing order
Christopher Larson [Wed, 23 Oct 2013 20:47:27 +0000 (13:47 -0700)]
base.bbclass: fix nondeterministic PACKAGECONFIG processing order

The PACKAGECONFIG flags were iterated over using dict.items(), but this
returns the items in an undefined order. As this order determines the
EXTRA_OECONF append order, we can get EXTRA_OECONF which are functionally
equivalent, but whose contents differ, resulting in not using shared state
archives we should be using.

(From OE-Core rev: 843a5dd8f8f0461e286d9fdb3ba55205b4275f88)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomidori: exclude from self-hosted for mips64
Jackie Huang [Tue, 22 Oct 2013 06:04:05 +0000 (14:04 +0800)]
midori: exclude from self-hosted for mips64

midori depends on webkit-gtk which could not build for mips64.

[YOCTO #5141]

(From OE-Core rev: abadeb934d4f41288c4fde6a4e5df2b124326326)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitramfs-framework: fix test that filter backup module files
Michaël Burtin [Tue, 22 Oct 2013 09:45:17 +0000 (11:45 +0200)]
initramfs-framework: fix test that filter backup module files

Test that filter backup module files (files starting with ~)
was accidentally reversed in e6039e6e3b98d6ab91252a5012d76279b1fac6e8,
this patch restore initial behavior.

(From OE-Core rev: b2eb846ee12989add7a7ca8bbf45f293a3a7e56d)

Signed-off-by: Michaël Burtin <michael.burtin@innotis.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Update and generalize pseudo setup for rootfs generation
Tom Zanussi [Tue, 22 Oct 2013 14:24:05 +0000 (09:24 -0500)]
wic: Update and generalize pseudo setup for rootfs generation

Remove unnecessary pseudo exports i.e. PSEUDO_DISABLED and move the
setup to the top-level prepare_rootfs().

(From OE-Core rev: 4bf11cd7d7301da664c098c8a0ae9c0294a6f423)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Make find_binary_path() more user-friendly
Tom Zanussi [Tue, 22 Oct 2013 14:24:04 +0000 (09:24 -0500)]
wic: Make find_binary_path() more user-friendly

find_binary_path() is useful, but if the binary isn't found, it prints
a stacktrace and a less-than-useful message.  Users complain when they
get stacktraces for things they can act on, so remove the stacktrace
and tell the user what the problem is.

(From OE-Core rev: 0d9eef0eaa267500e8eedab8b72ddf24eb0516db)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove binary dependencies
Tom Zanussi [Tue, 22 Oct 2013 14:24:03 +0000 (09:24 -0500)]
wic: Remove binary dependencies

Current functionality doesn't make use of kpartx, mount, or unmount,
and we use native mkswap, so remove the binary checks for those.

(From OE-Core rev: 76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove rpmmisc call from livecd
Tom Zanussi [Tue, 22 Oct 2013 14:24:02 +0000 (09:24 -0500)]
wic: Remove rpmmisc call from livecd

We don't currently use LiveCDImageCreator, but it makes calls when
initialized via the plugin interface to rpmmisc module functions,
which we don't want the dependency on.

To make it (and LiveUSBImageCreator) happy, we give it the dummy
"i386" value for now.

(From OE-Core rev: e10ae516cfc10900ed12e84c743e3a7127372135)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove rpm and grabber dependencies from BaseImageCreator
Tom Zanussi [Tue, 22 Oct 2013 14:24:01 +0000 (09:24 -0500)]
wic: Remove rpm and grabber dependencies from BaseImageCreator

BaseImageCreator is a base class for DirectImageCreator and others,
and imports rpm and grabber (which imports rpm).

The various plugins e.g. DirectPlugin import the creators and
therefore these dependencies, which manifest at run-time as e.g.:

  Warning: Failed to load plugin imager/direct_plugin: No module named
    rpm

(From OE-Core rev: a1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: remove rpm warning code from BackendPlugin
Tom Zanussi [Tue, 22 Oct 2013 14:24:00 +0000 (09:24 -0500)]
wic: remove rpm warning code from BackendPlugin

We don't currently use rpm functionality, so we don't need to silence
rpm warnings.

(From OE-Core rev: dd3cc03d4fa3347f8ef2db23d8ff98bdbdb73baa)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove dependency on myurlgrab module
Tom Zanussi [Tue, 22 Oct 2013 14:23:59 +0000 (09:23 -0500)]
wic: Remove dependency on myurlgrab module

mylrlgrab is in grabber, which imports rpm.  For current
functionality, we don't need to grab urls or import rpm, so remove the
dependency.

(From OE-Core rev: 429ecc2afa499df35a1ae9da6f92b88c6f2d8d11)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove dependency on rpmmisc
Tom Zanussi [Tue, 22 Oct 2013 14:23:58 +0000 (09:23 -0500)]
wic: Remove dependency on rpmmisc

rpmmisc imports rpm and contains misc rpm utilities related to
packaging and determining arches based on the packaging.  We should
never run across this in the initial version of wic, so remove the
dependency.

(From OE-Core rev: 2d59b6eeb418cf23eef3e32b43354b4ab16a40b9)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: eliminate module checks
Tom Zanussi [Tue, 22 Oct 2013 14:23:57 +0000 (09:23 -0500)]
wic: eliminate module checks

We're removing all external dependencies including rpm and urlgrabber,
so we don't need this check.

(From OE-Core rev: 429c0d72b9b8bfed34832e283be92996e074b9ac)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove dependency on rt_util module
Tom Zanussi [Tue, 22 Oct 2013 14:23:56 +0000 (09:23 -0500)]
wic: Remove dependency on rt_util module

rt_util contains bootstrap_mic(), which imports rpm and other things
we don't need because we don't do bootstrap i.e. runtime (set in
wic.conf) is always set to 'native', which means use what's on the
local host.

bootstrap mode is for downloading and installing rpms that wic needs,
which we may want to implement later; for now, we just want to use
what's local.

(From OE-Core rev: 3103f0cb908eced7b751128c2bba898d12017c80)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: MinnowBoard support
Bruce Ashfield [Thu, 17 Oct 2013 04:23:29 +0000 (00:23 -0400)]
linux-yocto/3.10: MinnowBoard support

Updating the 3.10 SRCREVs to update minnowboard support via the following changes:

   3F6C824 pch_gbe: Add MinnowBoard support
   9f52743 pch_gbe: Use PCH_GBE_PHY_REGS_LEN instead of 32
   ec7b5e6 pch_gbe: use managed functions pcim_* and devm_*
   fd8bf50 pch_gbe: convert pr_* to netdev_*
   9b278e9 serial: pch_uart: fix compilation warning
   8982d79 serial: pch_uart: Fix signed-ness and casting of uartclk related fields
   cdbf456 serial: pch_uart: Remove __initdata annotation from dmi_table
   9e7c25e pch_uart: Use DMI interface for board detection

(From OE-Core rev: 6c7115a56c3d0bf3d6d0275bd2d49d8cfef5c028)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: add pseudo to the populate-extfs step
Tom Zanussi [Wed, 16 Oct 2013 20:25:41 +0000 (15:25 -0500)]
wic: add pseudo to the populate-extfs step

Without this, files in the generated filesystem pick up the wrong
ownership.

(From OE-Core rev: 24a6b1324965080fef6c363edcb37768090eebea)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: monitordisk: lower inode check warning to note
Olof Johansson [Fri, 18 Oct 2013 10:21:59 +0000 (12:21 +0200)]
bitbake: monitordisk: lower inode check warning to note

Filesystems like btrfs and reiserfs sets the inode count to 0, since
they don't have an inode concept. This is expected, and having a warning
show up every time you run bitbake can cause undue concern.

(Bitbake rev: f3ac2d3678f48c68a250a0a20c08cf8687322d38)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofile: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:44 +0000 (15:59 +0200)]
file: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 3bece660c0d41feb40c44d3b62a10ffaa331ddb9)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoossp-uuid: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:43 +0000 (15:59 +0200)]
ossp-uuid: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 457ab573dd017d3dcc9470f6d7f5f32702cb2e2c)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosmartpm: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:42 +0000 (15:59 +0200)]
smartpm: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 5084e8168fcc37878d39bf1f5562aede44c00b3e)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpmresolve: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:41 +0000 (15:59 +0200)]
rpmresolve: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 068cfd27ff1bf31b110b68fee947624026b69a90)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacl: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:40 +0000 (15:59 +0200)]
acl: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: f534e0aa19b285fb69ac805a77d8852d4d06eb3c)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoattr: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:39 +0000 (15:59 +0200)]
attr: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 6f527443e57bd5f565975888ada014b68365207e)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicu: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:37 +0000 (15:59 +0200)]
icu: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 8d2073e796ab4e575854c7106ebbfa9a00fe2137)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopt: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:36 +0000 (15:59 +0200)]
popt: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: df41395acfbbfa17223e67706d7b661b57cf6eac)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobeecrypt: Add nativesdk in BBCLASSEXTEND
David Nyström [Thu, 17 Oct 2013 13:59:38 +0000 (15:59 +0200)]
beecrypt: Add nativesdk in BBCLASSEXTEND

(From OE-Core rev: 2efc7b8213be8bc7014abec6b8e1322f9f1abc3c)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: fix sshd status command error prompt
Qiang Chen [Fri, 18 Oct 2013 08:50:20 +0000 (16:50 +0800)]
openssh: fix sshd status command error prompt

sshd status command results in error prompt:

root@qemu0:~# /etc/init.d/sshd status
/usr/sbin/sshd (pid 1199) is running...
/etc/init.d/sshd: line 100: return: can only `return' from a
function or sourced script

"service --status-all" command also display wrong status for sshd.

This commit fix this error prompt and make service command display
right status for sshd.

(From OE-Core rev: e7cf83ec3f39a7c41e38c6030b0d903fa7d37b2a)

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa/runtime: build kernel module on target test
Stefan Stanacar [Fri, 18 Oct 2013 07:23:44 +0000 (10:23 +0300)]
lib/oeqa/runtime: build kernel module on target test

Builds a simple Hello World module on target.
Added to the defaults for core-image-sato-sdk.

(From OE-Core rev: c61c3dee162aa1f5bf31b2a09d8b916dc1712056)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Initialize return values in find_artifacts()
Tom Zanussi [Fri, 18 Oct 2013 04:45:38 +0000 (23:45 -0500)]
wic: Initialize return values in find_artifacts()

If one of these isn't found, it won't be initialized and will throw an
UnboundLocalError.

(From OE-Core rev: ce6c3ec0e5f4822e85b8f957e9e31fa9de438c55)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Check for the existence/correctness of build artifacts
Tom Zanussi [Fri, 18 Oct 2013 04:45:37 +0000 (23:45 -0500)]
wic: Check for the existence/correctness of build artifacts

If a user uses the -e option and specifies a machine that hasn't been
built or uses the wrong .wks script for the build artifacts pointed to
by the current machine, we should point that out for obvious cases.

(From OE-Core rev: a5b9ccadc0603c70c65f74fa386995c585a951db)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-basic: libuser has a hard depenency on libpam
Saul Wold [Tue, 15 Oct 2013 22:21:11 +0000 (15:21 -0700)]
packagegroup-core-basic: libuser has a hard depenency on libpam

Since libpam is only built when DISTRO_FEATURES pam is enabled we should
not be trying to build libuser also.

(From OE-Core rev: 5b3c2aac48dd060f20a3c65f15560996c35695fd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: update local rules for new touchscreen device
Chase Maupin [Mon, 14 Oct 2013 20:20:01 +0000 (15:20 -0500)]
udev: update local rules for new touchscreen device

* While working with a new capacitive touchscreen it was found
  that the existing udev rule that creates the
  /dev/input/touchscreen0 symlink was too restrictive and did not
  match the MODALAIS entry for this touchscreen. which is:

  MODALIAS=input:b0018v0000p0000e0000-e0,1,3,k14A,ra0,1,2F,35,36,39,mlsfw

* By looking at the input_print_modalias function in the Linux
  kernel drivers/input/input.c file and referencing the meaning
  of the evbits and attributes of the input_dev structure it seems
  that for identification of a touchscreen the match with ,18
  which was matching part of the absbit structure is overkill.

* It seems that the absbit entry is used for devices like
  touchscreens and if that the the "a" is followed by 0 and 1 this
  is sufficient.

* So the logic has now been changed to check for the "e" 0 and 3
  values which correspond to EV_SYN and EV_ABS, then check for
  the "a" attribute with 0 and 1.

* More information and history for this can be found at:
    http://patchwork.openembedded.org/patch/25093/
    http://thread.gmane.org/gmane.comp.handhelds.openembedded.core

* This patch mirrors a patch done by:
    Andrea Adami <andrea.adami@gmail.com>

(From OE-Core rev: d95a9b516861594bc89c7ee8079bab2904703ad2)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoca-certificates: Clarify in Description that certs are Debian based
Saul Wold [Tue, 15 Oct 2013 19:34:16 +0000 (12:34 -0700)]
ca-certificates: Clarify in Description that certs are Debian based

(From OE-Core rev: f1d0b7fb15833b149b6999f4021e688212c1b6ce)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-passwd: upgrade to 3.5.28
Saul Wold [Sat, 31 Aug 2013 10:26:40 +0000 (13:26 +0300)]
base-passwd: upgrade to 3.5.28

Disable docs creation for now it uses po4a and sgmltools-lite which are
not currently part of OE-Core

(From OE-Core rev: 5cab5935d6924e0aca5da4b682bb83e54f20bc1d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Update to 2.0.0
Saul Wold [Mon, 7 Oct 2013 18:14:30 +0000 (11:14 -0700)]
kbd: Update to 2.0.0

Removed patch that is now included upstream, add DEPENDS on check since it
is now used to create. Additional added PACKAGECONFIG for PAM and --disbale-vlock

License checksum updated to reflect additional Copyright owners names.

(From OE-Core rev: 48621dc693b5f63419e042ab5dd21ea12ce05f67)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocheck: add check recipe for kbd to use for creating unit tests
Saul Wold [Tue, 8 Oct 2013 00:06:27 +0000 (17:06 -0700)]
check: add check recipe for kbd to use for creating unit tests

enable ptest support for check itself

(From OE-Core rev: 675b48d12325ca791797cd26fd0d1aae50003da6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocrond: remove UID check in init script
Jack Mitchell [Tue, 15 Oct 2013 09:06:14 +0000 (10:06 +0100)]
crond: remove UID check in init script

this init script fails when the default shell is busybox sh. This
is because busybox sh doesn't set the UID. No other init scripts
in oecore feel the need to check the UID so just remove the check.

(From OE-Core rev: dd6a45536043af34c05a699e468cef4845f7affd)

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-video-fbdev: upgrade to 0.4.4
Laurentiu Palcu [Mon, 14 Oct 2013 16:28:30 +0000 (19:28 +0300)]
xf86-video-fbdev: upgrade to 0.4.4

Removed the following backported patch(es):
 * Remove-mibstore.h.patch

(From OE-Core rev: 86af33b891d860798de2ad2c0dbd3c90ceab13a1)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxprop: upgrade to 1.2.2
Laurentiu Palcu [Mon, 14 Oct 2013 15:31:54 +0000 (18:31 +0300)]
xprop: upgrade to 1.2.2

(From OE-Core rev: bc98794c16c04466c2d63678f028f318a208ae51)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxinput: upgrade to 1.6.1
Laurentiu Palcu [Mon, 14 Oct 2013 15:28:15 +0000 (18:28 +0300)]
xinput: upgrade to 1.6.1

(From OE-Core rev: 7144ecd9432ce7468b1f920bf78ba0800f4e7c6c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-video-intel: upgrade to 2.21.15
Laurentiu Palcu [Mon, 14 Oct 2013 15:17:51 +0000 (18:17 +0300)]
xf86-video-intel: upgrade to 2.21.15

(From OE-Core rev: a5cf5382172f2169bbbf2ce204dcf4cc2b8d881f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxset: upgrade to 1.2.3
Laurentiu Palcu [Mon, 14 Oct 2013 12:07:13 +0000 (15:07 +0300)]
xset: upgrade to 1.2.3

(From OE-Core rev: a572cf355ca8ff59f7802eefad2a493520a734f3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibdrm: upgrade to 2.4.47
Laurentiu Palcu [Mon, 14 Oct 2013 10:56:49 +0000 (13:56 +0300)]
libdrm: upgrade to 2.4.47

(From OE-Core rev: eabacfc1d8153bb6557a99f05940815ce1fa7de5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-evdev: upgrade to 2.8.2
Laurentiu Palcu [Mon, 14 Oct 2013 07:29:49 +0000 (10:29 +0300)]
xf86-input-evdev: upgrade to 2.8.2

(From OE-Core rev: 5714bf0169d8c96a514dc56cf966009e4d53a0a1)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxauth: upgrade to 1.0.8
Laurentiu Palcu [Mon, 14 Oct 2013 07:26:45 +0000 (10:26 +0300)]
xauth: upgrade to 1.0.8

(From OE-Core rev: f3ecd2382c1f9f707d1b149dd9a7245d4d241b8e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: upgrade to 2.10.1
Laurentiu Palcu [Mon, 14 Oct 2013 07:15:42 +0000 (10:15 +0300)]
xkeyboard-config: upgrade to 2.10.1

(From OE-Core rev: 9e79741f9d34499611beaa376080c0668c9b85c2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobyacc: upgrade to 20130925
Laurentiu Palcu [Mon, 14 Oct 2013 07:14:41 +0000 (10:14 +0300)]
byacc: upgrade to 20130925

(From OE-Core rev: e41124b3c5a36304d26527864c71f9802066d25b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64
Ting Liu [Fri, 11 Oct 2013 08:11:44 +0000 (16:11 +0800)]
perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64

PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
prevents 64-bit userland from seeing this definition, instead defaulting
to u64 == long in userspace.
Perf want LL64, flag __SANE_USERSPACE_TYPES__ to get int-ll64.h.

Fix the below issue:
| tests/attr.c:71:4: error: format '%llu' expects argument of type 'long
long unsigned int', but argument 6 has type '__u64' [-Werror=format=]
| tests/attr.c:80:7: error: format '%llu' expects argument of type 'long
long unsigned int', but argument 4 has type '__u64' [-Werror=format=]
|        attr->type, attr->config, fd) < 0) {
|        ^

(From OE-Core rev: e0b56f7ed84da4f71f448548e15d5a75e8eada6e)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: insure checkroot.sh runs before anything writing to the file
Jeffrey C Honig [Sat, 12 Oct 2013 05:30:29 +0000 (13:30 +0800)]
initscripts: insure checkroot.sh runs before anything writing to the file

If bootlogd was configured to write to a log file on the root file system,
the checkroot.sh was not able to change the rootfs to read-only because
bootlogd was started earlier and had a file descriptor open.  Lowering
the order of checkroot.sh ensures that the volatile filesystem is set
up before anything writes to it.

(From OE-Core rev: 13c9bc143f6861517970dafdc7e7a45740d0933d)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
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 agogrub: add patch to support 256 byte inodes
Jack Mitchell [Mon, 14 Oct 2013 09:55:59 +0000 (10:55 +0100)]
grub: add patch to support 256 byte inodes

This patch is originally from oe-classic, it seemed to
have been dropped in the transition for some reason.
However I needed this patch to boot a system with 256 byte
inodes.

(From OE-Core rev: f36fd55e8721559dee2e9b57930cd3962958ba9e)

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: add explicit dependency on zlib
Ross Burton [Mon, 14 Oct 2013 16:28:15 +0000 (17:28 +0100)]
cairo: add explicit dependency on zlib

In normal use this is pulled in through libpng, but it's exposed in the headers
of cairo-pdf and cairo-ps and a build from sstate can end up without zlib being
present.

(From OE-Core rev: 8413bf1ce95802bff032b4592ca1aa4728d62cbf)

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 agokmod: Update to Rev 15 via git
Saul Wold [Thu, 10 Oct 2013 16:49:44 +0000 (09:49 -0700)]
kmod: Update to Rev 15 via git

Also nail down a previously floating dependancy on zlib, which is required for ptest

(From OE-Core rev: e76181535fce8bd4bb63f55106de4d074cae4e06)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: Add patch to fix seperate build dir of ptest
Saul Wold [Wed, 9 Oct 2013 22:35:46 +0000 (15:35 -0700)]
kmod: Add patch to fix seperate build dir of ptest

(From OE-Core rev: 68322eadd1d9456e606b375c2f4181725784c292)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: Add nativesdk for Python3 nativesdk dependency
Saul Wold [Wed, 9 Oct 2013 22:23:25 +0000 (15:23 -0700)]
xz: Add nativesdk for Python3 nativesdk dependency

(From OE-Core rev: 41a8c1f5fc0b4601af8b5b8b08f641668a39550d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysstat: upgrade to 10.1.7
Saul Wold [Sat, 14 Sep 2013 08:31:24 +0000 (08:31 +0000)]
sysstat: upgrade to 10.1.7

Remove patch that was backported and from verion we updated to

Also cleanup white space

(From OE-Core rev: 849fbd50a52f1aa0330b47993d38a0f7812977c7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add Toaster UI interface
Alexandru DAMIAN [Thu, 26 Sep 2013 11:50:50 +0000 (12:50 +0100)]
bitbake: toaster: add Toaster UI interface

Adding a new bitbake UI interface named 'toasterui'.

'toasterui' listens for events and data coming from a
bitbake server during a run, and records it
in a data store using the Toaster object model.

Adds a helper class named BuildInfoHelper that
reconstructs the state of the bitbake server and
saves relevant data to the data store.

Code portions contributed by Calin Dragomir <calindragomir@gmail.com>.

(Bitbake rev: 62200ff6694b21fbd5abf009a6f47ad93adf5309)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: adding frameworks for the Simple UI
Alexandru DAMIAN [Thu, 26 Sep 2013 11:48:44 +0000 (12:48 +0100)]
bitbake: toaster: adding frameworks for the Simple UI

This commit adds the 3rd party frameworks used for the web UI.

jQuery is licensed under MIT.

Bootstrap is licensed under APACHE-2.0

(Bitbake rev: 8395e257fed030f0d9b24feba17ed99664f26b2b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add toaster code to bitbake
Alexandru DAMIAN [Fri, 11 Oct 2013 12:46:23 +0000 (13:46 +0100)]
bitbake: toaster: add toaster code to bitbake

This patch adds the Toaster component to Bitbake.

Toaster is a module designed to record the progress of a
Bitbake build, and data about the resultant artifacts.

It contains a web-based interface and a REST API allowing
post-facto inspection of the build process and artifacts.

Features present in this build:
* toaster start script
* relational data model
* Django boilerplate code
* the REST API
* the Simple UI web interface

This patch has all the development history squashed together.

Code portions contributed by Calin Dragomir <calindragomir@gmail.com>.

(Bitbake rev: d24334a5e83d09b3ab227af485971bb768bf5412)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: utils: Don't show stack traces for BBHandledException
Richard Purdie [Thu, 17 Oct 2013 10:48:09 +0000 (10:48 +0000)]
bitbake: utils: Don't show stack traces for BBHandledException

A BBHandledException means we already showed an error to the user so
we shouldn't show a stack trace as this just confuses things further.

(Bitbake rev: 8a8bafc8ded98364a31878b23c64503a53affcd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rcd.bbclass: fix host/target test
Ross Burton [Wed, 16 Oct 2013 13:07:51 +0000 (14:07 +0100)]
update-rcd.bbclass: fix host/target test

"update-rc: Stop and remove service if updating package" (oe-core d91b08) had a
bug in it's implementation of a "host or target" test which always resulted in
"target", so the rootfs scripts were attempting to restart daemons on the host.

(From OE-Core rev: 2b179d90eacc58f0b217f64407782a9174362850)

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