scm/bb/tizen-distro.git
10 years agobitbake: fetch2/svn.py: use log instead of info to retrieve revision
Nicolas Dechesne [Fri, 1 Nov 2013 00:36:25 +0000 (17:36 -0700)]
bitbake: fetch2/svn.py: use log instead of info to retrieve revision

We have faced a corner case situation where the 'last changed
revision' returned from svn info is wrong. It happens when the last
revision is a directory move. e.g. if we assume that the svn
repository at revA has root/x/y/z/foo/bar and it is moved to
root/a/b/c/foo/bar in revB, then svn info 'last change revision' will
return revA. As such when using AUTOREV, we are going to attempt to
retrieve root/a/b/c/foo/bar (as per SRC_URI) but at revA when it did
not exist.

So this patch changes how we retrieve the latest revision and uses
'svn log --limit 1' which gives correct result in all tested cases.

(Bitbake rev: 17d8ef0b813a05c231e3dbe6e8bc82a4a9b1d2f8)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosgml-common: make postinst run successfully at rootfs time
Chen Qi [Thu, 31 Oct 2013 06:00:12 +0000 (14:00 +0800)]
sgml-common: make postinst run successfully at rootfs time

Take $D into consideration and make postinst run successfully at
rootfs time.

(From OE-Core rev: 0636093711547957a8f5b25322bd3e0da367cfc4)

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 agogroff: fix pkg_postinst and remove unneeded do_install_prepend
Chen Qi [Thu, 31 Oct 2013 06:00:11 +0000 (14:00 +0800)]
groff: fix pkg_postinst and remove unneeded do_install_prepend

Fix to take $D into consideration in pkg_postinst so that the postinst
script could run at rootfs time.

The existence of ${D} is ensured by the in base.bbclass.
    do_install[dirs] = "${D} ${S} ${B}"
So there's no need for this do_install_prepend.

(From OE-Core rev: 4facf4df0bc0d71d11ba53737faff6f2c6e5863b)

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 agojpeg: enable postinst to run at rootfs time successfully
Chen Qi [Thu, 31 Oct 2013 06:00:13 +0000 (14:00 +0800)]
jpeg: enable postinst to run at rootfs time successfully

