]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agomake-3.82: Add patch from git to fix parallel make race
Colin Walters [Fri, 8 Feb 2013 12:48:52 +0000 (07:48 -0500)]
make-3.82: Add patch from git to fix parallel make race

See: http://savannah.gnu.org/bugs/?30653

This only shows up for projects which have a number of intermediate
targets.  For me, systemd fails to build without this patch, and does
build consistently with it.

WebKitGtk+ is another known affected project.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Cleanup .inc file
Andrei Gherzan [Sat, 9 Feb 2013 22:09:56 +0000 (00:09 +0200)]
udev: Cleanup .inc file

* udev-acl and udev-concolekit have no files so remove these packages
* there's nothing in sbindir so remove useless sbindir = "${base_sbindir}"
* there is no udevinfo or udevtest so remove these from udev-utils
* udevadm is installed in bindir so modify it's path in FILES_udev-utils

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: PR bump
Andrei Gherzan [Sat, 9 Feb 2013 22:09:57 +0000 (00:09 +0200)]
udev: PR bump

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Modify init script to use the correct path of udevadm
Andrei Gherzan [Sat, 9 Feb 2013 22:09:55 +0000 (00:09 +0200)]
udev: Modify init script to use the correct path of udevadm

udevadm is installed in /usr/bin not in /usr/sbin. Init script modified
accordingly.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-native: Don't install dbus-launch
Richard Purdie [Thu, 7 Feb 2013 23:53:51 +0000 (23:53 +0000)]
dbus-native: Don't install dbus-launch

dbus-launch from dbus-native has no X support so lets not install it in
case the host has a more featured and useful version. It can interfere
with running X utils with STAGING_BINDIR_NATIVE is in PATH and we don'
use it anywhere.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodbus: Drop old 1.5.12 version
Richard Purdie [Thu, 7 Feb 2013 23:52:48 +0000 (23:52 +0000)]
dbus: Drop old 1.5.12 version

We have a newer default version...

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoudev: Add start/stop/status/restart support to init script
Jesse Zhang [Sat, 26 Jan 2013 09:16:26 +0000 (17:16 +0800)]
udev: Add start/stop/status/restart support to init script

[ CQID: WIND00388860 ]

Add the ability to use "stop", "start", "restart" and "status"
with the udev initscript.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinitscripts: Add status function to /etc/init.d/functions
Jesse Zhang [Sat, 26 Jan 2013 09:18:54 +0000 (17:18 +0800)]
initscripts: Add status function to /etc/init.d/functions

[ CQID: WIND00388860 ]

Many initscripts want a simple way to display status information.
Add the 'status' function to the functions file.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibcgroup: fix failure for absolute path
Xin Ouyang [Sat, 26 Jan 2013 05:28:30 +0000 (13:28 +0800)]
libcgroup: fix failure for absolute path

[ CQID: WIND00401091 ]

While using sstate or some other conditions, there may be no image
directory in the builddir, so the absolute path of libcgroup.so.1
will cause build failures.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agort-tests: fix cyclictest reported 1 sec latencies
Jim Somerville [Mon, 21 Jan 2013 16:13:31 +0000 (11:13 -0500)]
rt-tests: fix cyclictest reported 1 sec latencies

[ CQID: WIND00391769 ]

Huge latencies reported close to 1 second when certain options
are used in cyclictest.

Extend the original commit to remove the 1 second hardcoded
timer values from the RELTIME and ITIMER options.  Use the
the actual interval instead.

Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocoreutils: remove dependency on coreutils-native
Jesse Zhang [Fri, 11 Jan 2013 05:38:32 +0000 (13:38 +0800)]
coreutils: remove dependency on coreutils-native

[ CQID: WIND00397793 ]

It's not reasonable to build such a low-level package. Remove the
dependency so that we always use the host version.

The 8.14 recipe doesn't have such dependency so needs no change.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc-nativesdk: Fix buffer overrun with a relocated SDK
Jason Wessel [Thu, 10 Jan 2013 18:55:11 +0000 (12:55 -0600)]
eglibc-nativesdk: Fix buffer overrun with a relocated SDK

When ld-linux-*.so.2 is relocated to a path that is longer than the
original fixed location, the dynamic loader will crash in open_path
because it implicitly assumes that max_dirnamelen is a fixed size that
never changes.

