]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agoccache: 3.1.9 -> 3.1.11
Robert Yang [Mon, 20 Apr 2015 08:09:18 +0000 (01:09 -0700)] 
ccache: 3.1.9 -> 3.1.11

(From OE-Core rev: 38f17efd9722c7f8f76349387ac10121f011a7a4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb: 1.7.6 -> 1.7.7
Robert Yang [Mon, 20 Apr 2015 08:09:17 +0000 (01:09 -0700)] 
directfb: 1.7.6 -> 1.7.7

(From OE-Core rev: 7082c51f2a01de64eb490c6d062a0cce4b0eab8c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: 2.9.2 -> 2.9.3
Robert Yang [Mon, 20 Apr 2015 08:09:16 +0000 (01:09 -0700)] 
cracklib: 2.9.2 -> 2.9.3

(From OE-Core rev: ab45988308bee91c7d600c6adf308fc55858e715)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: Add lastb to alternatives
Bryan Evenson [Mon, 20 Apr 2015 15:07:37 +0000 (11:07 -0400)] 
sysvinit: Add lastb to alternatives

SysVinit creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

(From OE-Core rev: c76270e55cf6db6c757690f4b8df8c95924bdcd7)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: Add RCONFLICTS/RREPLACES for udev-utils
Bryan Evenson [Mon, 20 Apr 2015 14:53:47 +0000 (10:53 -0400)] 
udev: Add RCONFLICTS/RREPLACES for udev-utils

As of commit 9bb5c7472958aeea46225e835f44d45bea7f7351, the
udev-utils package no longer exists with udev taking ownership
of udevadm.  However, systems that had udev-utils installed have
a conflict with udev.

Add RCONFLICTS and RREPLACES variables for udev-utils so udev-utils
will be removed from systems that are upgrading udev.  This change
would be applicable for master back through dizzy when the problem
was introduced.

(From OE-Core rev: 3a457cd2c5c9abf1b3aa622edbcc689d88b1c4ac)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: update package to 128 and SRC_URI
Armin Kuster [Tue, 14 Apr 2015 15:53:59 +0000 (08:53 -0700)] 
lz4: update package to 128 and SRC_URI

The main reason for the update is to use github
as the project moved away from googlecode.

(From OE-Core rev: 090727384bed38c4317a25d2ecf4c7855a3ffaaa)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupstream_tracking.inc: bluez4 removed from oe-core
Cristian Iorga [Mon, 20 Apr 2015 14:46:44 +0000 (17:46 +0300)] 
upstream_tracking.inc: bluez4 removed from oe-core

info updated accordingly.

(From meta-yocto rev: cd1641674f8a2378f12682d67c5a45e4b58965c0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomaintainers.inc: remove info related to bluez4
Cristian Iorga [Mon, 20 Apr 2015 14:46:43 +0000 (17:46 +0300)] 
maintainers.inc: remove info related to bluez4

bluez4, bluez-hcidump, gst-plugin-bluetooth recipes
will be removed from oe-core, maintainers removed.

(From meta-yocto rev: 8953a5bf2200c929ee792cdbdb4ef913fde1e33f)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: Allow to remove do_rootfs -> virtual/kernel:do_packagedata dependency
Martin Jansa [Mon, 20 Apr 2015 13:04:44 +0000 (15:04 +0200)] 
image.bbclass: Allow to remove do_rootfs -> virtual/kernel:do_packagedata dependency

* this is causing dependency loops in some cases
  e.g. linux-hp-tenderloin depends on initramfs-android-image, but
    commit 41f0f86ec0a3e0b6f6c9bb4ef71a4215c00bf66c
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Tue Jan 27 15:24:52 2015 +0000
    Subject: image: Add missing depends on virtual/kernel for depmod data
  adds also dependency between <image>.do_rootfs and virtual/kernel:do_packagedata
  causing this dependency loop:

Dependency loop #1 found:
  Task 78 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_install)
    (dependent Tasks ['linux-hp-tenderloin, do_compile',
                      'pseudo, do_populate_sysroot'])
  Task 88 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_package)
    (dependent Tasks ['rpm, do_populate_sysroot',
                      'pseudo, do_populate_sysroot',
                      'linux-hp-tenderloin, do_install',
                      'initramfs-android-image.bb, do_packagedata',
                      'glibc, do_packagedata',
                      'file, do_populate_sysroot',
                      'gcc-runtime, do_packagedata'])
  Task 89 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_package_write_ipk)
    (dependent Tasks ['linux-hp-tenderloin, do_package',
                      'opkg-utils, do_populate_sysroot',
                      'linux-hp-tenderloin, do_packagedata',
                      'pseudo, do_populate_sysroot'])
  Task 560 (meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb, do_rootfs)
    (dependent Tasks ['bash, do_package_write_ipk',
                      'run-postinsts, do_package_write_ipk',
                      'db, do_package_write_ipk',
                      'update-rc.d, do_populate_sysroot',
                      'android-tools-conf, do_package_write_ipk',
      'base-passwd, do_package_write_ipk',
                      'initramfs-boot-android, do_package_write_ipk',
      'expat, do_package_write_ipk',
                      'bzip2, do_packagedata',
      'glibc-initial, do_packagedata',
                      'openssl, do_package_write_ipk',
                      'bzip2, do_package_write_ipk',
      'busybox, do_packagedata',
                      'zlib, do_packagedata',
      'qemuwrapper-cross, do_packagedata',
                      'base-passwd, do_packagedata',
      'busybox, do_package_write_ipk',
                      'zlib, do_package_write_ipk',
      'qemuwrapper-cross, do_package_write_ipk',
      'gcc-runtime, do_package_write_ipk',
      'gettext, do_packagedata',
      'initramfs-boot-android, do_packagedata',
      'gettext, do_package_write_ipk',
      'libgcc-initial, do_packagedata',
                      'expat, do_packagedata',
                      'gdbm, do_packagedata',
      'depmodwrapper-cross, do_package_write_ipk',
                      'libgcc-initial, do_package_write_ipk',
                      'glibc-initial, do_package_write_ipk',
                      'linux-libc-headers, do_packagedata',
                      'glibc, do_packagedata',
                      'initramfs-android-image.bb, do_packagedata',
                      'glibc, do_package_write_ipk',
                      'sqlite3, do_packagedata',
                      'initramfs-android-image.bb, do_package_write_ipk',
                      'sqlite3, do_package_write_ipk',
                      'android-tools-conf, do_packagedata',
                      'ncurses, do_packagedata',
                      'openssl, do_packagedata',
                      'android-tools, do_packagedata',
                      'ncurses, do_package_write_ipk',
                      'cryptodev-linux, do_packagedata',
                      'android-tools, do_package_write_ipk',
                      'pseudo, do_populate_sysroot',
                      'cryptodev-linux, do_package_write_ipk',
                      'linux-libc-headers, do_package_write_ipk',
                      'depmodwrapper-cross, do_packagedata',
                      'linux-hp-tenderloin, do_packagedata',
                      'readline, do_package_write_ipk',
                      'opkg-utils, do_packagedata',
                      'linux-hp-tenderloin, do_package_write_ipk',
                      'python, do_packagedata',
                      'gdbm, do_package_write_ipk',
                      'opkg, do_populate_sysroot',
                      'python, do_package_write_ipk',
                      'libtool-cross, do_packagedata',
                      'db, do_packagedata',
                      'libgcc, do_packagedata',
                      'libtool-cross, do_package_write_ipk',
                      'update-rc.d, do_packagedata',
                      'update-rc.d, do_package_write_ipk',
                      'libgcc, do_package_write_ipk',
                      'opkg-utils, do_populate_sysroot',
                      'makedevs, do_populate_sysroot',
                      'readline, do_packagedata',
                      'base-files, do_packagedata',
                      'gcc-runtime, do_packagedata',
                      'opkg-utils, do_package_write_ipk',
                      'base-files, do_package_write_ipk',
                      'ldconfig-native, do_populate_sysroot',
                      'bash, do_packagedata',
                      'run-postinsts, do_packagedata'])
  Task 82 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_compile)
    (dependent Tasks ['initramfs-android-image.bb, do_rootfs',
                      'linux-hp-tenderloin, do_configure'])

