]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agoclasses/buildhistory: trim trailing spaces in file listings
Paul Eggleton [Fri, 22 Mar 2013 19:53:53 +0000 (19:53 +0000)] 
classes/buildhistory: trim trailing spaces in file listings

These are mildly annoying when viewing git diffs of the buildhistory
repository, so let's just get rid of them.

(From OE-Core rev: c257f292bf75061647e380889487c7e2625592de)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: implement history collection for SDKs
Paul Eggleton [Fri, 22 Mar 2013 19:53:52 +0000 (19:53 +0000)] 
classes/buildhistory: implement history collection for SDKs

SDKs are constructed in a similar manner to images, and the contents can
be influenced by a number of different factors, thus tracking the
contents of produced SDKs when buildhistory is enabled can help detect
the same kinds of issues as with images.

This required adding POPULATE_SDK_POST_HOST_COMMAND and
SDK_POSTPROCESS_COMMAND variables so that data collection functions can
be injected at the appropriate points in the SDK construction process,
as well as moving the list_installed_packages and
rootfs_list_installed_depends functions from the rootfs_{rpm,ipk,deb} to
the package_{rpm,ipk,deb} classes so they can also be called during
do_populate_sdk as well as do_rootfs.

Implements [YOCTO #3964].

(From OE-Core rev: c3736064483d4840e38cb1b8c13d2dd3a26b36aa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.conf: Include separatebuilddir.inc
Richard Purdie [Sat, 23 Mar 2013 11:39:12 +0000 (11:39 +0000)] 
poky.conf: Include separatebuilddir.inc

Use the separate builddir code for poky.

(From meta-yocto rev: 2e861624ebcadd1ebbd37fa5892d2f9f44215c13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibuser: Use abs_srcdir instead of srcdir
Khem Raj [Sat, 23 Mar 2013 06:42:25 +0000 (23:42 -0700)] 
libuser: Use abs_srcdir instead of srcdir

srcdir is still relative to pwd. We need to use
abs_srcdir to get absolute source directory names

(From OE-Core rev: 9297e01b2095d90b5365d23c10de699a7cf411ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to make section heads consistent capitalization
Scott Rifenbark [Fri, 22 Mar 2013 15:20:48 +0000 (08:20 -0700)] 
ref-manual: Edits to make section heads consistent capitalization

Various section heading titles were not using capital letters
for primary words.  Fixed this up.

(From yocto-docs rev: da15d2ac3d043a0296a51d1a9fac69e7b4229f75)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updated the "Core System Development" section
Scott Rifenbark [Fri, 22 Mar 2013 14:09:31 +0000 (07:09 -0700)] 
dev-manual: Updated the "Core System Development" section

Added a new bullet as a tip for best practices that addresses
how we address bug 3071 and 3274.  We are suggesting they enable
a PR Service if they are using continually incrementing PR values
when package feeds are published or used.

Reported-by: Richard Purdie <richard.purdie@linux.com>
(From yocto-docs rev: b90497f139b1b6f7ab5510313eb297d5d7fb4e68)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Wording change to GDB example.
Scott Rifenbark [Thu, 21 Mar 2013 15:49:10 +0000 (08:49 -0700)] 
dev-manual: Wording change to GDB example.

Fixes YOCTO #2827.

Slight wording modification.

Reported-by: Paul Eggleton <paul.eggleton@linux.com>
(From yocto-docs rev: 8a9cd86d95bfcfca9c000dbd6f4213d15547cdfe)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updated path in cross-GDB package example.
Scott Rifenbark [Thu, 21 Mar 2013 14:34:27 +0000 (07:34 -0700)] 
dev-manual: Updated path in cross-GDB package example.

Fixes YOCTO #2827

Replaced the path where one findes the binary for the meta-
toolchain to a more recent example that was built from
the beagleboard and using arm.

(From yocto-docs rev: 020a7fcd7f99c50d32e831b8d51150e8db8ab4e9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Reword for when to use BBMASK.
Scott Rifenbark [Thu, 21 Mar 2013 13:47:31 +0000 (06:47 -0700)] 
dev-manual: Reword for when to use BBMASK.

Changed the wording on when a user would consider using
the BBMASK variable.  It is more suited for excluding things
that cause problems rather than for speeding up build time.

Reporte-by: Paul Eggleton <paul.eggleton@linux.com>
(From yocto-docs rev: 993d7c953a37747297238cd9af53a1f00e737df9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprofile-manual: Updated sysprof basic usage section
Scott Rifenbark [Wed, 20 Mar 2013 19:33:43 +0000 (12:33 -0700)] 
profile-manual: Updated sysprof basic usage section

There was a danny-specific note here that did not apply to the
section any longer.  I have removed it per Tom Zanussi's
suggestion.

(From yocto-docs rev: 2a3ccab263cfaa779a5182e6a4a7e534db253700)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprofile-manual: updated the Oprofile section
Scott Rifenbark [Wed, 20 Mar 2013 19:22:29 +0000 (12:22 -0700)] 
profile-manual: updated the Oprofile section

Removed the danny-specific note at the end of the
"OProfileUI - A GUI for OProfile" section per Tom Zanussi.

(From yocto-docs rev: b665be9ad906cdc3ac644e67151da3a2cc1acfd3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprofile-manual: Updates to LTTng section setup
Scott Rifenbark [Wed, 20 Mar 2013 19:17:39 +0000 (12:17 -0700)] 
profile-manual: Updates to LTTng section setup

With dylan, the two patches are no longer required.  However,
the information to view traces still holds true regarding
using Eclipse's Juno.  Updated appropriately.

(From yocto-docs rev: 90845677a37562b465bbd2bc849f773a2f54d92e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky-ent: Updates for the 1.4 release.
Scott Rifenbark [Wed, 20 Mar 2013 18:54:51 +0000 (11:54 -0700)] 
poky-ent: Updates for the 1.4 release.

I changed the distro name variable to "dylan" and the release
to 9.0.

(From yocto-docs rev: 4afec4519f3104f5a2e906f9ec4dfcca35d8000a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: second pass of poky-tiny section.
Scott Rifenbark [Tue, 19 Mar 2013 21:41:41 +0000 (14:41 -0700)] 
dev-manual: second pass of poky-tiny section.

(From yocto-docs rev: 44be6fdc992809846fcaade8986c1a1323c14f0c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: First pass at poky-tiny section.
Scott Rifenbark [Tue, 19 Mar 2013 16:07:58 +0000 (09:07 -0700)] 
dev-manual: First pass at poky-tiny section.

(From yocto-docs rev: fbf31831e9cf3fc088c12a2867fa56e2004d624b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Added more examples of non-poky distros to note.
Scott Rifenbark [Sat, 16 Mar 2013 19:59:29 +0000 (12:59 -0700)] 
dev-manual: Added more examples of non-poky distros to note.

(From yocto-docs rev: 7ff0db9e6f6ba5f50b71280f8a99d2c3ed5f0c4a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-manual: Added note to indicate ADT is distribution neutral.
Scott Rifenbark [Mon, 11 Mar 2013 19:27:07 +0000 (12:27 -0700)] 
adt-manual: Added note to indicate ADT is distribution neutral.

Cleared up some old wording that was confusing the build
system with "Poky".  Also, added a note at the front of the
manual to be clear that the ADT is distribution-neutral.

(From yocto-docs rev: 52d090ab931e5cbeffc612b91c11dbb55db15297)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Applied review comments to creating distro section
Scott Rifenbark [Thu, 7 Mar 2013 12:54:41 +0000 (04:54 -0800)] 
dev-manual: Applied review comments to creating distro section

Applied two comments sent by Paul Eggleton.

(From yocto-docs rev: d3b61e07b5b9db6a582c76f66a984b9f27812a6f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: applied review comments to create own distro
Scott Rifenbark [Wed, 6 Mar 2013 18:49:09 +0000 (10:49 -0800)] 
dev-manual: applied review comments to create own distro

These changes are basically Paul Eggleton's review comments.

(From yocto-docs rev: bb92dbb968013952c4308b9aeed48223f49c866d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Created list for other layer mods for other distros
Scott Rifenbark [Wed, 6 Mar 2013 18:28:37 +0000 (10:28 -0800)] 
dev-manual: Created list for other layer mods for other distros

The final paragraph of the "Creating Your Own Distribution" really
should have been in list form and should have some cross-refs
for other parts of the manual.  The paragraph is now in list
form and there are some references.

(From yocto-docs rev: 02c4b2e99a3237d1506887659be0e67d6b000648)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Added notes about creating your own distro
Scott Rifenbark [Wed, 6 Mar 2013 18:26:55 +0000 (10:26 -0800)] 
dev-manual: Added notes about creating your own distro

Added a couple of notes to point out the ease of creating your
own distro and not just relying on a Poky distribution.  One
note is at the very beginning of the manual and mentions
Angstrom as an example of a distro based on the YP.  The
other note is at the beginning of the second chapter.

(From yocto-docs rev: 1525a5e34c615cbfd25aeb12cc7a27ef95b51eab)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: fixed broken links
Scott Rifenbark [Wed, 6 Mar 2013 18:01:01 +0000 (10:01 -0800)] 
dev-manual: fixed broken links

Added the "var-" part of links for the creating your own
distribution section.

(From yocto-docs rev: d419cd67084ce25d0d4b4437d8ce4cec180da59a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Fixed two typos.
Scott Rifenbark [Tue, 5 Mar 2013 18:44:27 +0000 (12:44 -0600)] 
dev-manual: Fixed two typos.

(From yocto-docs rev: b2e0b0dbb8079be30420f306c3f844a3a0a466e0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: First draft of "Creating your own distro" section.
Scott Rifenbark [Tue, 5 Mar 2013 03:37:17 +0000 (21:37 -0600)] 
dev-manual: First draft of "Creating your own distro" section.

(From yocto-docs rev: fa8ddbf0ca6e7619fa79a5637e49f95f06719da9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years ago(distro-alias|maintainers|package-regex).inc: mesa-dri -> mesa
Laurentiu Palcu [Tue, 19 Mar 2013 16:29:51 +0000 (18:29 +0200)] 
(distro-alias|maintainers|package-regex).inc: mesa-dri -> mesa

[YOCTO #3385]

(From meta-yocto rev: b9c2f3ad5696ef0756bfec20770d76c649ee5e2a)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoatom-pc.conf: replace mesa-dri with mesa
Laurentiu Palcu [Tue, 19 Mar 2013 16:29:50 +0000 (18:29 +0200)] 
atom-pc.conf: replace mesa-dri with mesa

This is needed since the mesa-dri recipes in oe-core got renamed to just
mesa.

[YOCTO #3385]

(From meta-yocto rev: 0aaada20aa7453f7a5d9342b7f26ff4fa8b044b2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/lib/bsp: replace mesa-dri with mesa in machine.conf files
Laurentiu Palcu [Tue, 19 Mar 2013 16:29:49 +0000 (18:29 +0200)] 
scripts/lib/bsp: replace mesa-dri with mesa in machine.conf files

mesa-dri has been renamed to mesa.

[YOCTO #3385]

(From meta-yocto rev: ba8d5b6dcb6fa4721e85b62f15713072cc0fa23f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovte: Fix conflict between FILES_${PN}-dbg and FILES_vte-dbg
Mark Hatle [Tue, 19 Mar 2013 20:17:48 +0000 (15:17 -0500)] 
vte: Fix conflict between FILES_${PN}-dbg and FILES_vte-dbg

Due to quarks with the way bitbake handles variable key values, the
hard coded FILES_vte-dbg or automatic FILES_${PN}-dbg could replace
each other, leaving the system in an inconsistent state.

(From OE-Core rev: 7846f68537a942d340d5931e23a4fceb84b6edcb)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: rename mesa-dri recipe to just mesa
Laurentiu Palcu [Tue, 19 Mar 2013 16:23:56 +0000 (18:23 +0200)] 
mesa: rename mesa-dri recipe to just mesa

Rename mesa-dri recipes to just mesa. Also, replace all references to
mesa-dri in all recipes/configs.

The reason for this renaming (quote from bugzilla):

"mesa-dri is a artefact of mesa-xlib existing, which doesn't anymore.
mesa-dri should be renamed to mesa."

[YOCTO #3385]

(From OE-Core rev: c8bbb9983bcc7cfc5332e89c3e8148505b4ca83f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolocal.conf.sample.extended: update for disk monitor
Robert Yang [Wed, 20 Mar 2013 06:31:05 +0000 (14:31 +0800)] 
local.conf.sample.extended: update for disk monitor

The previous disk monitor is based on the disk, and one disk only can
have one action, now it is based on the path, so we remove the additional
comments from local.conf.sample.extended

[YOCTO #3995]

(From meta-yocto rev: 29c5de1feb144a768d6c60b8e5128b29091cf5a8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky-floating-revisions.inc: remove the duplicated SRCREV_pn-exmap-console
Robert Yang [Wed, 20 Mar 2013 07:54:39 +0000 (15:54 +0800)] 
poky-floating-revisions.inc: remove the duplicated SRCREV_pn-exmap-console

Remove the duplicated SRCREV_pn-exmap-console.

[YOCTO #4064]

(From meta-yocto rev: c5c544876c6c0bcb088d6244aa3585d874d3559a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomaintainers.inc: remove several duplicated lines
Robert Yang [Wed, 20 Mar 2013 07:54:38 +0000 (15:54 +0800)] 
maintainers.inc: remove several duplicated lines

There are several duplicated lines in maintainers.inc, remove the
duplicated ones.

[YOCTO #4064]

(From meta-yocto rev: 389cd73a1294ec4f8e810bc42307f7e753f917a7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofix march sanity check issue
Zhenhua Luo [Wed, 20 Mar 2013 07:52:12 +0000 (15:52 +0800)] 
fix march sanity check issue

1. check if gcc_test is really generate before os.remove("gcc_test") to avoid
   following error:
      ERROR: Execution of event handler 'check_sanity_eventhandler' failed
      Traceback (most recent call last):
      File "check_sanity_eventhandler(e)", line 4, in check_sanity_eventhandler(e=<bb.event.ConfigParsed object at 0x3151450>)
      File "sanity.bbclass", line 107, in check_sanity(sanity_data=<bb.data_smart.DataSmart object at 0x11ba110>)
      File "sanity.bbclass", line 22, in check_gcc_march(sanity_data=<bb.data_smart.DataSmart object at 0x11ba110>)
      OSError: [Errno 2] No such file or directory: 'gcc_test'
2. set result to False when build failed with -march=native to ensure
   -march=native is appended to BUILD_CFLAGS  when host gcc really supports this flag,
   otherwise following error appears when build native packages.
      | cap_text.c:1: error: bad value (native) for -march= switch
      | cap_text.c:1: error: bad value (native) for -mtune= switch

(From OE-Core rev: 4a4228fe250c8b23a5deeb25825d61c6e84a47a2)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: remove the duplicated RDEPENDS
Robert Yang [Wed, 20 Mar 2013 07:49:31 +0000 (15:49 +0800)] 
perl: remove the duplicated RDEPENDS

Remove a duplicated line:
RDEPENDS_${PN}-module-cpanplus += "${PN}-module-load"

[YOCTO #4064]

(From OE-Core rev: 5660aac1cf3f71ce14b58f2c0e69460732f09d7c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl-native: remove duplicated LIC_FILES_CHKSUM
Robert Yang [Wed, 20 Mar 2013 07:49:32 +0000 (15:49 +0800)] 
perl-native: remove duplicated LIC_FILES_CHKSUM

Remove duplicated LIC_FILES_CHKSUM:
LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
                   file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"

[YOCTO #4064]

(From OE-Core rev: 9b298098401c61761bd65fc1d9efff2197cc45a5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopm-utils: remove duplicated RDEPENDS
Robert Yang [Wed, 20 Mar 2013 07:49:33 +0000 (15:49 +0800)] 
pm-utils: remove duplicated RDEPENDS

Remove duplicated RDEPENDS_${PN} = "grep".

[YOCTO #4064]

(From OE-Core rev: 770c846ec5b9b6c555afbb7ce0ff116dbbfb519e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorouterstationpro: use KERNEL_IMAGE_MAXSIZE to test the image
Michel Thebeau [Wed, 20 Mar 2013 15:32:02 +0000 (11:32 -0400)] 
routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image

routerstationpro is limited to 16mb flash size.  Exceeding that size may
not be noticed immediately, which we don't want.

"The current latest kernel for the routerstationpro machine is far
beyond the 16MB of it's flash size [0]. I think it would be good to
[test if the size of the image is above that size]."

Setting this variable will enable the do_sizecheck task and produce an
error when the image is too large:

"ERROR: This kernel (size=90230265 > 16777216) is too big for your
device. Please reduce the size of the kernel by making more of it
modular."

[YOCTO #3514]

(From meta-yocto rev: bb25e15c62cdde749f34050933d056a79dd2d3c5)

Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_regex.inc: added new regexes
Emilia Ciobanu [Fri, 22 Mar 2013 15:00:56 +0000 (17:00 +0200)] 
package_regex.inc: added new regexes

Added/Updated regexes for:
* btrfs-tools
* xf86-video-omap
* remake
* sqlite3

(From meta-yocto rev: 241a50419e1bc341b367d33842851c34708a8bc4)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Adjust spacing on information windows
Andrei Dinu [Fri, 22 Mar 2013 15:20:10 +0000 (17:20 +0200)] 
bitbake: Adjust spacing on information windows

[Hob #4070]

- tweaked the spacing on info windows

- fixed text bolding in simple settings dialog

(Bitbake rev: 2ecb102968cdbbdbbfa91e1dcccf45bcd0b59a89)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: implementation of search functionality in Hob
Cristiana Voicu [Wed, 20 Mar 2013 12:35:06 +0000 (14:35 +0200)] 
bitbake: hob: implementation of search functionality in Hob

Implemented the search functionality for recipes and packages using
filters on the listmodel. I have used the design which can be found in
bugzilla.

[YOCTO #3529]
(Bitbake rev: b77166ad7b8571895f73a84f7789d93fbd4f6d04)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: Hob custom image build error
Cristiana Voicu [Wed, 20 Mar 2013 09:21:39 +0000 (11:21 +0200)] 
bitbake: hob: Hob custom image build error

For a custom image from scratch, the image version is not set and
it gives an error.

[YOCTO #4065]
(Bitbake rev: 43703f3eb5f71a117e6315fa5df91711653636a3)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk: Use msdos partition tables
Darren Hart [Tue, 19 Mar 2013 22:15:06 +0000 (15:15 -0700)] 
mkefidisk: Use msdos partition tables

While GPT works fine when writing to actual media, it cannot be reliably
used for distributing disk images as it requires the backup table to be
on the last block on the device, which of course varies from device to
device. Use MSDOS tables instead.

Use mkfs to label the filesystems as msdos tables do not support
partition labeling.

(From OE-Core rev: 049ea1e0a6a1017a5020de38bd7ce93515bd62f4)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk: Remove startup.nsh
Darren Hart [Tue, 19 Mar 2013 22:15:05 +0000 (15:15 -0700)] 
mkefidisk: Remove startup.nsh

Most firmware implementations use the EFI specified
EFI/BOOT/bootia32.efi (and similar) boot paths. Only broken firmware
uses different paths for removable media. In those cases, the user can
add their own startup.nsh.

For the compliant case, selecting "Shell" from the EFI boot menu should
go to the shell.

(From OE-Core rev: d031cdbf40231b8c103d78c69252bf9d584d0605)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk: Always use rootwait and document kernel parameters used
Darren Hart [Tue, 19 Mar 2013 22:15:04 +0000 (15:15 -0700)] 
mkefidisk: Always use rootwait and document kernel parameters used

Without a reliable way of knowing if the target device with be an
asyncronous block device on the target (MMC or USB), err on the side of
caution of always specifcy "rootwait", ensuring the kernel will wait for
the device to appear and not abort if it hasn't appeared in time for
mount.

Document the remaining kernel parameters added by this script on the
same line as rootwait.

(From OE-Core rev: 5b6a6a3872fd341cf978be40c69707223e3c29df)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk: Boot with ro kernel parameter instead of rw
Darren Hart [Tue, 19 Mar 2013 22:15:03 +0000 (15:15 -0700)] 
mkefidisk: Boot with ro kernel parameter instead of rw

There is no need to boot with "rw". Booting with "ro" will allow for
fsck to be run during boot, and a proper /etc/fstab will still ensure
the rootfs is "rw" by the time the user can interact with the system.

Change the "rw" to "ro" in the kernel parameters specified in the
generated grub.cfg file.

Fixes [YOCTO 4036] mkefidisk.sh hardcodes 'rw' as root mount option

(From OE-Core rev: 960f0cbf85a4124adbc74d8b2ceb09a7d39ecc04)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk: Cleanup comment length
Darren Hart [Tue, 19 Mar 2013 22:15:01 +0000 (15:15 -0700)] 
mkefidisk: Cleanup comment length

Keep comments under 80 characters in length.

(From OE-Core rev: 1fbab279edd0057193900646cf9f66323698e774)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk: Always specify a root= kernel parameter
Darren Hart [Tue, 19 Mar 2013 22:15:02 +0000 (15:15 -0700)] 
mkefidisk: Always specify a root= kernel parameter

The current script only replaces an existing root= kernel parameter
which can result images created without a root= paremeter, even though
the script expects a target rootfs parameter.

Rather than replacing the root= parameter, delete the root= parameter if
it exists, then append an appropriate root= parameter.

Fixes [YOCTO 4035] mkefidisk.sh forgets to add root= parameter

(From OE-Core rev: e5dbec7e7d3bb29676280823b0337ad429c75120)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsolekit: don't inherit gnome
Ross Burton [Thu, 21 Mar 2013 09:24:25 +0000 (09:24 +0000)] 
consolekit: don't inherit gnome

By inheriting gnome this package was build-depending on
gtk-update-icon-cache-native, gconf, gconf-native, shared-mime-info and
hicolor-icon-theme for no reason.  Change this to inherit autotools pkgconfig to
reduce the build-dependencies.

Also, add a missing dbus-glib build-dependency that was previously pulled in
through something in the gnome class.

(From OE-Core rev: bde2c0ab1500976e2cb50f1526df04fb8b2cd408)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_{ipk, deb, rpm}: drop the TARGET_OS conditional
Christopher Larson [Wed, 20 Mar 2013 22:21:31 +0000 (15:21 -0700)] 
package_{ipk, deb, rpm}: drop the TARGET_OS conditional

The tclibc file for uclibc already empties IMAGE_LINGUAS, so there's no point
to this conditional as far as I can tell, and it can cause issues for certain
values of TARGET_OS.

(From OE-Core rev: 0fdda5840452c7715ed775d5d18d9f850396f483)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_deb: don't install glibc-localedata-i18n separately
Christopher Larson [Wed, 20 Mar 2013 22:21:30 +0000 (15:21 -0700)] 
package_deb: don't install glibc-localedata-i18n separately

This was removed from package_rpm and package_ipk years ago, and shouldn't be
needed, installing the packages from package_linguas should be sufficient.

(From OE-Core rev: e9485c7077e5a9508371bbbbebdaaf1e9685da61)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocoreutils: disable ACL as we do not depend on it
Marcin Juszkiewicz [Fri, 22 Mar 2013 14:25:00 +0000 (15:25 +0100)] 
coreutils: disable ACL as we do not depend on it

Coreutils does not depend on ACL but also does not disable it. Effect is
that from time to time I have a copy in sstate-cache which got built
with ACL and then I have problem while building images or sdk:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-standalone-hhvm-sdk-target:
|  *    libacl1 (>= 2.2.51) *
|  * opkg_install_cmd: Cannot install package packagegroup-core-standalone-hhvm-sdk-target.

(From OE-Core rev: d54141130475b091358807dce17ba8d244d33ea1)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: avoid splitting out .debug directories as packages
Paul Eggleton [Thu, 21 Mar 2013 15:43:40 +0000 (15:43 +0000)] 
perl: avoid splitting out .debug directories as packages

The recursive parameter is set to True, the regex for the first call to
do_split_packages matches any path under ${libdir}/perl/${PV}/auto/, and
the .debug directories contain .so files, so each one was getting picked
up as a package. Change the regex to disallow dots in the path beneath
auto/ and thus avoid the .debug directories.

Fixes [YOCTO #4048].

(From OE-Core rev: f8f6992fe0f29db1cc4df15b7449e06188052041)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-conf: Avoid appending IPv4 address
Jukka Rissanen [Fri, 22 Mar 2013 08:11:42 +0000 (10:11 +0200)] 
connman-conf: Avoid appending IPv4 address

If run more than once, the IP addresses would be appended
to IPv4 variable. Avoid that by rewriting the IPv4 always.

(From OE-Core rev: da682e752e351e5bb7636ee187db3eabc208c177)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-conf: Move the setup script into /usr/lib/connman
Jukka Rissanen [Fri, 22 Mar 2013 08:11:41 +0000 (10:11 +0200)] 
connman-conf: Move the setup script into /usr/lib/connman

The /etc/connman is not suitable for the setup script.
There are other connman related scripts in /usr/lib/connman
so moving the wired setup script there.

(From OE-Core rev: 858ad53aee9ef5848c09d76c0e6bf464bc31d30e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistrodata.bbclass: added some more git processing
Emilia Ciobanu [Fri, 22 Mar 2013 08:30:58 +0000 (10:30 +0200)] 
distrodata.bbclass: added some more git processing

* Truncated all git MD5 sums to 7 digits
* Added regex checking for git packages as well

(From OE-Core rev: bc830ab3f6e9704c830e934c6f39c85ef11f867d)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro: Add separatebuilddir.inc
Richard Purdie [Tue, 5 Mar 2013 16:48:11 +0000 (16:48 +0000)] 
distro: Add separatebuilddir.inc

Going forward its going to be useful to separate build data from source data
in those autotooled projects which support it. Unfortunately there is a lot
of breakage so for now, this starts the creation of an opt in list which
we can iterate over enable more recipes over time.

(From OE-Core rev: 9e64079063fc4748b48eee0e2592caf8ba9de10e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapt: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 22:45:44 +0000 (22:45 +0000)] 
apt: Fix case where ${B} != ${S}

Need to reference objects from ${B}.

(From OE-Core rev: 0610cf3ef864acc9ca98498b9810bcce0fbb935a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-passwd: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 22:45:02 +0000 (22:45 +0000)] 
base-passwd: Fix case where ${B} != ${S}

Need to reference build objects from ${B}.

(From OE-Core rev: 2b58618406195aa53df2335c354d7e45ad08f4d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobabeltrace: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 22:44:21 +0000 (22:44 +0000)] 
babeltrace: Fix case where ${B} != ${S}

Autotools need to run in ${S}.

(From OE-Core rev: 2a64b618755cc1b97c21c8dc30ffd7d0938e9f91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodhcp: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:28:01 +0000 (14:28 +0000)] 
dhcp: Fix case where ${B} != ${S}

Add patch to allow out of tree builds to work.

(From OE-Core rev: a3238c1e1317c4fd5526c8854403a2160cb51bb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:27:18 +0000 (14:27 +0000)] 
directfb: Fix case where ${B} != ${S}

Add patch to allow out of tree builds to work.

(From OE-Core rev: 15d7fe81bf3c52a14bfdd6a8a854836c8571e14f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtdev: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:26:24 +0000 (14:26 +0000)] 
mtdev: Fix case where ${B} != ${S}

Add patch to allow out of tree builds to work.

(From OE-Core rev: d14012cbf4a55a66030a51da281cc68fc727d9f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopth: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:25:18 +0000 (14:25 +0000)] 
pth: Fix case where ${B} != ${S}

Ensure the autotools commands are executed in ${S} to allow out of tree
builds to work.

(From OE-Core rev: afeea8a616ea43553a7cd6c160d5f8b23ddcfa38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolzop: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:24:38 +0000 (14:24 +0000)] 
lzop: Fix case where ${B} != ${S}

Remove path assumptions and ensure out of tree builds work.

(From OE-Core rev: a0f054a733afb6dd6b1f53d304caefe90727d7a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopm-utils: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:23:51 +0000 (14:23 +0000)] 
pm-utils: Fix case where ${B} != ${S}

Change to the correct directory to execute gnu-configize.

(From OE-Core rev: 6972e82b33af69cfef2d05b3637ecfd79a5125da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:22:55 +0000 (14:22 +0000)] 
rpm: Fix case where ${B} != ${S}

We need to run autogen.sh in the correct directory (${S}).

(From OE-Core rev: f352f9f25695635bbaad09774f02e66684971fc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-pygtk: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:22:27 +0000 (14:22 +0000)] 
python-pygtk: Fix case where ${B} != ${S}

Fix out of tree builds by adding missing path component.

(From OE-Core rev: fd86061e02bd175dcc5816db1cf15d705d338062)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:21:50 +0000 (14:21 +0000)] 
dpkg: Fix case where ${B} != ${S}

Add missing path component to make out of tree builds work.

(From OE-Core rev: 04515f61e2768435126f0c8ccfb5ad1e368710ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinted: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:20:24 +0000 (14:20 +0000)] 
xinted: Fix case where ${B} != ${S}

do_install needs to reference files in ${B} and we need to run
do_configuze in ${S}.

(From OE-Core rev: 5a5aff6a77dfc0bae66077589a93ba6d1755bcdc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotexinfo: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:19:48 +0000 (14:19 +0000)] 
texinfo: Fix case where ${B} != ${S}

The install function needs to reference generated files in ${B}.

(From OE-Core rev: feebca46f3ef798ab4a203bc0b9419d883feaee7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:19:26 +0000 (14:19 +0000)] 
watchdog: Fix case where ${B} != ${S}

(From OE-Core rev: 0ecfe4fd7d89252a7db6c9361fb5674cb098796d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopam: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:19:03 +0000 (14:19 +0000)] 
pam: Fix case where ${B} != ${S}

(From OE-Core rev: 3d27366f17e597380fee738f14f119d880a77985)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibuser: Fix case where ${B} != ${S}
Richard Purdie [Thu, 21 Mar 2013 14:18:06 +0000 (14:18 +0000)] 
libuser: Fix case where ${B} != ${S}

Fix out of tree builds and a parallel make race, see the patch header
for details.

(From OE-Core rev: ef259227fc6d8147b493554e381aa196f5a7a96a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/qemu-testlib: Add more debugging information
Richard Purdie [Thu, 21 Mar 2013 14:29:57 +0000 (14:29 +0000)] 
scripts/qemu-testlib: Add more debugging information

This extra information should allow better forensics if the sanity tests
fail as they're currently doing occasionaly on the autobuilder for unknown
reasons.

The patch also tightens up certain checks to remove pointless noise and
error output from the logs.

(From OE-Core rev: f9970aa0a44aca8ffe6c7a6a3261887fb0db38d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/runqemu-internal: Fix lock races
Richard Purdie [Wed, 20 Mar 2013 22:58:30 +0000 (22:58 +0000)] 
scripts/runqemu-internal: Fix lock races

There are two problems here. Firstly the grep command is unanchored so
pid 345 will match against 12345 and so on.

The second issue is that there are several context switched between attempting
the lock and then writing the pid to it.

Between the two issues, there were issues appearing on the autobuilder due
to these conflicts. This patch replaces the mechanism with flock on fd 8
which should be a safer mechanism to use.

(From OE-Core rev: 98471be6e58451016200cfd10e64e8ae6266c801)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-tools: add patch for mips since it does not have io.h
Saul Wold [Wed, 20 Mar 2013 17:21:27 +0000 (10:21 -0700)] 
alsa-tools: add patch for mips since it does not have io.h

[YOCTO #4051]

(From OE-Core rev: 67f1083a10f7435aeb861ba2e872d6498375d927)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrep: Always use locale.h
Alexandru DAMIAN [Tue, 12 Mar 2013 09:56:02 +0000 (09:56 +0000)] 
grep: Always use locale.h

The changes in the grep 2.5 configuration always leave out
HAVE_LOCALE_H - it has been removed from other files, but
not from everywhere.

This leads to a crash in certain configurations where the
size of int is not the size of pointer; this happens because
setlocale() is used while being undeclared.

[YOCTO #3959]

(From OE-Core rev: 4ca3a19c6fb93a6e85017f7ae465b5d2eba9463e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-multilib-example: Location of core-image-sato.bb changed
Mark Hatle [Tue, 19 Mar 2013 20:16:47 +0000 (20:16 +0000)] 
core-image-multilib-example: Location of core-image-sato.bb changed

(From OE-Core rev: 6aacf7b2c571bf1004caaa9883e58c1f22e37fec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: Improve error handling/exit codes
Richard Purdie [Wed, 20 Mar 2013 11:48:53 +0000 (11:48 +0000)] 
runqemu: Improve error handling/exit codes

runqemu-internal is sourced so should be returning with an error code in
case of errors. runqemu needs to deal with this.

This patch fixes up the various error paths so we're consistent and get
a sane exit status for runqemu which helps a lot in its use in the qemu
runtime testing on the autobuilder.

(From OE-Core rev: 753533b2f338ff2ef97eebd5eace7623404ae457)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimage-testlib: Add extra debugging and sanity check
Richard Purdie [Wed, 20 Mar 2013 10:58:24 +0000 (10:58 +0000)] 
qemuimage-testlib: Add extra debugging and sanity check

Check for a zero IP address since its clearly incorrect if that value
is found. Also add debugging for cases where we can't find the qemu
process. A process listing is handy to help understand what the problem
might be.

(From OE-Core rev: 817a8dc6424050973d8fad4f003475ac83ea6bb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimage-testlib: Add delay to work around races in qemu startup
Richard Purdie [Wed, 20 Mar 2013 09:27:39 +0000 (09:27 +0000)] 
qemuimage-testlib: Add delay to work around races in qemu startup

Qemu changes pid when starting up. On a loaded machine, this can result
in the incorrect pid being returned. Since qemu will take a few seconds to
boot anyway, we might as well delay a short while and allow things to settle
which should fix various race issues being seen on the autobuilder.

(From OE-Core rev: c0cecc16d4305b16ecfb4a51f6d5020d34909794)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimage-testlib: Fix IP address handling
Richard Purdie [Tue, 19 Mar 2013 23:32:29 +0000 (23:32 +0000)] 
qemuimage-testlib: Fix IP address handling

Remove some pointless code and also fix the return handling
for the function since it returns null, not 0 as the comments
would suggest.

(From OE-Core rev: 6b8d7767ff14345af29d7774b7e16e29c3f7fa8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue: Use taskData.fn_index[depdata] instead of uninitialized dep
Martin Jansa [Wed, 13 Mar 2013 20:01:51 +0000 (21:01 +0100)] 
bitbake: runqueue: Use taskData.fn_index[depdata] instead of uninitialized dep

* dep variable was removed in
  commit 3190cb83e2af195a464f669c5aa8aedbf795160e
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Wed Jun 27 11:04:06 2012 +0100

    taskdata: Add gettask_id_fromfnid helper function

    This is like gettask_id but doesn't require translation of fnid -> fn
    first which the function then translates back. This gives a sizeable
    performance improvement since a significant number of lookups are avoided.

* now it fails completely instead of showing which task is missing

(Bitbake rev: 58847fabd389e5b8d02d5a9c6827aabedb30312f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: some settings in Hob are not remembered
Cristiana Voicu [Mon, 11 Mar 2013 13:06:58 +0000 (15:06 +0200)] 
bitbake: hob: some settings in Hob are not remembered

Some settings in Hob were not saved in Bitbake and they were not displayed
correcty in Hob, because Hob used some other variables with the extension "_HOB".
I have removed this, in order to have a consistency for the variables.
ALso, I called a function to load the extra variables saved in .hob/template_default.hob.

[YOCTO #3957]
(Bitbake rev: 0f62a12ef3fa4daf8f3a289c984115302b75c23d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/qemutestlib: Add better process debugging and fix process group issue
Richard Purdie [Tue, 19 Mar 2013 20:54:33 +0000 (20:54 +0000)] 
scripts/qemutestlib: Add better process debugging and fix process group issue

In single testing with a shutdown scenario the processes are cleaned up correctly
but the manual cleanup fall back used for a minimal image do not work properly.
This patch fixes the kill commands to revert to non-process groups, fixing
the hung process issues that were occuring.

(From OE-Core rev: 6a0134fd4f1b64ef788be0791bd655dc7703d505)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: utils.py: fix BB_ENV_WHITELIST
Robert Yang [Sat, 16 Mar 2013 08:07:41 +0000 (16:07 +0800)] 
bitbake: utils.py: fix BB_ENV_WHITELIST

The BB_ENV_WHITELIST doesn't work well and flushes BB_ENV_EXTRAWHITE,
here is an example:

$ export BB_ENV_WHITELIST

$ export BB_NUMBER_THREADS=10 (or other value)

Edit conf/local.conf, change "BB_NUMBER_THREADS =" to "BB_NUMBER_THREADS ?="

$ bitbake -e | grep '^BB_NUMBER_THREADS ='
we will notice that BB_NUMBER_THREADS' value doesn't change, though
BB_NUMBER_THREADS in both BB_ENV_WHITELIST and BB_ENV_EXTRAWHITE.

This is because the "approved" inside the function approved_variables
doesn't include BB_ENV_WHITELIST or BB_ENV_EXTRAWHITE when
BB_ENV_WHITELIST is set (they are incuded by preserved_envvars()), so
the BB_ENV_WHITELIST and BB_ENV_EXTRAWHITE will be removed from the env
in the first call from bin/bitbake, and when it is called again by
cooker.py, their value will be None, then the vars inside them will be
removed from the env.

Add BB_ENV_WHITELIST and BB_ENV_EXTRAWHITE to the "approved" would fix
the problem.

[YOCTO #4031]

(Bitbake rev: d2b07e6516dd308d0045a7fdb72b588af9d676ad)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: monitordisk.py: monitor disks based on path
Robert Yang [Fri, 15 Mar 2013 07:42:48 +0000 (15:42 +0800)] 
bitbake: monitordisk.py: monitor disks based on path

The previous monitor is based on the disk, and one disk only can have
one action, this limits its function, for example we set this in the
current local.conf:

BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100GM,1K"

Before:
  * If TMPDIR, DL_DIR and SSTATE_DIR are on the same disk partition,
    only the last line "ABORT,${SSTATE_DIR},100GM,1K" works

  * If TMPDIR, DL_DIR and SSTATE_DIR are on the different disk partitions,
    only the last three lines (ABORT) work.

These are not what we expect, now:
  * We monitor the disk based on the path and action, so all the six lines
    will work no matter whether they are on the same disk partition or
    not.

  * The out put format will be:
    WARNING: The free space of /path/to/directory (device) is running low (XXGB left)

[YOCTO #3995]

(Bitbake rev: e22a576672ee4a40b44f7a826a78a77fc07e9177)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: crumbs/recipeselectionpage: added events for the "Package Groups" "All recipes
Andrei Dinu [Tue, 5 Mar 2013 15:36:31 +0000 (17:36 +0200)] 
bitbake: crumbs/recipeselectionpage: added events for the "Package Groups" "All recipes

" tabs and passing the information needed to the function created
in the builder.

(Bitbake rev: 60c3b561d66f9a43e696c402899141287ddb496e)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: crumbs/packageselectionpage: added event for the "All packages" tab
Andrei Dinu [Tue, 5 Mar 2013 15:36:30 +0000 (17:36 +0200)] 
bitbake: crumbs/packageselectionpage: added event for the "All packages" tab

and passing the information needed to the function created in the builder.

(Bitbake rev: 840bbdbc973e72d4305c21bcc26c008a6dc39456)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: crumbs/imageconfigurationpage: added information so that it displays correctly
Andrei Dinu [Tue, 5 Mar 2013 15:36:29 +0000 (17:36 +0200)] 
bitbake: crumbs/imageconfigurationpage: added information so that it displays correctly

in the information dialogs.

(Bitbake rev: 0301e7622af83c105ba60d7d1749294de06f6a59)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hobwidget: added functionality for the information dialogs.
Andrei Dinu [Tue, 5 Mar 2013 15:36:28 +0000 (17:36 +0200)] 
bitbake: hobwidget: added functionality for the information dialogs.

(Bitbake rev: e4d9729fc66f472266e9dc2f579edeef74d8f289)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: crumbs/hoblistmodel: added information columns needed for prop dialogs
Andrei Dinu [Tue, 5 Mar 2013 15:36:27 +0000 (17:36 +0200)] 
bitbake: crumbs/hoblistmodel: added information columns needed for prop dialogs

in order to display all the information gathered in the
backend, new columns needed to be added in the hoblistmodel.

(Bitbake rev: 0942f05a1196513c6d163f28cf297728aed6ee22)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hig/simplesettingsdialog: added entries for information dialogs
Andrei Dinu [Tue, 5 Mar 2013 15:36:26 +0000 (17:36 +0200)] 
bitbake: hig/simplesettingsdialog: added entries for information dialogs

added information so that it would display correctly in the information dialogs.

(Bitbake rev: bf86cc183c250acd0e52755ae6050a2f8d85ccf5)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hig/propertydialog: new class added for the property windows.
Andrei Dinu [Tue, 5 Mar 2013 15:36:25 +0000 (17:36 +0200)] 
bitbake: hig/propertydialog: new class added for the property windows.

this covers functionality for : recipe selection page
                                package selection page
                                information dialogs

(Bitbake rev: 82cb844c92fcc71cefe7d7ddc110523c62185e9e)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hig/advancedsettingsdialog: Added information for the information dialogs
Andrei Dinu [Tue, 5 Mar 2013 15:36:24 +0000 (17:36 +0200)] 
bitbake: hig/advancedsettingsdialog: Added information for the information dialogs

added information so that it would display
 correctly in the information dialogs.

(Bitbake rev: 7580716b905366aea70c9eed38dc703cecf24219)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: crumbs/builder: Replaced the function that displayed tooltips
Andrei Dinu [Tue, 5 Mar 2013 15:36:23 +0000 (17:36 +0200)] 
bitbake: crumbs/builder: Replaced the function that displayed tooltips

replaced in the builder.py the function that displayed the tooltips
with two functions that display property windows for recipes and packages
pages.

(Bitbake rev: bec3c1dc91118705149d00e5ec2bea08c8db75ed)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: cooker: Use extra cache information
Andrei Dinu [Tue, 5 Mar 2013 15:36:22 +0000 (17:36 +0200)] 
bitbake: cooker: Use extra cache information

-extended cooker.py so that the extra information in cache_extra.py could
 be used

(Bitbake rev: e6c2fa2f6669a4adf890a2ee794b100617223b7b)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: cache_extra: Add extra variables
Andrei Dinu [Tue, 5 Mar 2013 15:36:21 +0000 (17:36 +0200)] 
bitbake: cache_extra: Add extra variables

- in order to have the information needed in the property
  windows, cache_extra.py was extended with variables.

(Bitbake rev: bc09090f44f9b3a1b123f5453586295b9623218b)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoharfbuzz: update the license information
Maxin B. John [Tue, 19 Mar 2013 12:37:04 +0000 (13:37 +0100)] 
harfbuzz: update the license information

harfbuzz is using the 'Modern Variants' of MIT License:
https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT#Modern_Variants

We can update the LICENSE as 'MIT & ICU'.

Fixes this warning:
WARNING: harfbuzz: No generic license file exists for: Old-MIT in any provider
WARNING: harfbuzz: No generic license file exists for: UCDN in any provider
WARNING: harfbuzz: No generic license file exists for: HarfBuzz-old in any provider

(From OE-Core rev: 2ecb3b99373e17d93f50142f2da3f786c83c7eb2)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: Fix parsing error
Richard Purdie [Tue, 19 Mar 2013 13:22:59 +0000 (13:22 +0000)] 
perf: Fix parsing error

Due to the use of ${@...} the code will try and expand this when
performing the initial parsing. If the sysroot doesn't exist with
an existing kernel, this will fail at parsing time.

Sinec we're already in python, just remove the ${@....} wrapping
and then we execute at do_package time which is what we want.

(From OE-Core rev: 053ca014e7eb8c9dd05cef42fe23f463f3eb15dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>