The allocated buffer will not be large enough to contain the directory
path string which is larger than the fixed location provided at build
time.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoghostscript: fix endianness detection
Jesse Zhang [Sun, 6 Jan 2013 01:56:19 +0000 (09:56 +0800)]
ghostscript: fix endianness detection

[ CQID: WIND00394747 ]

The original patch removes endianness detection completely, causing lcms
to be built against the wrong endian. Instead, pass the correct endian
through the recipe using SITEINFO_ENDIANNESS.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopenssl: Add mips64 configure support.
Randy MacLeod [Fri, 21 Dec 2012 19:05:46 +0000 (14:05 -0500)]
openssl: Add mips64 configure support.

Add mips64 configure support but assume mips(32) userspace.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibart-lgpl: add art_config for mips64/mips64el
Jesse Zhang [Mon, 17 Dec 2012 08:00:37 +0000 (16:00 +0800)]
libart-lgpl: add art_config for mips64/mips64el

[ CQID: WIND00389505 ]

Generated by gen_art_config.sh

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoghostscript: add pregenerated objarch for mipsel/mips64/mips64el
Jesse Zhang [Mon, 17 Dec 2012 07:58:03 +0000 (15:58 +0800)]
ghostscript: add pregenerated objarch for mipsel/mips64/mips64el

[ CQID: WIND00389504 ]

Generated by building and running base/genarch.c.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base.bbclass: add execution permission for self-extracting archive
Jackie Huang [Tue, 11 Dec 2012 05:34:02 +0000 (13:34 +0800)]
populate_sdk_base.bbclass: add execution permission for self-extracting archive

[ CQID: WIND00392947 ]

It is not good user experience that the self-extracting archive (.sh file)
has no execution permission by default.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoscripts/create-recipe: Bugfixes for create-recipe easy_install handling.
David Nyström [Thu, 7 Feb 2013 10:00:26 +0000 (11:00 +0100)]
scripts/create-recipe: Bugfixes for create-recipe easy_install handling.

1. Tell easy_install to always download, regardless of python
   install content.
2. Support https/ftp et.c. URLs provided by easy_install

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: disable smartcard support
Martin Jansa [Thu, 7 Feb 2013 14:01:31 +0000 (15:01 +0100)]
qemu: disable smartcard support

* sometimes it's autodetected and fails to build:
  | /usr/bin/ld: libcacard/.libs/cac.o: Relocations in generic ELF (EM:40)
  | libcacard/.libs/cac.o: could not read symbols: File in wrong format
  | collect2: ld returned 1 exit status
  | make[1]: *** [libcacard.la] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoRevert: update-rc.d: disable update-rc.d.bbclass when systemd enabled
Saul Wold [Thu, 7 Feb 2013 22:54:13 +0000 (14:54 -0800)]
Revert: update-rc.d: disable update-rc.d.bbclass when systemd enabled

This was just wrong - when systemd is being used there'll still be packages that
use SysV-style init scripts, which systemd supports fine.

This reverts commit b94227f7290796f6ebbe5c5ff1680b9b689022b1.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd_197.bb: Point to the place where we keep the /etc/rcN.d files
Holger Hans Peter Freyther [Thu, 7 Feb 2013 19:39:43 +0000 (20:39 +0100)]
systemd_197.bb: Point to the place where we keep the /etc/rcN.d files

By default /etc/rc.d is searched by systemd but we will keep rcN.d directories
inside /etc.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopseudo.inc: Fix sqlite libdir again, pseudo 1.4.3
Peter Seebach [Tue, 5 Feb 2013 20:21:42 +0000 (14:21 -0600)]
pseudo.inc: Fix sqlite libdir again, pseudo 1.4.3

This updates to pseudo 1.4.3. Changes:

1. A couple of minor tweaks to reduce difficulties using SDKs built
   on slightly more recent machines on older machines; specifically,
   avoiding getting @GLIBC_2.7 symbol references for sscanf(), fscanf(),
   and open2().
2. Revision of the logic determining the library directory to use for
   sqlite's library files.

The latter is a source of difficulty because it's come up a few times
that we may want pseudo to use lib64 for libpseudo.so, but bitbake's
usual setup would have libsqlite3.a in lib regardless of bit width.
Cleaned up previous design a bit by providing a distinct setting for
sqlite-lib, which defaults to the same library directory used for other
things. Adjusted build to use this new setting. (This ends up being
${baselib}; on targets, that might not be lib, but for native builds
it generally is, and for SDK builds it appears to do the right thing.)