(From OE-Core rev: 2e3c8fd70694dcf9553b5e4c50a57b617a9130b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Remove /etc/volatile.cache on upgrade
Bryan Evenson [Tue, 14 Apr 2015 21:08:16 +0000 (17:08 -0400)] 
initscripts: Remove /etc/volatile.cache on upgrade

/etc/volatile.cache is a cached copy of a script (which is
generated by /etc/init.d/populate-volatile.sh) that generates
the volatile filesystem directories.  Since volatile.cache is
a generated file, it is not necessarily changed if
populate-volatile.sh is updated.  As a result, the stale script
can add/remove the wrong directories on the next system boot.

If initscripts is being upgraded, make sure volatile.cache gets
deleted.

(From OE-Core rev: 317269b4a5c698e30b87bd597b436283512cbde9)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-files: Check for /run and /var/lock softlinks on upgrade
Bryan Evenson [Tue, 14 Apr 2015 21:08:15 +0000 (17:08 -0400)] 
base-files: Check for /run and /var/lock softlinks on upgrade

Commit ea647cd9eebdc3e3121b84074519c4bb305adac9 moved the locations
of /run and /var/lock to match the FHS 3 draft specifications.
However, the install doesn't remove the existing directories.
As a result, upgrading a system may result in /run as a softlink
to /var/run and /var/run as a softlink to /run, creating a circular
link.

During pre-install, check for the existence of the old softlinks and
remove them so the new directories can be installed.

(From OE-Core rev: 272805f064848f14306b1ed2648a7760017ee318)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't
Paul Eggleton [Fri, 17 Apr 2015 14:26:59 +0000 (15:26 +0100)] 
bitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't

Add some very basic safeguard against recursively deleting paths such
as / and /home in the event of bugs or user mistakes.

Addresses [YOCTO #7620].

(Bitbake rev: 56cddeb9e1e4d249f84ccd6ef65db245636e38ea)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cookerdata: Allow ~ in bblayers
Ed Bartosh [Sat, 18 Apr 2015 15:09:46 +0000 (18:09 +0300)] 
bitbake: cookerdata: Allow ~ in bblayers

Implemented processing of ~ in bblayer's paths if HOME
environment variable is approved.

(Bitbake rev: 3b8a656d3ccb543c32696229184ebf12237ad38e)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: remove referencing paths from the build host
Junling Zheng [Fri, 17 Apr 2015 08:50:08 +0000 (08:50 +0000)] 
gmp: remove referencing paths from the build host

Currently ${D}${includedir}/gmp.h references the path of build host
incorrectly, remove it.

(From OE-Core rev: 97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo_1.14.2: Modified the license of cairo-trace.
Lei Maohui [Fri, 17 Apr 2015 06:15:40 +0000 (14:15 +0800)] 
cairo_1.14.2: Modified the license of cairo-trace.

Because the license of cairo-trace is GPLv3(util/cairo-trace/COPYING).
So pickup cairo-trace,and modified the license to GPLv3.

(From OE-Core rev: 9e29a8bec3e6bcba38cf097181e50f1266b33221)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: modified the license of dumpsexp.
Lei Maohui [Fri, 17 Apr 2015 03:21:38 +0000 (11:21 +0800)] 
libgcrypt: modified the license of dumpsexp.

Because dumpsexp.c is GPLv3. So pick up the dumpsexp and modified license to GPLv3.

(From OE-Core rev: 18cc7893e453bb10e395ff81dd10c0b5872a1742)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: add ptest
Dmitry Eremin-Solenikov [Fri, 17 Apr 2015 13:52:24 +0000 (16:52 +0300)] 
mdadm: add ptest

Enable ptest for mdadm, by reusing internal testsuite.

(From OE-Core rev: 313a6ee224831d842af8ca95d827bf17230540dc)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: try to find bitbake using find_executable API
Ed Bartosh [Fri, 17 Apr 2015 13:19:01 +0000 (16:19 +0300)] 
wic: try to find bitbake using find_executable API

Current wic code was assuming that bitbake directory is on the
same level as scripts, which is not the case for oe classic.

Using find_executable bitbake location should be determined better
as this API uss $PATH to search for executables.

Fixes [YOCTO #7621]

(From OE-Core rev: 9d86eb2e448263f7e395b48d95c380b2dc66ad8e)

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: call parse_recipe with correct arguments
Markus Lehtonen [Thu, 16 Apr 2015 16:37:57 +0000 (19:37 +0300)] 
devtool: call parse_recipe with correct arguments

Give the correct data object ("config data" instead of "recipe data") as
an argument to oe.recipeutils.patch_recipe()

Fixes [YOCTO #7595]

(From OE-Core rev: 7d2b918019b0afe215a6489dad697afac34f73e9)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/base: clarify S not set correctly warning
Paul Eggleton [Fri, 17 Apr 2015 15:43:09 +0000 (16:43 +0100)] 
classes/base: clarify S not set correctly warning

Hopefully make it a bit clearer to the user which recipe needs fixing
and what needs to be done to fix it.

(From OE-Core rev: 50e75d0cd7190a009776d72a4ae5c3e835895e6b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager: avoid traceback with no packages
Paul Eggleton [Fri, 17 Apr 2015 15:43:08 +0000 (16:43 +0100)] 
lib/oe/package_manager: avoid traceback with no packages

If you were using deb packaging, had buildhistory enabled and produced
an SDK that contained no packages in one of the sysroots (such as with
uninative-tarball) then the do_populate_sdk was failing with a python
traceback because there were no fields to split in the output line.

(From OE-Core rev: a0eb3ebbc82133ad239a752a4a85d154be31a311)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/package: clarify installed-vs-shipped message
Paul Eggleton [Fri, 17 Apr 2015 15:43:07 +0000 (16:43 +0100)] 
classes/package: clarify installed-vs-shipped message

Based on the number of times I've had to explain it over the years it
seems that a lot of new users don't immediately realise what is meant
by "shipped" here (nor should we expect them to) so let's at least
mention packaging and briefly tell the user what they need to do. (I was
going to go into more detail in the message, but there is really more
detail than can be covered succinctly here.)

(From OE-Core rev: 7047d02619547401c313de8c6972a7a0af77e2bc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsb: provide lsb-core-ARCH
Dmitry Eremin-Solenikov [Wed, 15 Apr 2015 09:09:29 +0000 (12:09 +0300)] 
lsb: provide lsb-core-ARCH

Some lsb packages depend on correct lsb-core-ARCH package being
installed (or rather provided) on the target file system. Provide this
package name by main lsb package.

(From OE-Core rev: 981109b7388dcd0de9fd2e9cdfe2a920b9f8facb)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix RDEPENDS
Dmitry Eremin-Solenikov [Wed, 15 Apr 2015 09:09:28 +0000 (12:09 +0300)] 
groff: fix RDEPENDS

RDEPENDS_${PN} is appended with "sed" and on the following line it's fixed
to just "perl". Merge both lines to have correct RDEPENDS.

(From OE-Core rev: 5519d245dcf698b57949d29fc777928952a3f992)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)
Andre McCurdy [Wed, 15 Apr 2015 02:53:53 +0000 (19:53 -0700)] 
busybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)

The CVE-2014-9645 fix was merged in Busybox prior to the 1.23.0
release [1]. The fix was then reworked in Busybox 1.23.1, in such
a way that the original change was no longer required [2].

Although oe-core's CVE-2014-9645 patch still applies cleanly to
Busybox 1.23.1 and 1.23.2, applying it partially reverts the second
version of the upstream fix.

  [1] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=4e314faa0aecb66717418e9a47a4451aec59262b
  [2] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=1ecfe811fe2f70380170ef7d820e8150054e88ca

(From OE-Core rev: a753d3d8884b96baad5ed1a03335a81586420b86)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fix build for aarch64
Koen Kooi [Wed, 15 Apr 2015 12:32:37 +0000 (14:32 +0200)] 
strace: fix build for aarch64

Upstream added aarch64 support but forgot to update 'make dist' leading to missing files in the tarball.

(From OE-Core rev: a40309f284805e8cda024f7299a676cfdf8f97a5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: fix build with aarch64
Robert Yang [Tue, 14 Apr 2015 05:41:20 +0000 (22:41 -0700)] 
libunwind: fix build with aarch64

Referred to RP's fix for x86 and x86-64:
34d517a5626ce2465f776367349bd9e66bf8ed1f
libunwind: Build with gold to avoid build failures

Fixed:
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status

(From OE-Core rev: 31d84f67f74b31b479409cfa446b14ac67bb3707)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoaspell: inherit binconfig-disabled
Robert Yang [Tue, 14 Apr 2015 03:36:07 +0000 (20:36 -0700)] 
aspell: inherit binconfig-disabled

There is a pspell-config.

(From OE-Core rev: 53c8a954e699b3ae3e7a0a2b3860cf7c9ad1288e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibepoxy: DEPENDS on virtual/egl and virtual/libx11
Robert Yang [Tue, 14 Apr 2015 04:59:49 +0000 (21:59 -0700)] 
libepoxy: DEPENDS on virtual/egl and virtual/libx11

Fixed do_configure error:
configure: error: libX11 headers (libx11-dev) required to build with GLX support
and do_compile error:
../include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"

The dependencies form its README.md:
* automake
* libegl1-mesa-dev
* xutils-dev

(From OE-Core rev: 04193b96fa6e41f9de7ea5eb15be133ac63b1ecc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: add python support back
Robert Yang [Mon, 8 Sep 2014 02:05:52 +0000 (19:05 -0700)] 
cracklib: add python support back

It had been disabled because of installed-vs-shipped:
    WARNING:   /usr/lib/python2.7
    WARNING:   /usr/lib/python2.7/site-packages

Now we fix it and add cracklib-python back.

(From OE-Core rev: fafa6b8f4444da3c0fc911d3a11eef2cd6ed825c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: Fix syslinux-nomtools permissions
Robert Yang [Mon, 13 Apr 2015 06:48:38 +0000 (23:48 -0700)] 
syslinux: Fix syslinux-nomtools permissions

The permissions should be 755 in bindir, not 644.

(From OE-Core rev: b0973437f3205e30c010cd9d9f66d857511b9a69)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual: Cleaned up parallelism note and formatted user input
Scott Rifenbark [Thu, 16 Apr 2015 20:15:29 +0000 (13:15 -0700)] 
bitbake: bitbake-user-manual: Cleaned up parallelism note and formatted user input

I updated the note in the second chapter that discusses the role for
BB_NUMBER_THREADS.  The updates make it a bit clearer.

Also scrubbed the manual for instances of user-supplied values to check
how they are being formatted.  I fixed the formatting to use the
<replaceable></replaceable> tags so they are in italics.

(Bitbake rev: e2879c60e905d7566091d40eab330372fa001313)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-diffsigs: consider the situation where sigdata and siginfo files...
Chen Qi [Wed, 11 Mar 2015 03:21:06 +0000 (11:21 +0800)] 
bitbake: bitbake-diffsigs: consider the situation where sigdata and siginfo files having the same hash values

For now, `bitbake-diffsigs -t <recipe> <task>' doesn't work. It always outputs
nothing.

The problem is that bitbake-diffsigs are comparing sigdata and siginfo files
that have the same hash value. This is not what we want. These two files are
actually duplicates considering the purpose of bitbake-diffsigs. So we need
to remove one of them so that bitbake-diffsigs could actually compare the
correct signature files.

(Bitbake rev: c34613eb69fd19770cbfc78ab8384221f10d5587)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: date range filter for project builds page
David Reyna [Thu, 16 Apr 2015 03:37:38 +0000 (20:37 -0700)] 
bitbake: toaster: date range filter for project builds page

Port date range filter initialization code to the project builds page.

[YOCTO #7578]

(Bitbake rev: 294ea99263385525a1434bc6df690b653ee1f81b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: recipe path broken in recipe detail page
David Reyna [Mon, 30 Mar 2015 14:12:01 +0000 (07:12 -0700)] 
bitbake: toaster: recipe path broken in recipe detail page

The recipe paths in managed mode are not processed correctly. They need
any prefix tags removed, and then any build path prefix removed only if
present.

[YOCTO #7523]

(Bitbake rev: ee5c569ebe21c065508cd816ae8cb8842baf0b7e)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: remove 'targets' from project notification
Belen Barros Pena [Tue, 31 Mar 2015 14:37:48 +0000 (15:37 +0100)] 
bitbake: toasterui: remove 'targets' from project notification

Remove the last remnant of the "targets" wording, which was
lurking in the notification we show you when you create
a project.

(Bitbake rev: ff475c1a6dec883f855dfce7cb0650135da33751)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: searching all projects table resets page count
David Reyna [Tue, 31 Mar 2015 01:26:19 +0000 (18:26 -0700)] 
bitbake: toaster: searching all projects table resets page count

Add missing '_save_parameters_cookies' to preserve page count.

[YOCTO #7483]

(Bitbake rev: 62f486f81f59a3186a57f93c3b102404a3da8a6f)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add layer source in admin throws an error
David Reyna [Tue, 31 Mar 2015 08:58:11 +0000 (01:58 -0700)] 
bitbake: toaster: add layer source in admin throws an error

Preset uninitialized object members to bootstrap new layer source creation.

[YOCTO #7437]

(Bitbake rev: 4de721aa75a4aaad186312443726e6daa764934b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: correct terminology in landing page
Belen Barros Pena [Tue, 31 Mar 2015 14:59:17 +0000 (15:59 +0100)] 
bitbake: toasterui: correct terminology in landing page

Change the introductory description of Toaster
we provide on first use, to make sure it mentions
all the bits that make up the build system, and
not just BitBake.

(Bitbake rev: ed741d022e9bd13cbef5c71e33b1e68cb2e42d9b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: BuildButton target input allow building targets with tasks
Michael Wood [Fri, 27 Mar 2015 15:49:54 +0000 (15:49 +0000)] 
bitbake: toaster: BuildButton target input allow building targets with tasks

Allow the input for targets to contain tasks in the form target:task

[YOCTO #7501]

(Bitbake rev: cf7d0418ff2d4aec508c7942f96e9b52a491b25e)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: base.js minor jshint fixes
Michael Wood [Fri, 27 Mar 2015 15:49:55 +0000 (15:49 +0000)] 
bitbake: toaster: base.js minor jshint fixes

Fixing errors identified by jshint, some missing semicolons and
preference for === operator. Also pass the urldata in libtoaster as an
object rather than constructing a query string.

(Bitbake rev: 8652fbaf5e8c56d9d28b7da57432f37313a19b4a)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch/git: Remove a possible trailing '/' in subpath
Anders Darander [Fri, 17 Apr 2015 05:49:42 +0000 (07:49 +0200)] 
bitbake: fetch/git: Remove a possible trailing '/' in subpath

If the subpath parameter to the git fetcher ends with a trailing '/',
 bb.utils.prunedir() will be called on '/'...

Fixes [YOCTO #7620].

(Bitbake rev: 380a3fb372c8b0a53dd7528562e6e7a222dc76ef)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: minor spelling fixes
Andre McCurdy [Thu, 16 Apr 2015 23:03:50 +0000 (16:03 -0700)] 
bitbake: toastergui: minor spelling fixes

  RRECOMENDS -> RRECOMMENDS
  TRECOMENDS -> TRECOMMENDS

(Bitbake rev: 8cb95090c4b35b3fa54b25110ed6be4ef0d18e15)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation: Preparation for 1.9 builds
Scott Rifenbark [Tue, 14 Apr 2015 22:11:31 +0000 (15:11 -0700)] 
documentation: Preparation for 1.9 builds

This involves the following:

 * Inserting a new row for all manual revision history tables
   to have "October 2015" and 1.9 as the release information.

 * Updating the mega-manual.sed file to process links for 1.9

 * Updating variables in poky.ent to deal with the 1.9 release
   variables.

(From yocto-docs rev: 1ed55c08b96cf0fded38833635111a5c6da86781)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-project-qs: Added MinnowBoard MAX example to "Super User"
Scott Rifenbark [Tue, 14 Apr 2015 21:31:01 +0000 (14:31 -0700)] 
yocto-project-qs: Added MinnowBoard MAX example to "Super User"

(From yocto-docs rev: b7ef42f44757a81ca1084351e2866c8f0894083c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-manual: Updated the Makefile-based project section.
Scott Rifenbark [Tue, 14 Apr 2015 13:49:55 +0000 (06:49 -0700)] 
adt-manual: Updated the Makefile-based project section.

Fixes [YOCTO #7133]

Added more examples of how variables work in Makefile projects.

(From yocto-docs rev: e8aa42f3609de3dfe94c022d957b855a4f7ef032)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated the section on oe-init-build-env-memres
Scott Rifenbark [Mon, 13 Apr 2015 22:16:39 +0000 (15:16 -0700)] 
ref-manual: Updated the section on oe-init-build-env-memres

Fixes [YOCTO #7559]

Added some explanation on the syntax.  As it was, the positionally
dependent nature of the script's parameters was not accounted
for.  This is now explained.  Also, talked a bit about the
bitbake-cookerdaemon.log file.

(From yocto-docs rev: fcf52a15acea2d75df9c84550d7e73c988ffb4bb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Fixed two spelling errors.
Scott Rifenbark [Mon, 13 Apr 2015 19:14:49 +0000 (12:14 -0700)] 
ref-manual: Fixed two spelling errors.

(From yocto-docs rev: 2725c01a396a877cfa70471238d8195673ed53ff)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden
Richard Purdie [Wed, 15 Apr 2015 13:13:22 +0000 (14:13 +0100)] 
toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden

In multilib and baremetal configurations, this variable can cause a variety of
problems due to the use of TCLIBC. At least allowing it to be overriden
is a start and allows various configurations to avoid the issue.

(From OE-Core rev: cfc43743b0e41cf168cad9cbd4e9d870b8f01f03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-player: Fix typo
Gary Thomas [Thu, 9 Apr 2015 12:13:09 +0000 (06:13 -0600)] 
gst-player: Fix typo

The subtitle (shown in desktop icon) should say
  Basic media player
    -not-
  Basic media plaer

(From OE-Core rev: f672fae1b1647f7a628ba9ba92fd4fab81d91546)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: fix an incorrect patch for 0.161
Junling Zheng [Thu, 9 Apr 2015 12:56:27 +0000 (12:56 +0000)] 
elfutils: fix an incorrect patch for 0.161

The original uclibc-support.patch is not compatible with elfutils-0.161.
It should be corrected through adjusting context.

So regenerate a new patch for elfutils-0.161, rename the patch for
elfutils-0.148, and put them into respective directories.

(From OE-Core rev: 64acb72e7ec63528073d8290137fe74d3382f876)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocrypto: use bigint in x86-64 perl
Armin Kuster [Fri, 10 Apr 2015 17:45:20 +0000 (10:45 -0700)] 
crypto: use bigint in x86-64 perl

on some hosts openssl fails to build with this error:

ghash-x86_64.s: Assembler messages:
ghash-x86_64.s:890: Error: junk '.15473355479995e+19' after expression

backported fix from community.

(From OE-Core rev: 8230f873921d5c16106e3ebf57053a646bc6ad78)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: fix build with -Os
Martin Jansa [Fri, 10 Apr 2015 10:18:28 +0000 (12:18 +0200)] 
elfutils: fix build with -Os

(From OE-Core rev: c46661bf4ffe1a474e4bcfadb4a3f12a46e8cc4a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: add syslinux-nomtools to PACKAGES
Robert Yang [Mon, 13 Apr 2015 09:05:17 +0000 (02:05 -0700)] 
syslinux: add syslinux-nomtools to PACKAGES

The default installed syslinux depends on mtools, we install
syslinux-nomtools too, which has the ext2/3/4 support.

(From OE-Core rev: 649110f5ab435231153e8f309ad2370e76c31e4f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-firmware: fix the mess of licenses
Jackie Huang [Mon, 13 Apr 2015 02:17:21 +0000 (10:17 +0800)] 
linux-firmware: fix the mess of licenses

Each firmware has their own license, it was a kind of a mess to
leave the license as Proprietary and we got a lot warnings like:

WARNING: The license listed Firmware-atheros_firmware was not in the
licenses collected for linux-firmware

To fix this and make it more clear:
- Fix some incorrect license names.
- Add all license files into common-licenses in previous commit.
- Add all licenses and their md5 values in alphabetical order.
- Add pn-*-license to split up per firmware package and pn-license for others.
- Re-order the codes for each split-out firmware as:
  LICENSE_*, FILES_*, RDEPENDS_*

[YOCTO #7539]

(From OE-Core rev: 1ee083da0730408fffdbbf5f29abc299c0e61be9)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocommon-licenses: Add common license files for linux-firmware
Jackie Huang [Mon, 13 Apr 2015 02:17:20 +0000 (10:17 +0800)] 
common-licenses: Add common license files for linux-firmware

[YOCTO #7539]

(From OE-Core rev: 9021ee03e0f9bd36b0ce63fa29dd010e07241fdb)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: upgrade to 20
Chen Qi [Mon, 13 Apr 2015 01:55:04 +0000 (09:55 +0800)] 
kmod: upgrade to 20

The following patches are rebased.
-- Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
-- avoid_parallel_tests.patch

The ptest part of kmod is removed because new version of kmod port all tests to
use modules from module-playground instead of copying prebuilt modules to the
repository. So, we cannot use ptest as before. Remove it so that kmod can build
successfully.

(From OE-Core rev: f80d136bdd578468035a88125fa1b84973fd912b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: Add test for layer append and FILESPATH tracking
Richard Purdie [Mon, 13 Apr 2015 16:03:42 +0000 (17:03 +0100)] 
oeqa: Add test for layer append and FILESPATH tracking

This test actually tests a spectrum of bitbake functionality. Three
layers are created, one containing a recipe, one with a bbappend adding
a file to the recipe and another which overwrites the file in another
bbappend.

The correct outcomes in building the recipe are tested, with the file
in the final layer added, removed and then re-added.

This tests bitbake's cache handling as well as restoration from
sstate which happens in the final test phase.

Based on a test case from:
[YOCTO #7019]

(From OE-Core rev: e57437c0e02b148a878c8db91660674069fbd6e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Print bitbake error output
Ed Bartosh [Sat, 4 Apr 2015 21:03:05 +0000 (00:03 +0300)] 
wic: Print bitbake error output

Added bitbake error output to wic error message to make it
more descriptive.

[YOCTO #6911]

(From OE-Core rev: f68576d4c9cecbe7122325d7fc78c9b27ff07a8e)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: use native parted
Ed Bartosh [Mon, 6 Apr 2015 17:43:35 +0000 (20:43 +0300)] 
wic: use native parted

Used exec_native_cmd instead of find_binary_path to run parted.
Got rid of find_binary_path as it's not used anywhere else.

There are several tools wic is trying to find not only in sysroot,
but also in host root. Parted is a special as on some distros it's
installed in /usr/sbin, which is not in the user's PATH. This makes
wic to fail with error "External command 'parted' not found, exiting."

[YOCTO #7122]

(From OE-Core rev: 76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-layers: ensure non-extended recipe name is preferred
Richard Purdie [Tue, 7 Apr 2015 13:14:04 +0000 (14:14 +0100)] 
bitbake: bitbake-layers: ensure non-extended recipe name is preferred

In show-recipes and show-overlayed, we only list one variant of each
recipe where multiple exist, therefore we should show the main one (e.g.
in OpenEmbedded, we now show openssl and not nativesdk-openssl which
would otherwise sort first.)

Fixes [YOCTO #7514].

(Bitbake rev: c4172fe33f0c63eda7f4af2bd36a5e9738e13595)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error 1.18: simplify tupple handling and add armv8b support
Koen Kooi [Mon, 13 Apr 2015 06:08:40 +0000 (08:08 +0200)] 
libgpg-error 1.18: simplify tupple handling and add armv8b support

Add a default option to the case statement and remove the duplicates. Also add support for armv8b architectures.

(From OE-Core rev: 8d207e55031c0b93387e728f4312b8cb34ad5b12)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-init-build-env: fix for build dirs that have spaces in their path
Joshua Lock [Mon, 13 Apr 2015 15:30:02 +0000 (16:30 +0100)] 
oe-init-build-env: fix for build dirs that have spaces in their path

Enclose expansions of BUILDDIR in quotes in order to correctly handle paths
which include spaces.

(From OE-Core rev: 0c08723cf5ebc1a7df7dc4ca36cffa090286468c)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdb: Refresh patches against git
Khem Raj [Sat, 11 Apr 2015 01:20:47 +0000 (18:20 -0700)] 
gdb: Refresh patches against git

Drop dead patches sim-install.patch, uclibc.patch

Change-Id: I5bd160d0959154896096ebc93a8a450d04979c73
(From OE-Core rev: 682ab52d776d74fb5ede949505f72b4c15ae8191)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Mark glibc headers under __GLIBC__
Khem Raj [Sat, 11 Apr 2015 01:20:46 +0000 (18:20 -0700)] 
kbd: Mark glibc headers under __GLIBC__

Change-Id: I4e91038ea8b05defbb9d574c61eea96ccc064e51
(From OE-Core rev: f4ad72e6e46e481d3fad920be9bb417fd175a991)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xf86-config: Preload graphics driver modules for musl
Khem Raj [Sat, 11 Apr 2015 01:20:45 +0000 (18:20 -0700)] 
xserver-xf86-config: Preload graphics driver modules for musl

musl does not support BIND_LAZY intentionally, which means
dlopen will always complain about missing symbols which is what
X does when loading graphics drivers, here we preload the needed
drivers for all emulator machines if libc is musl

Change-Id: I908c94c30db8a5e872922e1a677126d82fa17145
(From OE-Core rev: 92be71296e1b7ed1e6387ae381942072aa3bb4f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: Disable hardening for musl
Khem Raj [Sat, 11 Apr 2015 01:20:44 +0000 (18:20 -0700)] 
sudo: Disable hardening for musl

musl does not yet enable ssp

Change-Id: If40ab0a54b17d5528676b1268182b6c7e7ef5761
(From OE-Core rev: a583f81d9bc6ae984699d9aba7a53019ff0afc23)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopulseaudio: Fix build with musl
Khem Raj [Sat, 11 Apr 2015 01:20:43 +0000 (18:20 -0700)] 
pulseaudio: Fix build with musl

It reimplements some of standard C library functions but then it assumed
glibc so we need to break that assumption into conditional defines

Change-Id: I92109c2e4c48ab4c3565f64e68d9cbb165823b45
(From OE-Core rev: 87a55935a6d5f038c5a8a4c7f2357dd972d2fa92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Use __GLIBC__ instread of __linux__ to denote glibc dependent code
Khem Raj [Sat, 11 Apr 2015 01:20:42 +0000 (18:20 -0700)] 
xserver-xorg: Use __GLIBC__ instread of __linux__ to denote glibc dependent code

Change-Id: Ia899520181feb1c601a76e04a176f4387a331c00
(From OE-Core rev: e9ddb1ba61e1b773e7a0293c0e10f2b329d8bbe1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiptables: Fix build on musl
Khem Raj [Sat, 11 Apr 2015 01:20:41 +0000 (18:20 -0700)] 
iptables: Fix build on musl

Added needed headers and resuffled existing ones to get it portable
Added defined for missing TCOPTS*

Change-Id: I74977dd052c5569b00631379d7f4bacfb86cf381
(From OE-Core rev: d30fba63286dc8f5ac72ac65fae6af6001e58ec2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: Fix build for musl
Khem Raj [Sat, 11 Apr 2015 01:20:40 +0000 (18:20 -0700)] 
perl: Fix build for musl

The changes are covered under "${TARGET_OS}" = "linux-musl"

Change-Id: I24a1a8e07abb35c7e3d64b372addfb3bd6f7731c
(From OE-Core rev: 3386ab153608f584e6b7e17c4bd0554e2ab31c66)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibfm-extra: Add own nls.m4
Khem Raj [Sat, 11 Apr 2015 01:20:38 +0000 (18:20 -0700)] 
libfm-extra: Add own nls.m4

It helps to build when NLS is disabled distro-wide
otherwise it has dependency on gettext to provide it

Change-Id: Ib6920629b5ab1a1938cc5dfa447078f6fca234c7
(From OE-Core rev: 67a76eae50182da4426f35a96802f5d08b38e69b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovte: Pass _GNU_SOURCE via CFLAGS
Khem Raj [Sat, 11 Apr 2015 01:20:37 +0000 (18:20 -0700)] 
vte: Pass _GNU_SOURCE via CFLAGS

It uses function extentions like  ptsname_r()
so we need to let build know about it

Change-Id: I5a06d08c56529a6b2cf3adf264656ae03b95c1d4
(From OE-Core rev: 1aa0346cf2a2104cfc969bfeb4ac58fa923d5fcb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomusl: Enable NLS
Khem Raj [Sat, 11 Apr 2015 01:20:36 +0000 (18:20 -0700)] 
musl: Enable NLS

It supports it, so lets enable it even though
we can compile lot of stuff without NLS but its
harder to get them all compiled without NLS

Change-Id: I49a06c05b004654dabbef980c4e6ad991d581341
(From OE-Core rev: 6cf978dfcc90632680db15b58f8f9edbbd7c083b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoppp: Add extra include dirs
Khem Raj [Sat, 11 Apr 2015 01:20:35 +0000 (18:20 -0700)] 
ppp: Add extra include dirs

Just run configure, the configure script is not really
a autoconf generated script so just run it

Include path is needed to be there since
the headers from it are used during build in subcomponents

Change-Id: Ib1f24fd18bc8564e3c74ab834b7cf0fdf955d0e1
(From OE-Core rev: c64c9f7ffc88018404afdde373dfd7ef2bdf7ae8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibproxy: Include select.h for posix compliance
Khem Raj [Sat, 11 Apr 2015 01:20:34 +0000 (18:20 -0700)] 
libproxy: Include select.h for posix compliance

unearthed with musl

Change-Id: I527139905785f253e41dd6a2f0cf555eee752a3a
(From OE-Core rev: 615ade48bfb8f1d1287e4ec79f4e2f4b610bdb5b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: add runtime dependency on sed
Dmitry Eremin-Solenikov [Thu, 9 Apr 2015 19:58:52 +0000 (22:58 +0300)] 
groff: add runtime dependency on sed

This is to suppress the following QA warning:
groff-1.22.2: groff requires /bin/sed, but no providers in its RDEPENDS [file-rdeps]

(From OE-Core rev: 1763ff614d11c78bf36d80d27dd6a4f45cbea070)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: add sed-native to ASSUME_PROVIDED
Dmitry Eremin-Solenikov [Thu, 9 Apr 2015 19:58:53 +0000 (22:58 +0300)] 
bitbake.conf: add sed-native to ASSUME_PROVIDED

There is no reason to build sed for the host, however now:
ERROR: Nothing RPROVIDES 'sed-native' (but virtual:native:/OE/sources/openembedded-core/meta/recipes-extended/groff/groff_1.22.2.bb RDEPENDS on or otherwise requires it)

(From OE-Core rev: 5111407cfe59bd368e2528d953282b74d78057ed)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager: RpmPM: Fix scriptlet for rpm 4
Jean-Benoit MARTIN [Fri, 10 Apr 2015 13:15:29 +0000 (15:15 +0200)] 
package_manager: RpmPM: Fix scriptlet for rpm 4

Path of rpm post install script is different between rpm 4 and 5

(From OE-Core rev: a880669f767532ce3c39eb160fa9deb9fce29677)

Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotiff: remove extra dev and dbg from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:07 +0000 (02:30 -0700)] 
tiff: remove extra dev and dbg from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: dd65ee47d04f3f8e51a7abec02d564b9e46626ae)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysfsutils: remove libsysfs-dev and libsysfs-staticdev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:06 +0000 (02:30 -0700)] 
sysfsutils: remove libsysfs-dev and libsysfs-staticdev from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: 0b6f0efe7a96782634f72a68ee14a48205bf9577)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopciutils: remove libpci-dev and libpci-dbg from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:05 +0000 (02:30 -0700)] 
pciutils: remove libpci-dev and libpci-dbg from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: 91f91ff86f3259caaad290fa4efc288e502d4970)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: remove libopkg-dev and libopkg-staticdev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:04 +0000 (02:30 -0700)] 
opkg: remove libopkg-dev and libopkg-staticdev from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: ebd0f747feee5bc8f5b2433127cb263a17351f45)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxmu: remove libxmuu-dev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:03 +0000 (02:30 -0700)] 
libxmu: remove libxmuu-dev from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: fbb0aa87fb178fd89c8828d8611b618bf21e5799)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtool: remove libltdl-dev libltdl-dbg libltdl-staticdev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:02 +0000 (02:30 -0700)] 
libtool: remove libltdl-dev libltdl-dbg libltdl-staticdev from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: 5e40bcd93d9ea64f1a6d75e62aabda3dcb33fc01)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: remove libdw-dev libasm-dev libelf-dev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:01 +0000 (02:30 -0700)] 
elfutils: remove libdw-dev libasm-dev libelf-dev from PACKAGES

There should be only one dev and dbg package

(From OE-Core rev: 0dacfcc974068569f88adc8e33aea3ee1c7676de)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl: remove extra dev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:29:59 +0000 (02:29 -0700)] 
cogl: remove extra dev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: e6be75c98edf878f73e530bc6e63b3c50bf365cc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoaugeas: remove extra dev and dbg from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:29:58 +0000 (02:29 -0700)] 
augeas: remove extra dev and dbg from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: 29136f21d33f211fc93c01c06ef636e2f8cdf909)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapmd: remove libapm-dev and libapm-staticdev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:29:57 +0000 (02:29 -0700)] 
apmd: remove libapm-dev and libapm-staticdev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: 4e6a03256ac527c69022a7136ca5c3cde2a8fc36)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoaspell: remove libpspell-dev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:29:56 +0000 (02:29 -0700)] 
aspell: remove libpspell-dev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: b2a59adec6804dfeb85f2aef6bd8f7b2d07929b4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacl/attr: remove extra dev and staticdev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:29:55 +0000 (02:29 -0700)] 
acl/attr: remove extra dev and staticdev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: 93afa6fcc0f84f305fad97407ef408e7a1e37652)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobzip2: remove libbz2-dev libbz2-staticdev from from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:29:54 +0000 (02:29 -0700)] 
bzip2: remove libbz2-dev libbz2-staticdev from from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: 8a8e8bf374a7c41a9056f446f11889992fec3448)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: setup infrastructure for nosetests
Ed Bartosh [Fri, 10 Apr 2015 10:22:35 +0000 (13:22 +0300)] 
wic: setup infrastructure for nosetests

cd scripts && nosetests runs 3 simple tests and
produces nice test coverage report for wic codebase.

This infra can be used to test other scripts and modules.

(From OE-Core rev: 510dadc2cd8ff8a09932c101512dba74d4624a07)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add argv argument to main
Ed Bartosh [Thu, 9 Apr 2015 18:41:20 +0000 (21:41 +0300)] 
wic: Add argv argument to main

Make it possible to call wic as an API from tests passing
command line parameters as arguments to main.

This is yet another enabler for wic unit testing.

(From OE-Core rev: 8cb9ac3751424d429a38f6f80d733b289b6684ea)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Use __file__ instead of sys.argv[0]
Ed Bartosh [Thu, 9 Apr 2015 12:54:35 +0000 (15:54 +0300)] 
wic: Use __file__ instead of sys.argv[0]

Using __file__ makes the code work independently of the way
it's loaded. In some cases wic can be imported by another
program without executing it. sys.argv[0] would not contain
path to the wic in such a cases.

This is an enabler for unit testing with nose framework.

(From OE-Core rev: 7166262032648dbbc8b4b476c8770e35b1d4e234)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic:code cleanup: No space allowed
Ed Bartosh [Thu, 9 Apr 2015 11:36:49 +0000 (14:36 +0300)] 
wic:code cleanup: No space allowed

Fixed pylint warning
  'No space allowed around keyword argument assignment'

(From OE-Core rev: e07dd9b9c71960fbeded162ed52fbce06de620e9)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane.bbclass: Enhance file-rdeps QA check
Alejandro Hernandez [Thu, 9 Apr 2015 21:55:58 +0000 (16:55 -0500)] 
insane.bbclass: Enhance file-rdeps QA check

Adds symlink-to-sysroot check to QA_WARN to detect symlinks that
point to locations under TMPDIR, which are most likely broken.

Changes filerdepends from set() to dict(), hence methods for adding
or deleting items had to change too. Now it keeps track of key:value
relationship, flags the QA issue; warning the user about which
file/package causes the problem, making it easier to debug.

[YOCTO #7126]

(From OE-Core rev: 9946909dc95c3274a98112cf786d171547b3ed75)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-2.7.py: Add fractions to ${PN}-numbers
Tim Orling [Thu, 9 Apr 2015 23:55:22 +0000 (16:55 -0700)] 
generate-manifest-2.7.py: Add fractions to ${PN}-numbers

python-cryptography requires fractions module which is currently unpackaged.

(From OE-Core rev: ac09a1830fffb6aded499ade55c039e35202867e)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopcmciautils: fix for parallel build
Robert Yang [Mon, 30 Mar 2015 02:50:44 +0000 (19:50 -0700)] 
pcmciautils: fix for parallel build

Fixed:
Compiling lex_config.c.
  src/lex_config.l:34:25: fatal error: yacc_config.h: No such file or directory

There was a patch for fixing the paralle issue before, so modify the
patch again.

(From OE-Core rev: e1193feb30fbbfacb430ccbb9f33cd782f7cb87d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: add PACKAGECONFIG for grub-mount and device-mapper
Robert Yang [Thu, 2 Apr 2015 08:55:16 +0000 (01:55 -0700)] 
grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

We had PACKAGECONFIGs for grub_2.00 and grub_git, we also need them for
grub-efi, otherwise there might be failures as:
grub-2.00/util/grub-mount.c:37:23: fatal error: fuse/fuse.h: No such file or directory

(From OE-Core rev: a7fca64d04949e76805e7acc3f617a1cd4a107a7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>