(From OE-Core rev: 41eda2f5a256f495b788e1ced22e6d19c007e34e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: fix sed auto insert newline testcase
Jackie Huang [Thu, 31 Oct 2013 08:16:28 +0000 (16:16 +0800)]
busybox: fix sed auto insert newline testcase

backport the patch from busybox upstream to fix the
auto insert newline issue.

busybox defect:
https://bugs.busybox.net/show_bug.cgi?id=6584

(From OE-Core rev: db00fa405c025c61844df2e9589fe635fc5df0e2)

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 agoudev: fix typo in local.rules
Saul Wold [Wed, 30 Oct 2013 22:38:44 +0000 (15:38 -0700)]
udev: fix typo in local.rules

(From OE-Core rev: b8e6b73d4ef6aa957bfcae299f754c2dcb702b84)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi.bbclass: Fix startup.nsh to work on more EFI revs
Jason Wessel [Wed, 30 Oct 2013 17:35:17 +0000 (12:35 -0500)]
grub-efi.bbclass: Fix startup.nsh to work on more EFI revs

Some revs of the EFI firmware + shell do not automatically setup the
path in a such a way as to execute a binary without an absolute
reference like "FS0:\EFI\BOOT\bootx64.efi".  All the versions that I
have tested work properly by simply calling the binary which is in the
EFI\BOOT directory by name like "bootx64.efi".

The error you see on the console looks like the following:

startup.nsh> EFI\BOOT\bootx64.efi
'EFI\BOOT\bootx64.efi' is not recognized as an internal or external command, operable program, or batch file
Shell>

This patch simply drops the EFI\BOOT for greater compatibility.

(From OE-Core rev: 754b52ea7a3cdf8e7e939a314525d16c4dfb52cb)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d.bbclass: Cleanup package scripts
Jacob Kroon [Wed, 30 Oct 2013 00:57:11 +0000 (01:57 +0100)]
update-rc.d.bbclass: Cleanup package scripts

* Add proper preinst script
* Use -n "$D"/-z "$D" checks throughout the scripts
* Only set OPT in cases where its used
* Don't pass unnecessary -f to update-rc.d in postrm script
* Remove outdated comment

(From OE-Core rev: 2d9114aaf130179cb13c20c8b045c2694eca6fd9)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorxvt-unicode: upgrade to 9.19
Cristiana Voicu [Wed, 30 Oct 2013 15:35:50 +0000 (17:35 +0200)]
rxvt-unicode: upgrade to 9.19

(From OE-Core rev: a896ac91109ab3f2a6b8c7253c6da3e3e60203b6)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class
Joao Henrique Ferreira de Freitas [Wed, 30 Oct 2013 10:37:42 +0000 (08:37 -0200)]
grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class

When boot-directdisk class is used and EFI boot is set the
grub-efi-${TRANSLATED_TARGET_ARCH}-native need to be dependent.
Allowing GRUB_IMAGE to be created and bootia32.efi got from the
image directory.

(From OE-Core rev: b9778975db410b8cd01ef6854c7cd3ea22a0b5b7)

Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoMesa: upgrade to 9.2.2
Valentin Popa [Wed, 30 Oct 2013 10:27:39 +0000 (12:27 +0200)]
Mesa: upgrade to 9.2.2

* License is still MIT
* removed patches were already merged or
  another solution was backported.

(From OE-Core rev: 263e654e5d28fa7f6b0c8cc23f57a31448e88a40)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoirda-utils: restart irda daemon correctly
Qiang Chen [Wed, 30 Oct 2013 09:12:29 +0000 (17:12 +0800)]
irda-utils: restart irda daemon correctly

irattach init script restart faulty logic prevents irda daemon
from restart correctly.

root@qemu0:~# /etc/init.d/irattach restart
Restarting IrDA: Terminated
root@qemu0:~# ps aux | grep irattach
root       541  0.0  0.2   2400   612 ttyS0    S+   09:05   0:00 grep irattach

As above shows, irattach not started after executing restart command.
This commit changed the restart command logic: firstly stop, then
start.
Prompt telling user irattach start successfully or failure also
added.

(From OE-Core rev: 39f266138b972b550979909b235a5779828d7d89)

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: make ptest able to work on target
Roy.Li [Wed, 30 Oct 2013 06:05:06 +0000 (14:05 +0800)]
lttng-tools: make ptest able to work on target

The paths of executable files in test cases are the source code path,
need to fix to make them work on target

(From OE-Core rev: 48067c2093e397255e41b0222da3b7612f1458a7)

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 agoelfutils-native: Update the patch to include the missing pieces needed for tests
Khem Raj [Wed, 30 Oct 2013 04:42:39 +0000 (21:42 -0700)]
elfutils-native: Update the patch to include the missing pieces needed for tests

In the last patch we missed similar update for test/line2addr.c
which meant that the build still failed.

(From OE-Core rev: cb966afe86a5856d846fb0d4fb627cdce2ae0670)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux.bbclass: Fix default serial port string
Jason Wessel [Wed, 30 Oct 2013 03:04:32 +0000 (22:04 -0500)]
syslinux.bbclass: Fix default serial port string

The default value of SYSLINUX_SERIAL_TTY is not correct.

It should be console=ttyS0,115200 else the boot string generated in
the syslinux menus for the serial choice is not correct.  The kernel
boot parameters will get set to:

/vmlinuz initrd=/initrd LABEL=boot root=/dev/ram0 ttyS0,115200

Note that the above is missing the "console="

The default value will now work the same as the value found in
grub-efi.bbclass.

(From OE-Core rev: fbc864241933c6f40814f47e7a85dd71ce255393)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian: Improve comment
Richard Purdie [Thu, 17 Oct 2013 11:35:04 +0000 (11:35 +0000)]
cross-canadian: Improve comment

The previous cross-canadian change was missing some tweaks
to the comments. This clarifies them slightly.

(From OE-Core rev: 154ecc40c289b15fe9cbb33befb20dd10112e788)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-glib: upgrade to 0.23.0
Cristian Iorga [Wed, 30 Oct 2013 13:55:04 +0000 (15:55 +0200)]
telepathy-glib: upgrade to 0.23.0

(From OE-Core rev: f8c52949aba97d1b4d8c0f5c9f6d40dc5a857e03)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-mission-control: upgrade to 5.16.0
Cristian Iorga [Wed, 30 Oct 2013 08:53:11 +0000 (10:53 +0200)]
telepathy-mission-control: upgrade to 5.16.0

(From OE-Core rev: 6bae01a04a375906731555b997766d41f887b496)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: upgrade to 3.11.0
Cristian Iorga [Tue, 29 Oct 2013 17:25:14 +0000 (19:25 +0200)]
iproute2: upgrade to 3.11.0

(From OE-Core rev: 6c2f95c1cce38de2905a69b79f132eb28f0a64f6)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibuser: upgrade to 0.60
Cristian Iorga [Thu, 24 Oct 2013 15:40:13 +0000 (18:40 +0300)]
libuser: upgrade to 0.60

(From OE-Core rev: 2a89bcf6f604b14ccc9aa98c674b6a4632015c52)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsb: add begin function to lsb_log_message
Paul Barrette [Tue, 29 Oct 2013 20:52:04 +0000 (16:52 -0400)]
lsb: add begin function to lsb_log_message

Some init scripts call a "begin" action to log early init phase
messages, e.g. openvswitch-controller.  Add the "begin" function to
lsb_log_message.

(From OE-Core rev: c956290902afd0e4f6d8f545dfe0a55796deec5e)

Signed-off-by: Paul Barrette <paul.barrette@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibx11: upgrade to 1.6.2
Valentin Popa [Tue, 29 Oct 2013 12:50:44 +0000 (14:50 +0200)]
libx11: upgrade to 1.6.2

Adapted X18NCMSstubs.diff to correctly apply.

Tested on core-image-sato (for both libx11 and
libx11-diet)

(From OE-Core rev: 1179a6dc039fc4ce7a540450de55f5a39681370e)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshared-mime-info: upgrade to 1.2
Valentin Popa [Tue, 29 Oct 2013 13:14:05 +0000 (15:14 +0200)]
shared-mime-info: upgrade to 1.2

Adapted parallelmake.patch to the new Makefile.am.

(From OE-Core rev: 30a3dba92f38b8877954e2c7da0c9c18be420d8a)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoncurses-terminfo: Remove bashism from basic terminfo installation
Seth Bollinger [Sat, 26 Oct 2013 14:23:24 +0000 (09:23 -0500)]
ncurses-terminfo: Remove bashism from basic terminfo installation

The vtX terminfo files aren't being copied on systems where bash isn't
the default shell (debian, etc.).  I removed the bash specific syntax
so the files are properly copied on these systems.

(From OE-Core rev: edd7d53c6149b27d5636a458db91650c8c400612)

Signed-off-by: Seth Bollinger <seth.boll@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: Escape filenames in populate-extfs.sh
Søren Holm [Mon, 28 Oct 2013 23:16:49 +0000 (00:16 +0100)]
e2fsprogs: Escape filenames in populate-extfs.sh

Without this patch filenames containing spaces do not get into the final
ext2/3/4 filsystem.

[YOCTO #5401]

(From OE-Core rev: 1350b461ed0c9d4afa1ab909a5b1ff60fb160c97)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: support command arch
Hongxu Jia [Tue, 29 Oct 2013 07:12:17 +0000 (15:12 +0800)]
coreutils: support command arch

The "arch" is removed in util-linux 2.23, but some old
software and devs look for arch:
http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00010.html

Use coreutils version.
[YOCTO #5404]

(From OE-Core rev: 9df8591a6e18afa592673cb454dc699a1341461d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
[sgw: fixed ordering to be alphabetized]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovala.bbclass: add dependency on vala
Joe Slater [Tue, 29 Oct 2013 17:17:04 +0000 (10:17 -0700)]
vala.bbclass: add dependency on vala

This class points the inheritor, if it is a target,
to directories in the target sysroot, so we want to
be sure the .vapi files are there.

(From OE-Core rev: 2da8bbd47686f54efeec521d521f176f6aeb8d39)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian: Handle powerpc linux verses linux-gnuspe
Richard Purdie [Thu, 17 Oct 2013 11:22:35 +0000 (12:22 +0100)]
cross-canadian: Handle powerpc linux verses linux-gnuspe

PowerPC toolchains can use the OS "linux" or "linux-gnuspe". This
patch links them together so the one cross-canadian toolchain can support
both.

GCC_FOR_TARGET is set for the GCC recipe as otherwise configure
can pick up an incorrect value.

[YOCTO #5354]

(From OE-Core rev: a1d6331238982b0c5d39b0a18794f6654b00d46a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd-compat-units: run-postinsts fix script link
Andreas Müller [Wed, 16 Oct 2013 11:27:55 +0000 (13:27 +0200)]
systemd-compat-units: run-postinsts fix script link

in

commit fe039170236080291c0220476a5809774f82ee5c
Author: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Date:   Wed Oct 2 10:55:32 2013 +0000

    systemd-compat-units: Use correct run-postinsts script link

    OE-Core commit 75a14923da1ba91eddde47f0907345c19c82d6f0 has moved
    run-postinsts script execution from S98 to S99 in rcS.d. run-postinsts.service
    should check for this script and run it on first boot rather than
    S98run-postinsts, which is for opkg/dpkg.

the link was corrected but the mentioned commit is not available. Instead of
reverting, we use the same variable as opkg for init script ordering and drop
a note in case somebody wants to change default.

(From OE-Core rev: 7aabc9408fb382f0ae39f9932b6d9ac391528b76)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: modify nfsserver init script indent
Qiang Chen [Tue, 22 Oct 2013 05:14:21 +0000 (13:14 +0800)]
nfs-utils: modify nfsserver init script indent

Using sysvinit testing service status, nfsserver status
allways display as [?] unknown.

This is because sysvinit package check whether service's
init script supporting status function or not by:
grep -qs "\Wstatus)" "$SERVICE"

So, this commit modified the indent for status etc, as
most service's init script does.

(From OE-Core rev: a6b02fe439fa13c8482383fba2bfdcb0e9742141)

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/ptest: do not set EXCLUDE_FROM_WORLD
Paul Eggleton [Wed, 30 Oct 2013 15:41:42 +0000 (15:41 +0000)]
classes/ptest: do not set EXCLUDE_FROM_WORLD

Various normal recipes that we expect to build during a world build now
inherit this class; it cannot therefore set EXCLUDE_FROM_WORLD.

(From OE-Core rev: 80f29b04b1d0a9357f193085224ccf2bf8f530fa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/ptest: fix quoting
Paul Eggleton [Wed, 30 Oct 2013 15:41:43 +0000 (15:41 +0000)]
classes/ptest: fix quoting

BitBake currently allows using the same quotes outside and inside the
value, but it isn't really right, looks odd and might stop working in
future.

(From OE-Core rev: 0af9cf31851896276a219170001047406f45de50)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocore-image-basic.bb: Allow user extensions
Gary Thomas [Wed, 30 Oct 2013 16:09:25 +0000 (10:09 -0600)]
core-image-basic.bb: Allow user extensions

Allow the user to provide additional packages to this image.
This lets core-image-basic behave like all other core-image*
recipes (which do support CORE_IMAGE_EXTRA_INSTALL), as well
as match the documentation which suggests this as the mode to
extend any core-image* image.

v2 - drop redundant setting of CORE_IMAGE_EXTRA_INSTALL

(From OE-Core rev: 5faabf398819d40b55c46bc83ae03942d115024b)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Remove PR = r0 from all recipes
Richard Purdie [Tue, 29 Oct 2013 11:14:13 +0000 (11:14 +0000)]
recipes: Remove PR = r0 from all recipes

Remove all PR = "r0" from all .bb files in oe-core. This was done
with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i

We've switching to the PR server, PR bumps are no longer needed and
this saves people either accidentally bumping them or forgetting to
remove the lines (r0 is the default anyway).

(From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: create package for openssl configuration file
Qiang Chen [Mon, 28 Oct 2013 05:15:54 +0000 (13:15 +0800)]
openssl: create package for openssl configuration file

* Add the openssl-conf package to the list of packages to
  be created.  This package contains the openssl.cnf file
  which is used by both the openssl executable in the
  openssl package and the libcrypto library.

* This is to avoid messages like:
    WARNING: can't open config file: /usr/lib/ssl/openssl.cnf

* When running "openssl req" to request and generate a certificate
  the command will fail without the openssl.cnf file being
  installed on the target system.

* Made this package an RRECOMMENDS for libcrypto since:
* libcrypto is a RDEPENDS for the openssl package
* Users can specify a configuration file at another
      location so it is not stricly required and many
      commands will work without it (with warnings)

(From OE-Core rev: 5c3ec044838e23539f9fe4cc74da4db2e5b59166)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus: no messages of status command print
Lu Chong [Tue, 22 Oct 2013 09:40:22 +0000 (17:40 +0800)]
dbus: no messages of status command print

/etc/init.d/dbus-1 use "set -e" to let the script exit when any command failes.
This will cause "/etc/init.d/dbus-1 status" command can't display messages when dbus is stopped.

(From OE-Core rev: 9844b5e2a544b2c2f76aac497c3a2cdfcc46577c)

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 agoattr: upgrade to 2.4.47
Saul Wold [Sun, 27 Oct 2013 01:31:49 +0000 (03:31 +0200)]
attr: upgrade to 2.4.47

Remove the patch that has been integrated upstream

(From OE-Core rev: 39c556756d1af274d7868710ef80663ae8042f97)

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.22
Saul Wold [Sat, 26 Oct 2013 23:00:57 +0000 (02:00 +0300)]
gnupg: upgrade to 2.0.22

(From OE-Core rev: 87800b8941cd96265d2c3dd25c25d0b4fd9a3572)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: upgrade to 1.7.0
Saul Wold [Sat, 26 Oct 2013 22:42:18 +0000 (01:42 +0300)]
cups: upgrade to 1.7.0

Rename and consolidate cups16.inc to cups.inc use PACKAGECONFIG
for pam.

(From OE-Core rev: b749bed86efcdc063d720fa095ffa7a7984cd53c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN
Tom Rini [Tue, 22 Oct 2013 16:37:10 +0000 (12:37 -0400)]
udev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN

Since udev 174 udev has been running input_id as a built-in command and
setting this value in the environment for touchscreens.  Use this logic
to detect when to make a touchscreen0 symlink.

(From OE-Core rev: 5abcfcd4380aacafc45d776f557738fb18089113)

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: upgrade to 1.19
Cristian Iorga [Tue, 22 Oct 2013 14:10:03 +0000 (17:10 +0300)]
connman: upgrade to 1.19

Improvements:
- On startup keep interfaces already configured
with static IPv4 addresses if there is a
service configuration file containing
the very same static values. If not,
take the interface down and flush
the old configuration as before (Jukka Rissanen).
- Handle FallbackNameservers properly;
use them when no other nameservers have been
configured for a service (Patrik Flykt).

(From OE-Core rev: 2d0840780525e9a911e567f45b764850419d49f3)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcap: fix CAP_LAST_CAP
Roy Li [Wed, 23 Oct 2013 09:05:41 +0000 (17:05 +0800)]
libcap: fix CAP_LAST_CAP

(From OE-Core rev: 9032c10cc882a96acdfd0739f090d121ab625a18)

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 agoglib-2.0: upgrade to 2.38.1
Cristian Iorga [Wed, 23 Oct 2013 16:59:38 +0000 (19:59 +0300)]
glib-2.0: upgrade to 2.38.1

(From OE-Core rev: a738580b108ae11519176e9302913dbd06f0742d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.10
Cristian Iorga [Wed, 23 Oct 2013 16:59:39 +0000 (19:59 +0300)]
bluez5: upgrade to 5.10

(From OE-Core rev: d0ebb8382a6799774634252cd615de0787bc6409)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopixbufcache.bbclass: gdk-pixbuf-query-loaders depends on libz
Konrad Scherer [Wed, 23 Oct 2013 18:33:18 +0000 (14:33 -0400)]
pixbufcache.bbclass: gdk-pixbuf-query-loaders depends on libz

ldd sysroots/x86_64-linux/usr/bin/gdk-pixbuf-query-loaders.real
<snip>
libz.so.1 => /sysroots/x86_64-linux/usr/bin/../../usr/lib/libz.so.1 (0x00007fab55393000)

If zlib-native has not been unpacked, host libz is used which can fail.

(From OE-Core rev: 8422c759ae674856aaaee176eab5a395a620443c)

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 agosudo: upgrade to 1.8.8
Cristiana Voicu [Thu, 24 Oct 2013 08:01:50 +0000 (11:01 +0300)]
sudo: upgrade to 1.8.8

License checksum updated to reflect additional Copyright for
file getopt_long.c, owned by The NetBSD Foundation, Inc

(From OE-Core rev: e78a5cf3af993d87300d6a527fa14ec6ef9ed79a)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: upgrade to 7.33.0
Cristiana Voicu [Thu, 24 Oct 2013 08:01:49 +0000 (11:01 +0300)]
curl: upgrade to 7.33.0

(From OE-Core rev: 5b7ae85d1de82de0e78f7aaec01c5510445ceb21)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: upgrade to 3.1.14
Cristiana Voicu [Thu, 24 Oct 2013 08:01:48 +0000 (11:01 +0300)]
at: upgrade to 3.1.14

Removed 2 patches because they were merged upstream

(From OE-Core rev: ff1707449d851a365e686e6d2cbe822631001147)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: putting the service files into PN
Roy Li [Thu, 24 Oct 2013 09:04:12 +0000 (17:04 +0800)]
opkg: putting the service files into PN

(From OE-Core rev: f0ec7f81c1951211f049c342fd6bd1cad424564a)

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 agoqt4: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch
Jonathan Liu [Thu, 24 Oct 2013 10:39:52 +0000 (21:39 +1100)]
qt4: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch

(From OE-Core rev: 3af8f2e0697a9523d3b505ba4c48eca35f6de3a9)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Remove selinux_check()
Tom Zanussi [Thu, 24 Oct 2013 03:49:01 +0000 (22:49 -0500)]
wic: Remove selinux_check()

This seems to be an obsolete check - we don't have any problems with
image creation under selinux, so remove it.

(From OE-Core rev: 12e81eceab9e0a483765566ad3791b14718195b5)

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 agostrace: remove += assignment of a OVERRIDES variable
Ming Liu [Mon, 21 Oct 2013 00:41:34 +0000 (08:41 +0800)]
strace: remove += assignment of a OVERRIDES variable

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: 7eae843aaa4eaa534a2b825949563ca11bd3680c)

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 agopigz: Add pigz to buildtools tarball
Konrad Scherer [Mon, 21 Oct 2013 20:13:11 +0000 (16:13 -0400)]
pigz: Add pigz to buildtools tarball

When using the tar executable in the buildtools, tar will execute
gzip. If this happens before zlib-native is built, then the gzip
on the host will be used and can fail if the libz in the buildtools
is not compatible. Adding pigz to the build tools avoids this host
contamination.

(From OE-Core rev: af6424e8c2bf3a938fddabc669c0956d68964ed0)

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 agodebugedit: fix segment fault while file's bss offset have a large number
Hongxu Jia [Mon, 21 Oct 2013 11:37:22 +0000 (19:37 +0800)]
debugedit: fix segment fault while file's bss offset have a large number

While ELF_C_RDWR_MMAP was used, elf_begin invoked mmap() to map file
into memory. While the file's bss Offset has a large number, elf_update
caculated file size by __elf64_updatenull_wrlock and the size was
enlarged.

In this situation, elf_update invoked ftruncate to enlarge the file,
and memory size (elf->maximum_size) also was incorrectly updated.
There was segment fault in elf_end which invoked munmap with the
length is the enlarged file size, not the mmap's length.

Before the above operations, invoke elf_begin/elf_update/elf_end
with ELF_C_RDWR and ELF_F_LAYOUT set to enlarge the above file, it
could make sure the file is safe for the following elf operations.

[YOCTO #5356]
https://bugzilla.redhat.com/show_bug.cgi?id=1019707
https://bugzilla.redhat.com/show_bug.cgi?id=1020842

(From OE-Core rev: 35c8b1ac7c3b1e4209b1e30d1dbd1a457286b97b)

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 agocogl-1.0: depend on virtual/mesa
Andreas Oberritter [Thu, 17 Oct 2013 11:31:27 +0000 (13:31 +0200)]
cogl-1.0: depend on virtual/mesa

- Wayland support depends on wayland-egl, which is provided by mesa.

(From OE-Core rev: a1a379b3c9728a06b086b4c1f06f663f54d7d37d)

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 agorpm: Fix FILES_${PN}
Richard Purdie [Wed, 30 Oct 2013 12:59:50 +0000 (12:59 +0000)]
rpm: Fix FILES_${PN}

In a recent commit, the FILES expression for rpm accidently moved a
large portion of rpm-build into rpm:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2e557556e03f4e86795cf331ccf06acd4c373045

Since rpm-build requires perl, this caused a number of build failures
when the rpm-build package was attempted to be used since it references
/usr/bin/perl. This commit restores the previous contents of the rpm
package.

(From OE-Core rev: a72ca9b8068f71cfed8b7cbe0f08247bd3f0fbe7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: fix global name 'debug' is not defined
Paul Eggleton [Tue, 29 Oct 2013 15:21:52 +0000 (15:21 +0000)]
scripts/oe-pkgdata-util: fix global name 'debug' is not defined

This global variable is no longer present, so pass in the value
specified via the command line.

(From OE-Core rev: fa90f92e52330a9bf5836c0832412af0927b19a9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d.bbclass: Fix host/target test in postinst
Jacob Kroon [Sun, 27 Oct 2013 09:20:29 +0000 (10:20 +0100)]
update-rc.d.bbclass: Fix host/target test in postinst

When running the postinst script I get a shell warning:

sh: argument expected

and the service is never stopped. This patch fixes the warning
message and stops the service.

Patch v2: Hans Beckérus pointed out that the patch is not correct.
          This version uses the syntax proposed by Hans. I've tested
          that the postinst script works correctly when run on the target,
          both when the init script exists and when it doesn't exist.

(From OE-Core rev: 7e23557835f756b22b95fa7a1926b5d1d21872c3)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopcmanfm: upgraded to 1.1.2
Valentin Popa [Mon, 28 Oct 2013 12:37:27 +0000 (14:37 +0200)]
pcmanfm: upgraded to 1.1.2

Removed cross-compile-fix.patch; pcmanfm doesn't
use xml-purge anymore.

Tested on core-image-sato (qemuarm & qemux86).

(From OE-Core rev: ba93c0faba5f4b5418ecc99da5e04d2ce0642875)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrep: upgrade to 2.15
Cristiana Voicu [Mon, 28 Oct 2013 12:11:47 +0000 (14:11 +0200)]
grep: upgrade to 2.15

(From OE-Core rev: b4996f3ef827cdc12c39fe58fdb50d7486bfc7f0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts: Add ksize.py and dirsize.py
Darren Hart [Mon, 28 Oct 2013 14:32:40 +0000 (14:32 +0000)]
scripts: Add ksize.py and dirsize.py

Fixes [YOCTO #5388]

These scripts can be useful when working to reduce the size of the Linux
kernel and the root filesystem.

ksize.py displays the kernel build size by the built-in.o files.

dirsize.py displays the various sizes of the components of the root
directory.

(From OE-Core rev: 26099eb8ac855aa08e5e1a307affe42fe5f43859)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsoup: upgrade to 2.44.1
Valentin Popa [Mon, 28 Oct 2013 14:02:42 +0000 (16:02 +0200)]
libsoup: upgrade to 2.44.1

Tested with midori-browser on qemux86
and qemuarm.

(From OE-Core rev: 67a562d236735d1bb08e7c2f5ea01409f59741d3)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxv: upgrade to 1.0.10
Valentin Popa [Tue, 29 Oct 2013 08:52:10 +0000 (10:52 +0200)]
libxv: upgrade to 1.0.10

(From OE-Core rev: db0af1b3ca6b4de61dbcb8b264e418fe40c36fae)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopseudo: fix library path in FILES_${PN}
Roy Li [Tue, 29 Oct 2013 04:54:03 +0000 (12:54 +0800)]
pseudo: fix library path in FILES_${PN}

libpseudo.so is always installed into ${prefix}/lib/, not ${libdir},
so fix these paths; and skip libdir WARN_QA checking to ignore the
warning in 64bit and multilib enabled system

(From OE-Core rev: 47c7850c025994685aa1811057f4f9a5f0f2a3ae)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopulseaudio: Fix build break on armeb
Khem Raj [Tue, 29 Oct 2013 03:40:47 +0000 (20:40 -0700)]
pulseaudio: Fix build break on armeb

There is no need for += when using append hence removed and added a
leading space appropriately

(From OE-Core rev: fb9cde0fc1a54b073edf5979f4cb7dc297b790fd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode & tzdata: update to 2013h
Joe Slater [Mon, 28 Oct 2013 21:23:08 +0000 (14:23 -0700)]
tzcode & tzdata: update to 2013h

Update recipes to version 2013h of timezone
code and data.

(From OE-Core rev: 95c9355c35d24b60f44857a8c2e3c9860a91d23b)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-toolchain-qt: put QT_CONF_PATH in environment script
Laurentiu Palcu [Mon, 28 Oct 2013 20:46:21 +0000 (22:46 +0200)]
meta-toolchain-qt: put QT_CONF_PATH in environment script

This will allow apps using QLibraryInfo class to find qt.conf.

[YOCTO #5339]

(From OE-Core rev: fffa4c37c49b169f663d28612b9251819cef9577)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonativesdk-qt4-tools: create qt.conf file
Laurentiu Palcu [Mon, 28 Oct 2013 20:46:20 +0000 (22:46 +0200)]
nativesdk-qt4-tools: create qt.conf file

When installing the SDK to another location than the default one, qmake
will look for libraries, headers, etc. in the default location. That's
because the paths are hard-coded in the binary itself. Luckily, QT
allows to override this using a qt.conf file installed in the same
directory with the application executable. However, we already have a
patch that allows for the installation of qt.conf in another place and
read the location from QT_CONF_PATH environment variable.

Hence, install qt.conf in ${sysconfdir}. This will allow other apps, that
use QLibraryInfo class, to find it.

[YOCTO #5339]

(From OE-Core rev: 23f88695683a8e428375a8ccb6be935347a8768c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome: set UNKNOWN_CONFIGURE_WHITELIST
Ross Burton [Mon, 28 Oct 2013 17:53:00 +0000 (17:53 +0000)]
gnome: set UNKNOWN_CONFIGURE_WHITELIST

This class disable introspection support using --enable-introspection=no but not
all GNOME modules support introspection.

This can cause unknown-configure-options QA warnings, so clarify the option by
using --disable-introspection and add it to the sanity test whitelist.

(From OE-Core rev: a97600330d626eb0ca75178a9011f1a63c8a29f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-proto-common: set UNKNOWN_CONFIGURE_WHITELIST
Ross Burton [Mon, 28 Oct 2013 17:52:31 +0000 (17:52 +0000)]
xorg-proto-common: set UNKNOWN_CONFIGURE_WHITELIST

This include adds configure options globally but not all X libraries support
them, so to avoid unknown-configure-option warnings add them to the whitelist.

Also change the options from --enable-foo=no to --disable-foo as they're clearer
and the whitelist would have to contain --enable-foo.

(From OE-Core rev: 2544dc51fdebed77ff6eddf27d0ee897c5f5c257)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: upgrade to 6.3p1
Paul Eggleton [Mon, 28 Oct 2013 16:44:39 +0000 (16:44 +0000)]
openssh: upgrade to 6.3p1

Removed the following backported patch(es):
 * mac.patch

(From OE-Core rev: ce04ba6a5385ad2d021d472cf9236787c6ea7357)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: upgrade to 3.11
Paul Eggleton [Mon, 28 Oct 2013 16:44:38 +0000 (16:44 +0000)]
ethtool: upgrade to 3.11

(From OE-Core rev: ba5a3e7ed4e58865c770e9480e322a4c4a939c02)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: upgrade to 2.8.12
Paul Eggleton [Mon, 28 Oct 2013 16:44:40 +0000 (16:44 +0000)]
cmake: upgrade to 2.8.12

(From OE-Core rev: 5d63ad569d6beab5beea82aa51c1625d0e1e8231)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: remove --without-pth
Ross Burton [Mon, 28 Oct 2013 14:33:18 +0000 (14:33 +0000)]
libgcrypt: remove --without-pth

This isn't recognised by configure, and the random number daemon that requires
Pth isn't enabled.

(From OE-Core rev: 6553c807e19042d3b6add4e7c4b3999fb641abe6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome-common: inhert gnomebase not gnome
Ross Burton [Mon, 28 Oct 2013 14:33:17 +0000 (14:33 +0000)]
gnome-common: inhert gnomebase not gnome

This recipe doesn't need any of the helpers that come with gnome (GConf, icons,
MIME, etc), so just inherit gnomebase.

(From OE-Core rev: eadd68010f923edc12b4962074850ea724477a64)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-lib-common: set UNKNOWN_CONFIGURE_WHITELIST
Ross Burton [Mon, 28 Oct 2013 14:33:15 +0000 (14:33 +0000)]
xorg-lib-common: set UNKNOWN_CONFIGURE_WHITELIST

This include adds configure options globally but not all X libraries support
them, so to avoid unknown-configure-option warnings add them to the whitelist.

(From OE-Core rev: 1f77801e6837b23d9123097dba77ca1374fbbea4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: add ability to find a recipe from a target package
Paul Eggleton [Fri, 18 Oct 2013 13:52:10 +0000 (14:52 +0100)]
scripts/oe-pkgdata-util: add ability to find a recipe from a target package

Add a "lookup-recipe" command to show which recipe produced a particular
package.

(From OE-Core rev: 4ab561ac3df105b4b6487271b6ccc29445518d52)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: add ability to look up runtime package names
Paul Eggleton [Wed, 24 Jul 2013 16:18:28 +0000 (17:18 +0100)]
scripts/oe-pkgdata-util: add ability to look up runtime package names

Add a "lookup-pkg" command to oe-pkgdata-util that can be used to find
the runtime name of a package (after e.g. Debian library package
renaming).

(From OE-Core rev: d923846d91ae307372f1e48483e86807feeeb09d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: add ability to search for a target path
Paul Eggleton [Mon, 2 Sep 2013 16:44:06 +0000 (17:44 +0100)]
scripts/oe-pkgdata-util: add ability to search for a target path

Add ability to search for a target path in produced packages, in order
to find which package provides a specific file.

(From OE-Core rev: 0824f2f5cf4e05f82b6986ce6fb22fa1392b7776)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: check path arguments to ensure they exist
Paul Eggleton [Fri, 18 Oct 2013 11:23:30 +0000 (12:23 +0100)]
scripts/oe-pkgdata-util: check path arguments to ensure they exist

Show an error if the specified paths don't exist.

(From OE-Core rev: eff2690f7976664e6257c1c19c89feea9152eb9e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: improve help text and command line parsing
Paul Eggleton [Fri, 18 Oct 2013 14:19:58 +0000 (15:19 +0100)]
scripts/oe-pkgdata-util: improve help text and command line parsing

* Use optparse to parse command line
* Make help text actually helpful by describing what each command does
* Drop comment at the top listing the commands which is now superfluous

(From OE-Core rev: feb317513fff638ad7abdba8ab34b8413f0ab055)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: remove remnants of former pkgdata structure
Paul Eggleton [Fri, 18 Oct 2013 11:08:26 +0000 (12:08 +0100)]
scripts/oe-pkgdata-util: remove remnants of former pkgdata structure

OE-Core commit 1b8e4abd2d9c0901d38d89d0f944fe1ffd019379 removed the
vendor-os argument from the command line, and the code using the package
architectures, so clean these items up.

(From OE-Core rev: 8b9ee57afbbcf633cba66e4b6e8ab7339ad6d391)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopigz: bump to 2.3.1
Maxin B. John [Thu, 24 Oct 2013 11:40:56 +0000 (13:40 +0200)]
pigz: bump to 2.3.1

Update pigz to latest release - 2.3.1
Drop ldflags.patch as it has been merged upstream

(From OE-Core rev: 8081dcb03f54efd551d1c8fe8a0484f8270053e0)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to upstream version 0.9.22
Marko Lindqvist [Thu, 24 Oct 2013 18:29:40 +0000 (21:29 +0300)]
harfbuzz: upgrade to upstream version 0.9.22

Code that was under ICU license has been removed.

(From OE-Core rev: 12e2e82a7cfcbcb989b5254b2148320db69a820d)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: upgrade to upstream version 1.12.16
Marko Lindqvist [Thu, 24 Oct 2013 18:29:39 +0000 (21:29 +0300)]
cairo: upgrade to upstream version 1.12.16

png.patch dropped as it's part of upstream now

(From OE-Core rev: c645545d245e77a83a6ce2feb7211fbea0242d46)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+: upgrade gtk+ to upstream version 2.24.22
Marko Lindqvist [Thu, 24 Oct 2013 18:29:38 +0000 (21:29 +0300)]
gtk+: upgrade gtk+ to upstream version 2.24.22

(From OE-Core rev: f7c43757a0a2ad3b24c9f2ce3ad13059d929ba39)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: cracklib-native should not depend on zlib
Konrad Scherer [Thu, 24 Oct 2013 15:17:00 +0000 (11:17 -0400)]
cracklib: cracklib-native should not depend on zlib

(From OE-Core rev: 89d7d46947d9bb8c7bf568c65e52d5bbe159027f)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: nfsserver restart should kill and recreate nfsd kernel threads
Qiang Chen [Fri, 25 Oct 2013 06:49:11 +0000 (14:49 +0800)]
nfs-utils: nfsserver restart should kill and recreate nfsd kernel threads

nfsserver restart without killing kernel threads worked when portmap
was the rpc publishing process and portmap was restarted.
When rpcbind replaces portmap, nfsserver restart in this way does not
work after an rpcbind restart.

Steps to reproduce:
1). Make ext3 filesystem image on local host.
cd /root
dd if=/dev/zero of=test bs=1024K count=50
mkfs.ext3 -F test

2). runqemu qemux86-64
mkdir /mnt/wrtest
mount -t ext3 -o loop test /mnt/wrtest
echo "/mnt/wrtest *(sync,rw,no_subtree_check,no_root_squash)" > /etc/exports
/etc/init.d/rpcbind restart
/etc/init.d/nfsserver restart
showmount -e localhost
mkdir wrtest
mount -t nfs localhost:/mnt/wrtest wrtest

mount: mounting localhost:/mnt/wrtest on wrtest failed: Connection refused

Modifying the nfsserver script to kill and restart kernel threads on
restart makes the problem go away and is consistent with current
RHEL/SUSE and Ubuntu/Debian mechanisms of handling the nfs server.

(From OE-Core rev: 1a96b8d7dfc490fc61bbd470a8b09065750cd563)

Signed-off-by: Rich Dubielzig <rich.dubielzig@windriver.com>
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>