Testing: Successful build of meta-toolchain for both 64-bit and 32-bit
SDKMACHINE, and builds with NO32LIBS = "0" also succeeded. Also builds
for multilib targets.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocreate-pull-request: Error message on missing -u
Bernhard Reutner-Fischer [Tue, 5 Feb 2013 15:55:48 +0000 (16:55 +0100)]
create-pull-request: Error message on missing -u

The script was erroring out without a hint on what failed.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: remove redundant setting of MAKE
Bernhard Reutner-Fischer [Tue, 5 Feb 2013 15:55:47 +0000 (16:55 +0100)]
base.bbclass: remove redundant setting of MAKE

oe_runmake() tried to set MAKE a second time, remove it since this is
(nowadays?) redundant WRT the normal export MAKE= in the generated
scripts.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agouclibc: turn on kernel module support
Bernhard Reutner-Fischer [Tue, 5 Feb 2013 15:55:43 +0000 (16:55 +0100)]
uclibc: turn on kernel module support

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agouclibc: add c6x arch
Bernhard Reutner-Fischer [Tue, 5 Feb 2013 15:55:42 +0000 (16:55 +0100)]
uclibc: add c6x arch

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: Commentary typo fix
Bernhard Reutner-Fischer [Tue, 5 Feb 2013 15:55:41 +0000 (16:55 +0100)]
base.bbclass: Commentary typo fix

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu.bbclass: fix segfaults when running through pseudo
Laurentiu Palcu [Thu, 7 Feb 2013 16:13:37 +0000 (16:13 +0000)]
qemu.bbclass: fix segfaults when running through pseudo

qemu user binaries sometimes segfault when running them through pseudo.
So, set PSEUDO_UNLOAD to 1 before running any qemu binary.

[YOCTO #3788]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu.bbclass: Use the correct qemu binary in multilib cases
Richard Purdie [Thu, 7 Feb 2013 13:34:27 +0000 (13:34 +0000)]
qemu.bbclass: Use the correct qemu binary in multilib cases

For example with a lib32 multilib, we need to still use the 64 bit
qemu binary in case we do encounter a 64 bit binary.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: Add MLPREFIX to DEPENDS
Richard Purdie [Thu, 7 Feb 2013 13:32:55 +0000 (13:32 +0000)]
image.bbclass: Add MLPREFIX to DEPENDS

Add MLPREFIX to DEPENDS to ensure the correct qemuwrapper is dependended upon. Its searched
for in PATH so we need to do this to ensure the correct version is present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuwrapper: Don't use STAGING_BINDIR_CROSS directly
Richard Purdie [Thu, 7 Feb 2013 12:40:35 +0000 (12:40 +0000)]
qemuwrapper: Don't use STAGING_BINDIR_CROSS directly

We need the files to be tracked by sstate so we need to jump through
some hoops to ensure this happens. The cross bindir directory
isn't staged automatically so we need to handle this outselves.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: Check for DISPLAY for qemutests in BB_ORIGENV now
Richard Purdie [Thu, 7 Feb 2013 09:16:18 +0000 (09:16 +0000)]
sanity.bbclass: Check for DISPLAY for qemutests in BB_ORIGENV now

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: Really disable mesa
Richard Purdie [Thu, 7 Feb 2013 09:07:39 +0000 (09:07 +0000)]
directfb: Really disable mesa

Mesa was disabled in the .inc but not in the main recipe where a separate
EXTRA_OECONF is used. Fix disabling mesa there too to avoid build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimagetest-qemu: Adapt to bitbake environment changes
Richard Purdie [Wed, 6 Feb 2013 23:16:34 +0000 (23:16 +0000)]
imagetest-qemu: Adapt to bitbake environment changes

Load environment variables like DISPLAY from BB_ORIGENV after recent
bitbake changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal.bbclass: Use BB_ORIGENV to restore user environmental variables
Richard Purdie [Tue, 5 Feb 2013 16:01:20 +0000 (16:01 +0000)]
terminal.bbclass: Use BB_ORIGENV to restore user environmental variables

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Update hashconfig after BB_ORIGENV changes
Richard Purdie [Wed, 6 Feb 2013 23:34:52 +0000 (23:34 +0000)]
bitbake.conf: Update hashconfig after BB_ORIGENV changes

We should ignore BB_ORIGENV from the hash for the config data. There
are also a number of variables which no longer make it into the data
store so we can drop these from the hash whitelist.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Replace undefined 'src' with valid variable
Khem Raj [Wed, 6 Feb 2013 21:54:31 +0000 (13:54 -0800)]
package.bbclass: Replace undefined 'src' with valid variable

After rewrite of split_and_strip_files src var is no longer
available here where it is used so we should replace it with
a valid value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Ensure package_get_auto_pr is run at the correct point
Richard Purdie [Wed, 6 Feb 2013 16:49:51 +0000 (16:49 +0000)]
package.bbclass: Ensure package_get_auto_pr is run at the correct point

This needs to run before PKGR and other variables using PRAUTO are used,
including the expansion optimisations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake-prserv-tool: show error when export file does not exist
Martin Jansa [Wed, 6 Feb 2013 14:23:38 +0000 (15:23 +0100)]
bitbake-prserv-tool: show error when export file does not exist

* otherwise it shows error about failing import

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitiscripts: Fix populate-volatiles.sh whitespace
Richard Purdie [Wed, 6 Feb 2013 14:26:10 +0000 (14:26 +0000)]
initiscripts: Fix populate-volatiles.sh whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Add missing R* variables to pkgvarcheck
Martin Jansa [Wed, 6 Feb 2013 13:25:22 +0000 (14:25 +0100)]
insane.bbclass: Add missing R* variables to pkgvarcheck

* check also RSUGGESTS, RCONFLICTS, RPROVIDES, RREPLACES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxscrnsaver: improve RREPLACES to add libxss only for PN
Martin Jansa [Wed, 6 Feb 2013 13:54:24 +0000 (14:54 +0100)]
libxscrnsaver: improve RREPLACES to add libxss only for PN

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: be explicit when enabling ofono
Ross Burton [Wed, 6 Feb 2013 13:36:52 +0000 (13:36 +0000)]
connman: be explicit when enabling ofono

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: return list of packages created in do_split_packages
Martin Jansa [Wed, 6 Feb 2013 00:56:14 +0000 (01:56 +0100)]
package.bbclass: return list of packages created in do_split_packages

* sometimes it's useful to do something with packages created
  by do_split_packages later in do_package_prepend, e.g. in:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-February/043824.html
  I have .bbclass which adds some postinst, postrm and RDEPENDS,
  but ttf-mplus is using do_split_packages to create those packages

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.conf: Update minimum bitbake version
Richard Purdie [Wed, 6 Feb 2013 13:13:38 +0000 (13:13 +0000)]
sanity.conf: Update minimum bitbake version

We need this for the multiprocessing pool issues in python < 2.7.3 whic
we now use in do_package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/create-recipe: Python improvements for create-recipe.
David Nyström [Mon, 4 Feb 2013 12:32:51 +0000 (13:32 +0100)]
scripts/create-recipe: Python improvements for create-recipe.

1. Added ability to parse .zip files.
2. Added optional automatic dependency resolving for python
   recipes(easy_install wrapper).
3. Fixed a few name/version bugs.

Give it a whirl by:
create-recipe -r https://launchpad.net/nova/folsom/2012.2.3/+download/nova-2012.2.3.tar.gz

Saves me some time unwinding python dependencies, and creating template recipes.

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Pre-expand some variables to save time
Richard Purdie [Sun, 3 Feb 2013 17:59:03 +0000 (17:59 +0000)]
package.bbclass: Pre-expand some variables to save time

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Better document the different phases of operation
Richard Purdie [Sun, 3 Feb 2013 17:36:33 +0000 (17:36 +0000)]
package.bbclass: Better document the different phases of operation

Add headers to document the different phases of do_package and
make the steps clearer.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Add PACKAGESPLITFUNCS variable
Richard Purdie [Sun, 3 Feb 2013 17:31:30 +0000 (17:31 +0000)]
package.bbclass: Add PACKAGESPLITFUNCS variable

Prepending to populate_packages is rather ugly and means its hard to trace
errors and also profiling informaiton is summed together in one function.

This patch starts to split out the prepends to become separate functions
to avoid these issues. This is generally a neater way to write functions
than prepending to where there can sometimes be variable scope issues
and we've been bitten by whitespace issues in the past.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Simplify empty directory removal
Richard Purdie [Sun, 3 Feb 2013 17:29:04 +0000 (17:29 +0000)]
package.bbclass: Simplify empty directory removal

Rather than an exec() per directory, we might as well exec one command and
be done with it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Various minor performance tweaks
Richard Purdie [Sun, 3 Feb 2013 17:25:30 +0000 (17:25 +0000)]
package.bbclass: Various minor performance tweaks

* Call getVar outside the loop
* Drop unneeded PATH export (bitbake does this already)
* Drop unused variable
* Simplify if statement nesting
* Simplify variable expandion to a getVar call (expand would just call getVar)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Make use of cleandirs and dirs function flags
Richard Purdie [Sun, 3 Feb 2013 17:21:40 +0000 (17:21 +0000)]
package.bbclass: Make use of cleandirs and dirs function flags

We can use the cleandirs and dirs flags for the fuctions to handle
directory cleaning and creation at the bitbake level rather than
using these calls within the functions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Improve populate_packages_prepend
Richard Purdie [Sun, 3 Feb 2013 17:17:30 +0000 (17:17 +0000)]
kernel.bbclass: Improve populate_packages_prepend

Small performance tweaks for populate_packages_prepend:

* Compile the regexps once at the start
* Don't keep importing a module which is already imported
* No need to check PKG is set, we'd have failed long before now if it wasn't
* Don't export PATH, bitbake takes care of this at the task level

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Rewrite split_and_strip_files
Richard Purdie [Sun, 3 Feb 2013 17:11:58 +0000 (17:11 +0000)]
package.bbclass: Rewrite split_and_strip_files

The split_and_strip_files funciton was hard to follow and its usage of prefixes
to strings was unusual. This rewrites it to use a list of hardlinks, symlinks and
elffiles where each list is iterated over at the correct point.

This means we can avoid creating dandling symlinks for example so we can simply
delete the cleanup code for this.

The isfile() check is also removed which gives a significant improvement in speed.
Its uneeded since os.walk will have already checked things in files are files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Fix up bb.mkdirhier/bb.copyfile usage
Richard Purdie [Sun, 3 Feb 2013 17:09:26 +0000 (17:09 +0000)]
package.bbclass: Fix up bb.mkdirhier/bb.copyfile usage

These are in bb.utils so lets the correct function and avoid the overhead
of the fixup/warning for the deprecated usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-rc.d: Drop OVERRIDES code
Richard Purdie [Sun, 3 Feb 2013 17:02:47 +0000 (17:02 +0000)]
update-rc.d: Drop OVERRIDES code

The data store copy and overrides is overkill given the small number
of accesses that are being made. This simplifies the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Drop unused/legacy function
Richard Purdie [Sun, 3 Feb 2013 17:00:52 +0000 (17:00 +0000)]
staging.bbclass: Drop unused/legacy function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging/insane.bbclass: Move legacy do_stage check iinto insane.bbclass
Richard Purdie [Sun, 3 Feb 2013 16:59:09 +0000 (16:59 +0000)]
staging/insane.bbclass: Move legacy do_stage check iinto insane.bbclass

We might as well put all the sanity checks in one place.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Add documentation headers for logical code blocks
Richard Purdie [Sun, 3 Feb 2013 16:58:02 +0000 (16:58 +0000)]
insane.bbclass: Add documentation headers for logical code blocks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Add pkgvarcheck to check for suboptimal usages of variables
Richard Purdie [Sun, 3 Feb 2013 16:54:00 +0000 (16:54 +0000)]
insane.bbclass: Add pkgvarcheck to check for suboptimal usages of variables

Check through the variables:
'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm'
and if there is a variable set which isn't package specific, inform the user
of this.

Using these variables without a package suffix is bad practise and complicates
dependencies of packages unnecessarily as well as complicates the code. Lets
convert the remaining issues and then we can take the small performance gain.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: use the multiprocess pool from bitbake
Richard Purdie [Wed, 6 Feb 2013 00:29:43 +0000 (00:29 +0000)]
package.bbclass: use the multiprocess pool from bitbake

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage: Process package stripping in parallel
Richard Purdie [Fri, 1 Feb 2013 15:03:41 +0000 (15:03 +0000)]
package: Process package stripping in parallel

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage: Don't export PATH
Richard Purdie [Fri, 1 Feb 2013 14:28:34 +0000 (14:28 +0000)]
package: Don't export PATH

PATH is already exported, we don't need to do this each time we run
something, its just noise and overhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Multithread per file dependency generation code
Richard Purdie [Fri, 1 Feb 2013 13:50:38 +0000 (13:50 +0000)]
package.bbclass: Multithread per file dependency generation code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Ensure build directory is cleaned to start with
Richard Purdie [Mon, 4 Feb 2013 11:27:36 +0000 (11:27 +0000)]
sstate.bbclass: Ensure build directory is cleaned to start with

This directory is cleaned upon completion however if a previous build
crashes, it can lead to corrpution, hence ensure its clean at the start
too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate/path.py: Add copyhardlinktree() function and use for performance optimisation
Richard Purdie [Sun, 3 Feb 2013 17:34:54 +0000 (17:34 +0000)]
sstate/path.py: Add copyhardlinktree() function and use for performance optimisation

Add a function which copys a tree as a set of hardlinks to the original
files, then use this in sstate to reduce some of the overhead of sstate
package creation since the file isn't actually copied.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:08 +0000 (11:26 +0200)]
systemd: remove /var/cache from volatiles

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: remove /var/volatiles/cache/rpm from the FILEs list
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:09 +0000 (11:26 +0200)]
rpm: remove /var/volatiles/cache/rpm from the FILEs list

Since /var/cache is not in volatiles anymore, this entry has to go.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:07 +0000 (11:26 +0200)]
initscripts: remove /var/cache from volatiles

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofs-perms: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:06 +0000 (11:26 +0200)]
fs-perms: remove /var/cache from volatiles

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-files: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:05 +0000 (11:26 +0200)]
base-files: remove /var/cache from volatiles

Having the cache in tmpfs implies cache regeneration after every reboot.
For an embedded device this might not be very efficient. So, it is
better for the cache to be persistent between reboots.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: fix CVE-2013-0254
Eric Bénard [Tue, 5 Feb 2013 14:04:12 +0000 (15:04 +0100)]
qt4: fix CVE-2013-0254

fix "POSIX shared memory segments created world-writeable"

more details :
http://lists.qt-project.org/pipermail/announce/2013-February/000023.html

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonetbase: split up in netbase and init-ifupdown
Constantin Musca [Mon, 4 Feb 2013 17:13:20 +0000 (19:13 +0200)]
netbase: split up in netbase and init-ifupdown

- netbase should only include etc-rpc, etc-protocols, etc-services
and the hosts file
- the init script/configuration files should be in another package
(init-ifupdown)

[YOCTO #2486]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: add read-only-rootfs-hook.sh script
Chen Qi [Tue, 29 Jan 2013 04:24:43 +0000 (12:24 +0800)]
initscripts: add read-only-rootfs-hook.sh script

Add read-only-rootfs-hook.sh script to support a read-only rootfs.
This script makes a union mount of /var/lib and /var/volatile/lib,
making /var/lib directory writable.

[YOCTO #3406]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinitscripts: let populate-volatile.sh create the /tmp link
Chen Qi [Thu, 24 Jan 2013 07:28:45 +0000 (15:28 +0800)]
initscripts: let populate-volatile.sh create the /tmp link

Previously, the /tmp link (/tmp -> /var/tmp) was created by the
bootmisc.sh script. So in case of a read-only rootfs, this symlink
would not be created correctly.

The populate-volatile.sh script is intended to handle all directories
and files related to volatile storage, so we should let it create
the /tmp link.

In addition, because of the improments of populate-volatile.sh, the data
loss problem of bug#3404 is also resolved by this patch.

[YOCTO #3406]
[YOCTO #3404]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysvinit: add ROOTFS_READ_ONLY variable to rcS-default
Chen Qi [Sun, 6 Jan 2013 09:02:45 +0000 (17:02 +0800)]
sysvinit: add ROOTFS_READ_ONLY variable to rcS-default

This variable indicates whether the rootfs is intended to be read-only
or not. Changing this value from 'no' to 'yes' on a currently running
system with read-write rootfs and rebooting will give the user a working
system with read-only rootfs.

However, it is not suggested to change its value. Normally, if a read-only
rootfs is required, we should build an image with 'read-only-rootfs' image
feature.

[YOCTO #3406]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto: KERNEL_FEATURES should reference full scc files
Bruce Ashfield [Mon, 4 Feb 2013 19:05:07 +0000 (14:05 -0500)]
linux-yocto: KERNEL_FEATURES should reference full scc files

Some existing KERNEL_FEATURE references use a shorcut notation, but mapping
these shortcuts to actual .scc files in the tree are not obvious. So we clarify
where they are found by referencing the full .scc filename in the KERNEL_FEATURE
addtions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: update to v3.4.28, 3.4.28-rt40
Bruce Ashfield [Mon, 4 Feb 2013 05:18:51 +0000 (00:18 -0500)]
linux-yocto/3.4: update to v3.4.28, 3.4.28-rt40

Updating the linux-yocto_3.4 SRCREVs to pick up the 3.4.28 -stable update
as well as the 3.4.28-rt40 refresh.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/dev: linux-yocto development tree tracking recipe
Bruce Ashfield [Mon, 4 Feb 2013 19:13:37 +0000 (14:13 -0500)]
linux-yocto/dev: linux-yocto development tree tracking recipe

The linux-yocto-dev recipe uses the upstream tracking linux-yocto-dev repository.
Since this tree is frequently updated, and periodically rebuilt, AUTOREV is used
to track its contents.

This recipe is just like other linux-yocto variants, with the only difference
being that to avoid network access during initial parsing, static SRCREVs are
provided and overridden if the preferred kernel provider is linux-yocto-dev.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agointltool: updated to 0.50.2
Bogdan Marinescu [Tue, 5 Feb 2013 16:13:09 +0000 (18:13 +0200)]
intltool: updated to 0.50.2

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclassextend.py: use explode_dep_versions2 in order to preserve versions too
Constantin Musca [Tue, 5 Feb 2013 15:59:11 +0000 (17:59 +0200)]
classextend.py: use explode_dep_versions2 in order to preserve versions too

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooprofile: fix cross compile on powerpc and add libpfm4 dep
Matthew McClintock [Tue, 5 Feb 2013 17:46:48 +0000 (11:46 -0600)]
oprofile: fix cross compile on powerpc and add libpfm4 dep

Fixes [YOCTO #3717]

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
Matthew McClintock [Tue, 5 Feb 2013 17:46:46 +0000 (11:46 -0600)]
libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoquota_4.01.bb: add e2fsprogs in DEPENDS
Matthew McClintock [Tue, 5 Feb 2013 17:46:45 +0000 (11:46 -0600)]
quota_4.01.bb: add e2fsprogs in DEPENDS

Fixes:

| /local/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/libexec/ppce300c3-poky-linux/gcc/powerpc-poky-linux/4.7.2/ld: cannot find -lext2fs

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoglib: disable selinux for native builds
Matthew McClintock [Tue, 5 Feb 2013 17:46:44 +0000 (11:46 -0600)]
glib: disable selinux for native builds

This improves reusabiliy of sstate-cache across different hosts

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: do not postpone postinstall
Laurentiu Palcu [Mon, 4 Feb 2013 13:38:05 +0000 (15:38 +0200)]
pulseaudio: do not postpone postinstall

Since populate-volatile.sh will run everytime the device boots, no
need to postpone the postinstall when the rootfs is created.

[YOCTO #3840]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_ipk, rootfs_ipk: remove the "set -x"
Laurentiu Palcu [Thu, 31 Jan 2013 08:36:55 +0000 (10:36 +0200)]
package_ipk, rootfs_ipk: remove the "set -x"

Comment the "set -x" lines since these will add a lot of extra, not
always necessary, debug messages in the log.do_rootfs.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoliberation-fonts: use the new fontcache.bbclass
Laurentiu Palcu [Thu, 31 Jan 2013 08:35:37 +0000 (10:35 +0200)]
liberation-fonts: use the new fontcache.bbclass

This will add the proper postinst/postrm scriptlets.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofontconfig: add sysroot option to fc-cache and fc-cat
Laurentiu Palcu [Thu, 31 Jan 2013 08:32:40 +0000 (10:32 +0200)]
fontconfig: add sysroot option to fc-cache and fc-cat

This is needed in order to be able to generate the cache on host.

Additionally, remove the volatile config file, as /var/cache was moved
out of tmpfs.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage.bbclass: add a proper error message if hook script fails
Laurentiu Palcu [Thu, 31 Jan 2013 08:31:49 +0000 (10:31 +0200)]
image.bbclass: add a proper error message if hook script fails

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu.bbclass: return qemuwrapper instead of qemu-allarch
Laurentiu Palcu [Thu, 31 Jan 2013 08:27:22 +0000 (10:27 +0200)]
qemu.bbclass: return qemuwrapper instead of qemu-allarch

When qemu bbclass is inherited from a recipe that is not architecture
dependent, qemu_run_binary will return "qemu-allarch". However this
binary does not exist. Instead, return "qemuwrapper" which will, in
turn, execute the right binary for the target the image was built for.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoadd qemuwrapper-cross recipe
Laurentiu Palcu [Thu, 31 Jan 2013 08:04:57 +0000 (10:04 +0200)]
add qemuwrapper-cross recipe

This will just install a wrapper script in STAGING_BINDIR_CROSS that
will execute the proper qemu user binary for the current target.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoadd fontcache.bbclass
Laurentiu Palcu [Thu, 31 Jan 2013 07:59:10 +0000 (09:59 +0200)]
add fontcache.bbclass

All font packages should inherit this class in order to generate the
proper postinst/postrm scriptlets.

The scriptlets will actually create a host intercept hook that will be
executed at the end, at do_rootfs time, after all packages have been
installed. This is good when there are many font packages.

[YOCTO #2923]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcp-wrappers: remove size_t.patch
Roy.Li [Sat, 2 Feb 2013 08:18:22 +0000 (16:18 +0800)]
tcp-wrappers: remove size_t.patch

1. it introduces bug in 64bit big endian process with __GLIBC__, At that
condition, size_t is 8byte, and the third parameter of getpeername is
socklen_t which is 4 byte. As a result, getpeername sees third parameter
is always 0, and can not return right value.

The similar program is below, the output is 0, not 9 on PPC64 cpu
main()
{
long aa=9;
printf("%d \n", *((int *)&aa));
}

2. The correct fix is to change getpeername/getsockopt/recvfrom.. last
parameter type from int to socklen_t, but to simplify, we can remove
size_t.patch, since the size of int is same as socklen_t in 32bit/64bit
cpu. and size_t.patch only change three places, there are other places
which uses int, and work well.

2. Fedora, redhat el4 do not use this patch, but Debian uses it, does not
find why this patch is written, maybe it is gcc legency issue which does
not exist.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpcbind: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 3 Feb 2013 10:13:43 +0000 (12:13 +0200)]
rpcbind: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-wm: update to git master head
Marko Lindqvist [Sun, 3 Feb 2013 10:13:18 +0000 (12:13 +0200)]
matchbox-wm: update to git master head

The one new commit from matchbox-wm git this gets fixes
build with automake-1.13

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 3 Feb 2013 10:12:34 +0000 (12:12 +0200)]
opkg: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosend-pull-request: add extra CC argument
Martin Jansa [Mon, 4 Feb 2013 15:06:59 +0000 (16:06 +0100)]
send-pull-request: add extra CC argument

* useful e.g. when sending pull-request to release branch with extra CC
  for release maintainer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agoipk: use OPKGLIBDIR in all places
Martin Jansa [Mon, 4 Feb 2013 22:06:52 +0000 (23:06 +0100)]
ipk: use OPKGLIBDIR in all places

* it's not recommended to change this value, because it breaks upgrade path on target
  (all old u-a alternatives are forgot in old OPKGLIBDIR value
* but make it consistent, so if someone really want to change that, then
  setting OPKGLIBDIR_distro in distro.conf would be enough
* without this there were at least 4 places to change:
  rootfs_ipk: opkglibdir variable (notice that I've removed /opkg from it to correspond
              with EXTRA_OECONF option used in opkg recipes
  package_ipk: ${target_rootfs}${localstatedir}/lib/opkg/ hardcoded in
               package_install_internal_ipk
  opkg-collateral: value in lists file
  opkg: EXTRA_OECONF for all 3 classes, FILES_libopkg, do_install
* validated with buildhistory that without OPKGLIBDIR explicitly set the
  output is the same and that after setting
  OPKGLIBDIR_forcevariable := "${libdir}"
  everything including empty directory from package_ipk is moved to
  libdir

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agonet-tools: upgrade to v1.60-24.2
Cristian Iorga [Fri, 1 Feb 2013 15:09:05 +0000 (17:09 +0200)]
net-tools: upgrade to v1.60-24.2

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>