scm/bb/tizen-distro.git
12 years agopseudo: Tell pseudo to avoid specifying an RPATH
Mark Hatle [Thu, 12 Apr 2012 21:21:22 +0000 (16:21 -0500)]
pseudo: Tell pseudo to avoid specifying an RPATH

[Yocto #2251]

Add --without-rpath to avoid embedding rpaths into the pseudo
components.

(From OE-Core rev: ae978e9671fdbcb31e306308bfb816b4bd2b2496)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Added required packages for toolchain.
Lianhao Lu [Fri, 13 Apr 2012 08:37:18 +0000 (16:37 +0800)]
Hob: Added required packages for toolchain.

Added the requried packages task-core-standalone-sdk-target(-dbg) for
building toolchain.

Fixed bug [YOCTO #2274]

(Bitbake rev: 434fdb3913cc78e2e9cdeede4c4fa7f1c8ef8892)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobb.utils: Modifed vercmp() to meet Debian rules.
Lianhao Lu [Thu, 12 Apr 2012 09:28:01 +0000 (17:28 +0800)]
bb.utils: Modifed vercmp() to meet Debian rules.

The version compare function vercmp() was not exatcly conforming to
Debian rules, e.g. it reported 'r1' > 'r1.1' but the Debian rules says
'r1' < 'r1.1'; it didn't support the "~" either.

Modified the vercmp() to meet Debian rules, so that it's compatible to
the rules used in opkg.

This part of the buf fixing of [YOCTO #2233].

(Bitbake rev: 97b610c54c60b5a40fa7f6a09fa23ce17b38f93a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: forbid users to exit Hob directly when Hob is busy
Shane Wang [Thu, 12 Apr 2012 14:22:44 +0000 (22:22 +0800)]
Hob: forbid users to exit Hob directly when Hob is busy

When Hob is busy with generating data, exiting Hob is not allowed.
That should be reasonable because at that time the mouse cursor is not a pointer.
If users want to exit, they can click "Stop" first and then do exit.

That is also a walkaround for [Yocto #2142]

(Bitbake rev: ad7f6bf3c7c4c15d546781aaefdaf03f00193f7c)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Implement Hob config parse hook
Dongxiao Xu [Thu, 12 Apr 2012 15:46:26 +0000 (23:46 +0800)]
Hob: Implement Hob config parse hook

To make Hob's specific variable settings take effect, we add a Hob
config hook at the end of parsing for each configuration file, and in
the hook function, Hob will set its own variables to the data store.

This fixes:
[YOCTO #2210]
[YOCTO #2254]

(Bitbake rev: 0ec7d1bbfd2e09ae60f99e6134b20ffd1d9145b1)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoConfHandler.py: Add a hook for config parsing
Richard Purdie [Fri, 13 Apr 2012 10:51:17 +0000 (11:51 +0100)]
ConfHandler.py: Add a hook for config parsing

To make the UI settings take effect, we need to hook at the end of each
config file parsing and set UI specific values.

(Bitbake rev: f54e733c7863110896f43900d9e4e791602f9d65)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: Set tmppath for rpm to somewhere which won't conflict with the...
Richard Purdie [Thu, 12 Apr 2012 20:16:41 +0000 (20:16 +0000)]
package_rpm.bbclass: Set tmppath for rpm to somewhere which won't conflict with the rootfs

If the rootfs has a specific layout in mind for /var/tmp, it should be
free to create this. Preinst scripts trigger rpm to create its tmppath
directory which could potentially conflict with this.

We're seeing issues if the provider of the /var/tmp wants to use a symlink
and a preinst script executes before it has been installed. This change
places tmppath as used by rpm somewhere safe which is already automatically
cleaned up too.

(From OE-Core rev: 71e95c744eaa4dda1b3237db2e13f666f121c92b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: fix the missing functions
Shane Wang [Thu, 12 Apr 2012 14:22:43 +0000 (22:22 +0800)]
Hob: fix the missing functions

The patch is to correct 7e5d41ab223b73c1c7b2cf7e4dd13289a2dc2e8b
(Bitbake rev: b6e68019494044305ab28492a517d1eafea851c3) to fix the
missing functions.

[Yocto #2281]

(Bitbake rev: 3c2808b67384e92601cbd66877c36ca40df7c7ba)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibunistring: Fix parallel make issue
Richard Purdie [Thu, 12 Apr 2012 08:42:59 +0000 (09:42 +0100)]
libunistring: Fix parallel make issue

See patch header for the full description of the parallel make issue this resolves.

(From OE-Core rev: 1b576a2412647fbbf0a17e95171efdc458f4be16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-dtb: Ensure dtb files are covered by sstate
Richard Purdie [Thu, 12 Apr 2012 09:18:58 +0000 (10:18 +0100)]
linux-dtb: Ensure dtb files are covered by sstate

The dtb files were not being installed into a location compatible with sstate and
the do_deploy task. This means in builds just using sstate, the dtb files disappeared.

This patch fixes the code to use the correct location for deploy files.

[YOCTO #2190]

(From OE-Core rev: 9815b7a95ac33d3234073cdd204d9389b4241189)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: Use the correct macros file to avoid empty solvedb path issues
Richard Purdie [Thu, 12 Apr 2012 07:21:38 +0000 (08:21 +0100)]
package_rpm.bbclass: Use the correct macros file to avoid empty solvedb path issues

(From OE-Core rev: f714f54df01e02a1115b42f3637f74a11eb51edb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackageselectionpage: add missing method
Joshua Lock [Thu, 12 Apr 2012 01:54:17 +0000 (18:54 -0700)]
packageselectionpage: add missing method

This is just a copy of the same method from the recipeselectionpage so
that we can actually run hob again.

Fixes [YOCTO #2281]

(Bitbake rev: b6e68019494044305ab28492a517d1eafea851c3)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuilder: fix missing \ for if continuation
Saul Wold [Thu, 12 Apr 2012 02:02:15 +0000 (19:02 -0700)]
builder: fix missing \ for if continuation

(Bitbake rev: f44f12b812d246da994519bc39789bf2dcfbac4b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: Fix useradd preinst ordering issues
Richard Purdie [Wed, 11 Apr 2012 21:31:20 +0000 (22:31 +0100)]
package_rpm: Fix useradd preinst ordering issues

We were already having occasional ordering issues with package_rpm.
Fixing the ldconfig postinstall issue pushed rpm over the cliff and
totally broke rpm builds with the packages getting installed in
effectively a random order and the useradd preinstalls getting executed
out of order and breaking.

The only explanation I can find for this is that rpm is special. It will
happily run a preinst for a package without any of that package's
dependencies being present regardless of whether there are any circular
dependency issues or not. I attempted various ways of solving this such
as ordering the total_solution.manifest in creative ways but the bottom
line is RPM ignores this. It takes little account of any request to
ignore /bin/sh dependencies for the purposes of constructing the final
image.

The end result is we're having to install the base-passwd, base-files
and shadow packages first (if there is a request to install them), then
install any other packages.

It this wasn't in the middle of a release I'd be rewriting this bbclass
file, its horrible.

(From OE-Core rev: 2c136255a7db8c57ab595a9c2ee1f32aebefc480)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohig/builder: use the new which_terminal() function
Saul Wold [Wed, 11 Apr 2012 00:57:15 +0000 (17:57 -0700)]
hig/builder: use the new which_terminal() function

Also adjusted the cmdline ordering to work correctly
with both xterm and vte.

(Bitbake rev: 4219e2ea033232d95117211947b751bdb5efafd4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/utils.py: new file for choosing terminals
Saul Wold [Wed, 11 Apr 2012 00:57:08 +0000 (17:57 -0700)]
ui/crumbs/utils.py: new file for choosing terminals

Adding this simple version of a terminal selector for use
hob since it's needed. Moving forward in the 1.3 release
the existing code in meta/lib/oe/termnial.py will be migrated
to core bitbake code and this will use that code.

(Bitbake rev: 359a9ea4c8d61247064db3eaefb816ef116d332a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro-tracking: Fix syslinux NO_UPDATE_REASON
Saul Wold [Wed, 11 Apr 2012 14:02:03 +0000 (07:02 -0700)]
distro-tracking: Fix syslinux NO_UPDATE_REASON

(From OE-Core rev: 19e3c031ccbcce655e4a60c4a488e27b09259fba)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Add missing variable bpn
Noor Ahsan [Wed, 11 Apr 2012 12:00:12 +0000 (17:00 +0500)]
insane.bbclass: Add missing variable bpn

* bpn variable was used but it was not defined. Add bpn to resolve that issue.

(From OE-Core rev: 5756d4a7d34fbb370ef54a99dff06afba7a80d8f)

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years ago"The suite of statements in a function definition executes with a local namespace...
Andrei Gherzan [Wed, 11 Apr 2012 11:55:22 +0000 (12:55 +0100)]
"The suite of statements in a function definition executes with a local namespace that is different from the global namespace. This means that all variables created within a function are local to that function. When the suite finishes, these working variables are discarded."

In this way the needs_ldconfig variable in linux_so never gets True in the statements
below this function. As global statement is generally discouraged, a return value
would be a clean and fast way to solve this issue.

[YOCTO #2205]

RP: Added logic to ensure the value doesn't get overwritten once set
(From OE-Core rev: 6d39af4f85220f20bad09b0fdd3ee0a7ec19c12d)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>---
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: multilib header support.
Lianhao Lu [Mon, 9 Apr 2012 05:01:07 +0000 (22:01 -0700)]
python: multilib header support.

Add intercept multilib header for pyconfig.h in python.
This is part of the bug fixing [YOCTO #2216].

(From OE-Core rev: 99591085186c465f2ddfaef08f419ec7584d4522)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitrdscripts: fix init-live.sh and use unionfs
Yang Shi [Wed, 11 Apr 2012 01:33:43 +0000 (18:33 -0700)]
initrdscripts: fix init-live.sh and use unionfs

[YOCTO #1487]

When booting up with liveCD image, init scripts can't work well on read-only filesystem. Unionfs,
which is supported in Yocto kernel, allows a filesystem to appear as writeable, but without
actually allowing writes to change the filesystem.

Use unionfs to mount rootfs and make root file system can be writen when using liveCD to boot up.
Set UNION_FS variable depending on kernel config, so that it can work with kernel which doesn't
have unionfs feature.

[RP: Mark recipe as machine specific due to kernel dependency]
(From OE-Core rev: b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa)

Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotclibc-eglibc.inc: make locale packages dependency conditional
Nitin A Kamble [Wed, 11 Apr 2012 01:33:46 +0000 (18:33 -0700)]
tclibc-eglibc.inc: make locale packages dependency conditional

Only add locale package dependencies if the eglibc is configured
with locale support.
  This avoids dependencies issues for distros such as poky-tiny

[RP: Add PR bump]
(From OE-Core rev: bcaea8ec9c9c333f76b368225f60d4fb54c1c7b2)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix host contamination issue
Richard Purdie [Wed, 11 Apr 2012 10:53:58 +0000 (11:53 +0100)]
python: Fix host contamination issue

python-nativesdk could fail with:

| /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/x86_64-linux/usr/bin/python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/python-nativesdk-2.7.2-r1.9/Python-2.7.2/libpython2.7.so.1.0)
| make: *** [sharedmods] Error 1

which is caused by the fact LD_LIBRARY_PATH is being set to include WORKDIR
when calling HOSTPYTHON. HOSTPYTHON is from python-native and needs no such
help so the easiest fix here is not to set crazy LD_LIBRARY_PATH values
since we should never be running anything from WORKDIR given the way we build
things.

The patch clears out the RUNSHARED variable which would contain the
LD_LIBRARY_PATH value prior to this patch.

(From OE-Core rev: 546175abbac8a3c7ec4b5a4d014b05378bbb092f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarchiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR...
Xiaofeng Yan [Wed, 11 Apr 2012 06:15:17 +0000 (14:15 +0800)]
archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver

When running "bitbake core-imamge-minmal", the error information like the following  will appear:
ERROR: Error executing a python function in
/buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb:
IOError: [Errno 2] No such file or directory:
'/buildarea2/yzhao-test/poky-test/build-archive/downloads/zlib-1.2.6.tar.bz2'

An absolute path from variable "file" pointed to tarballs in ${DL_DIR} \
cause this problem. So return base-name of "file" for fixing this bug here.

[YOCTO #2272]

(From OE-Core rev: 40c34087dea6869e5ec9a655980de3c3baa01960)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: fix options -b, -a and -P
Andreas Oberritter [Tue, 10 Apr 2012 20:25:04 +0000 (22:25 +0200)]
busybox: fix options -b, -a and -P

* busybox-udhcpc-no_deconfig.patch broke the options,
  preventing udhcpc from forking into the background
  if no lease can be obtained.

(From OE-Core rev: 24ad7ca9bd99cd6cd11f7d2d49a79fe3521cbcec)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package_deb: create .gz index instead of .bz2
Paul Eggleton [Tue, 10 Apr 2012 22:52:23 +0000 (23:52 +0100)]
classes/package_deb: create .gz index instead of .bz2

apt is looking for Packages.gz files instead of the .bz2 files we are
currently creating and failing when they cannot be found. It is not
immediately obvious how to make the current version use the .bz2
indexes; thus create .gz indexes for now which allows us to
successfully create images.

Tested on both a Fedora 14 and an Ubuntu 11.10 host machine.

Fixes [YOCTO #1858].

(From OE-Core rev: 518f4af617f91b209086acb51454393147aa92dd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: Add vte and eglibc-gconv-ibm850
Saul Wold [Wed, 11 Apr 2012 01:33:45 +0000 (18:33 -0700)]
task-self-hosted: Add vte and eglibc-gconv-ibm850

Adding vte for a more full featured terminal
adding eglibc-gconv-ibm850 for mcopy

(From OE-Core rev: b30a6eb08640b25bb0b0530f51a8cb749de1c311)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboot-directdisk: remove the default setting of SYSLINUXCFG and SYSLINUXMENU
Saul Wold [Wed, 11 Apr 2012 01:33:44 +0000 (18:33 -0700)]
boot-directdisk: remove the default setting of SYSLINUXCFG and SYSLINUXMENU

These two should get setup in {S} and installed into {HDDDIR}, by
having them defined with {HDDDIR} they try to get created when the
directory does not exist yet.

(From OE-Core rev: 215ea5ea8b97270a3602b3f20469226a56442552)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: add ofono dependency.
Lianhao Lu [Wed, 11 Apr 2012 01:33:42 +0000 (18:33 -0700)]
connman: add ofono dependency.

Added dependency to ofono because we always enable ofono plug-in.

We did this because the 1.2 release cycle is coming to an end. We should
use PACKAGECONFIG in 1.3.

This is part of the 1.2 bug fixing [YOCTO #2216].

(From OE-Core rev: bfd6bf92ddf371d9be937ec0605e08667749fd88)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob:Fixed some incorrect values of Build configuration tab
Liming An [Mon, 9 Apr 2012 14:13:51 +0000 (22:13 +0800)]
Hob:Fixed some incorrect values of Build configuration tab

Because some variables not be updated when building started, so add them
to the updating function of configuration class, and add reset function of
configurate treeview of building detail page

[YOCTO #2244]

(Bitbake rev: 06ce753fd4680a204ccc63949ace637dc1c115e2)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: show those appliable buttons on the image details page only
Shane Wang [Mon, 9 Apr 2012 14:13:50 +0000 (22:13 +0800)]
Hob: show those appliable buttons on the image details page only

We don't use "grayed out" but use "show/hide" for those appliable buttons
in the image details page.

[Yocto #2143]

(Bitbake rev: df1564d78d081ceab51d628d227e57b7a197259b)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: forget selected_recipes and selected_packages after users change the machine
Shane Wang [Mon, 9 Apr 2012 14:13:49 +0000 (22:13 +0800)]
Hob: forget selected_recipes and selected_packages after users change the machine

The patch is to fix [Yocto #2255]. Now the logic is:

- If users change the machine, the image combo is empty for users to select.
- If users load the template, the image combo should set the value of
  selected_image specified in the template.
- After loading a template, if users change the machine, the selected_image
  specified in the template should be removed from the image combo because
  it is probably invalid for a new machine.
- If users customize the recipe/package list, and change the settings which
  causes reparsing, selected_recipes and selected_packages should be remembered.
- If users add more layers, selected_recipes and selected_packages should be
  remembered.

(Bitbake rev: e549b11f4f31863393f62a253ee96bead4594523)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add tooltips into image details screen
Shane Wang [Mon, 9 Apr 2012 14:13:48 +0000 (22:13 +0800)]
Hob: add tooltips into image details screen

[Yocto #2243]

(Bitbake rev: 543e81b87b48de9c5285b81c856376c9f52d7902)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: tooltip change for "Build image" button
Shane Wang [Mon, 9 Apr 2012 14:13:47 +0000 (22:13 +0800)]
Hob: tooltip change for "Build image" button

[Yocto #2242]

(Bitbake rev: a36bd8ddf62397c554dadb97841532e260b01b91)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and reword stop_parse()
Shane Wang [Mon, 9 Apr 2012 14:13:46 +0000 (22:13 +0800)]
Hob: clean up and reword stop_parse()

(Bitbake rev: f6e0d93c96d1626e7da298e296b1be9e425173b2)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up generate_configuration()
Shane Wang [Mon, 9 Apr 2012 14:13:45 +0000 (22:13 +0800)]
Hob: clean up generate_configuration()

(Bitbake rev: 569d5ac3a3e89c7a8d69ec611b69edbae414b5fe)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up cancel_build()
Shane Wang [Mon, 9 Apr 2012 14:13:44 +0000 (22:13 +0800)]
Hob: clean up cancel_build()

(Bitbake rev: ef441d51700f73577e72c106ee2a0ecd4eceda08)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up request_package_info_async()
Shane Wang [Mon, 9 Apr 2012 14:13:43 +0000 (22:13 +0800)]
Hob: clean up request_package_info_async()

(Bitbake rev: e95b52820f26a7a35865e8978ea752053dccd4b1)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and unify get_parameters() to be get_parameters_sync()
Shane Wang [Mon, 9 Apr 2012 14:13:42 +0000 (22:13 +0800)]
Hob: clean up and unify get_parameters() to be get_parameters_sync()

(Bitbake rev: 16fecd0d0f95285bf774030cd24006206185faee)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up to call clear_busy() in hobeventhandler.py
Shane Wang [Mon, 9 Apr 2012 14:13:41 +0000 (22:13 +0800)]
Hob: clean up to call clear_busy() in hobeventhandler.py

(Bitbake rev: 7b6414e2b82666c3cfa5432ce8fe8c348b227441)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and unify the steps for IMAGE_GENERATING to call generate_image_async()
Shane Wang [Mon, 9 Apr 2012 14:13:40 +0000 (22:13 +0800)]
Hob: clean up and unify the steps for IMAGE_GENERATING to call generate_image_async()

For the steps in IMAGE_GENERATING, the patch consolidates them into
generate_image_async() to call.

(Bitbake rev: d4f2335e40d4d667847d3faed79bcee74baeea37)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and unify the steps for PACKAGE_GENERATING and FAST_IMAGE_GENERATING...
Shane Wang [Mon, 9 Apr 2012 14:13:39 +0000 (22:13 +0800)]
Hob: clean up and unify the steps for PACKAGE_GENERATING and FAST_IMAGE_GENERATING to call generate_packages_async() and fast_generate_image_async()

For the steps in PACKAGE_GENERATING, the patch consolidates them into
generate_packages_async() to call.

For the steps in FAST_IMAGE_GENERATING, the patch also consolidates them
into fast_generate_image_async() to call.

(Bitbake rev: 1ec53d41774528ab01e835d1cf4166f0202a7c38)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and unify the steps for RCPPKGINFO_POPULATING to call populate_recipe_p...
Shane Wang [Mon, 9 Apr 2012 14:13:38 +0000 (22:13 +0800)]
Hob: clean up and unify the steps for RCPPKGINFO_POPULATING to call populate_recipe_package_info_async()

For the steps in RCPPKGINFO_POPULATING, This patch consolidates them into
populate_recipe_package_info_async() to call.

(Bitbake rev: ed2aa6f235e1b789af8a33729302a4269674c6b4)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and unify the steps for CONFIG_UPDATE to call update_config_async()
Shane Wang [Mon, 9 Apr 2012 14:13:37 +0000 (22:13 +0800)]
Hob: clean up and unify the steps for CONFIG_UPDATE to call update_config_async()

For the steps in CONFIG_UPDATE, the patch consolidates them into
update_config_async() to call.
consequently remove CONFIG_UPDATE since MACHINE_SELECTION covers it.

(Bitbake rev: f583d43e87c049bdee88890e289f14520c7c31a1)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: clean up and unify the steps for new build to call initiate_new_build_async()
Shane Wang [Mon, 9 Apr 2012 14:13:36 +0000 (22:13 +0800)]
Hob: clean up and unify the steps for new build to call initiate_new_build_async()

initiate_new_build() (changed the function name into initiate_new_build_async()
to indicate it is an async function) or the similar sub-functions are called at
different places.

This patch is unify to call initiate_new_build_async().

(Bitbake rev: ec42be626a5d6362a09f12f4f4025ad92d70c89b)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: correct indent
Shane Wang [Mon, 9 Apr 2012 14:13:35 +0000 (22:13 +0800)]
Hob: correct indent

(Bitbake rev: 684e0eddfbbb4618a1adcf179296f3f1066ae1c0)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Add the tooltips for recipe view page as request
Liming An [Mon, 9 Apr 2012 14:13:34 +0000 (22:13 +0800)]
Hob: Add the tooltips for recipe view page as request

[YOCTO #2229]

(Bitbake rev: 37c969164a6ef9adcaa743a3909102b005a55163)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add fadeout display effection for package view include page
Liming An [Mon, 9 Apr 2012 14:13:33 +0000 (22:13 +0800)]
Hob: add fadeout display effection for package view include page

[YOCTO #2100]

(Bitbake rev: c0c81647dc5e72fe3abb1fb3b65a978aa4b226a5)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add fadeout display effection for recipe view include page
Liming An [Mon, 9 Apr 2012 14:13:32 +0000 (22:13 +0800)]
Hob: add fadeout display effection for recipe view include page

As UI request, in recipes selection page, if user exclude a item,
the related depends recipes will be excluded together,so the view
clearly to add it.

[YOCTO #2100]

(Bitbake rev: c9eed04c6275ef2c694f89e047f85c7de76f89b6)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Add an extra 50M space if zypper is selected
Dongxiao Xu [Mon, 9 Apr 2012 08:42:02 +0000 (16:42 +0800)]
Hob: Add an extra 50M space if zypper is selected

If zypper is selected, RPM packaging will add extra 50M free space to
the final image. We need to reflect it in package selection page.

(Bitbake rev: 22344f13d5e201be0d6381c6542d05c6fde7eec3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Fix tooltips in Settings dialog
Dongxiao Xu [Mon, 9 Apr 2012 08:42:01 +0000 (16:42 +0800)]
Hob: Fix tooltips in Settings dialog

This fixes [YOCTO #2229]

(Bitbake rev: 0f57e1d1d85a2c86d68e604e294ea4b0ceff03ca)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Fix tooltips in image configuration page
Dongxiao Xu [Mon, 9 Apr 2012 08:42:00 +0000 (16:42 +0800)]
Hob: Fix tooltips in image configuration page

This fixes [YOCTO #2228]

(Bitbake rev: f99e90726716bc89bdd980a3db027f1c3a66f2fa)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Fix the pattern patch for image name
Dongxiao Xu [Mon, 9 Apr 2012 08:41:59 +0000 (16:41 +0800)]
Hob: Fix the pattern patch for image name

Sometimes, users may open an image that is not built by Hob, therefore
its image name is not started with "hob-image-". This commit sets a
looser rule for runnable image matching.

This fixes [YOCTO #2240]

(Bitbake rev: 7b81389566cb27451557ca11ec8ed40ef2630543)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change base image to "Create your own image" if customized
Dongxiao Xu [Mon, 9 Apr 2012 08:41:57 +0000 (16:41 +0800)]
Hob: Change base image to "Create your own image" if customized

Once user did customization to his base image, we change the base image
to be "Create your own image" to avoid some issues caused by the
relationship between base image and its default recipes and packages.

This fixes [YOCTO #2211]

(Bitbake rev: 8edad8d282b69896237e956a00c66cd4d10ef494)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoselectionpage: show persistent tooltips on click
Joshua Lock [Thu, 5 Apr 2012 22:32:28 +0000 (15:32 -0700)]
selectionpage: show persistent tooltips on click

Requiring a double click to show the tooltips isn't very intuitive, add
a callback to show the persistent tooltips on button release.

(Bitbake rev: 80af7e72a9404044910fca7f9265e66354f747a6)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/[recipe|package]selectionpage: fixed width Included col
Joshua Lock [Fri, 6 Apr 2012 23:02:22 +0000 (16:02 -0700)]
lib/bb/ui/crumbs/[recipe|package]selectionpage: fixed width Included col

Set the expand property on all columns other than the 'Included' column
so that the included column remains at the max size set.

(Bitbake rev: e1406d75c0643a2e65bb61649958e05e730fb332)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/recipeselectionpage: include 'Group' in 'Included' view
Joshua Lock [Thu, 5 Apr 2012 23:37:23 +0000 (16:37 -0700)]
lib/bb/ui/crumbs/recipeselectionpage: include 'Group' in 'Included' view

The 'Included' tab of the notebook should show the 'Group' a recipe
belongs to, per the design.

(Bitbake rev: 4f45d791644e383b11cbcfd4fb02866518cb9c04)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: only display one 'Brought in by' item in Hob trees
Joshua Lock [Thu, 5 Apr 2012 21:39:50 +0000 (14:39 -0700)]
lib/bb/ui/crumbs: only display one 'Brought in by' item in Hob trees

The design calls for a single 'Brought in by' item to be shown in the
tree views with any extra items to be shown in the tooltip.

(Bitbake rev: 6866271da738237d3a119e291ac8f9d2c517e124)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob: update required versions of (py)gtk et al
Joshua Lock [Thu, 5 Apr 2012 17:56:43 +0000 (10:56 -0700)]
hob: update required versions of (py)gtk et al

With the previous two changes we now work on Gtk+ 2.18 and PyGtk 2.16

(Bitbake rev: 5ccbcdf8c47f2f20655a3ea0f60e5870cdba6f83)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hobwidget: replace new API
Joshua Lock [Thu, 5 Apr 2012 17:17:57 +0000 (10:17 -0700)]
lib/bb/ui/crumbs/hobwidget: replace new API

The gtk.Widget.get_sensitive() convenience method is only available
in Gtk+ 2.22 or later, instead use the sensitive property of the
gobject to determine whether the widget is sensitive or not.

(Bitbake rev: 82ea0619e9ecf9107b75692385bcf1434ea8a307)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/persistenttooltip: replace 2.22 API
Joshua Lock [Wed, 4 Apr 2012 23:07:45 +0000 (16:07 -0700)]
lib/bb/ui/crumbs/persistenttooltip: replace 2.22 API

CentOS 6.x doesn't ship with new enough pygtk for this API.

(Bitbake rev: 2b6ce54cdc23c5fc1325e42634287134f55aacbf)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiskspace monitor: assign a default value when only of the interval is set
Robert Yang [Thu, 5 Apr 2012 12:58:57 +0000 (20:58 +0800)]
diskspace monitor: assign a default value when only of the interval is set

Assign a default value to the other one when either disk space interval
or amount of inodes interval value is set for example:

BB_DISKMON_WARNINTERVAL = "50M,"
or
BB_DISKMON_WARNINTERVAL = ",5K"

The diskspace monitor would not enable in the past, that seemed
unreasonable, assign a default value to the other one currently, so the
monitor will be enabled, and will warn both of diskspace and free
amount of inode if they have been set in BB_DISKMON_DIRS.

(Bitbake rev: 09592c119550550edcc59c871f754536d5b7bf65)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohello-mod: Move hello-mod from meta to meta-skeleton
Darren Hart [Mon, 9 Apr 2012 22:19:00 +0000 (15:19 -0700)]
hello-mod: Move hello-mod from meta to meta-skeleton

Fixes [YOCTO #1501]

hello-mod is an example kernel module, and does not provide any real
functionality. As such, it would be better placed under meta-skeleton than
meta.

(From OE-Core rev: bde1744018afd4616e114b20ffdc21b9abddcedc)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: Update distro-tracking fields
Darren Hart [Mon, 9 Apr 2012 21:43:44 +0000 (14:43 -0700)]
syslinux: Update distro-tracking fields

Add reason for not updating syslinux this release.

(From OE-Core rev: d037060e2fec073ccfb33c83d426c9775b331457)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoat: Fix origin location of install pam.conf from from ${P} -> ${BP}
Saul Wold [Mon, 9 Apr 2012 22:06:53 +0000 (15:06 -0700)]
at: Fix origin location of install pam.conf from from ${P} -> ${BP}

This patch changes P to BP to address where a file is installed
from when building with PAM enabled and using multi-lib.

[YOCTO #2224]

(From OE-Core rev: 7304874058011360070ab28f14423273aa99360e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb: add --with-libexpat-prefix
Martin Jansa [Sun, 8 Apr 2012 21:36:49 +0000 (23:36 +0200)]
gdb: add --with-libexpat-prefix

* otherwise it sometimes finds host's expat

(From OE-Core rev: 19d034963cc16392a12db144e04c55cbab245576)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Add the condition for the content of arch.conf when enable multilib
Xiaofeng Yan [Mon, 9 Apr 2012 07:16:32 +0000 (15:16 +0800)]
opkg: Add the condition for the content of arch.conf when enable multilib

After successfully installed some lib32 multilib packages into the
x86-64 image, we just found that the file content of /var/lib/opkg/status in
rootfs changed after the very 1st boot, many lib32 related packages information
are missing in that file.

The missing arch "x86" in arch.conf cause the above problem. Adding the
condition for the content of arch.conf when enable multilib. If build
multilib image, "ALL_MULTILIB_PACKAGE_ARCHS" will be used instead of
"PACKAGE_ARCHS".

[YOCTO #1522]

(From OE-Core rev: 700fc9a5d25ebb1f85cb9db11e41ba502744fe7e)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: Fixed ppc kernel naming.
Lianhao Lu [Mon, 9 Apr 2012 10:32:02 +0000 (18:32 +0800)]
adt-installer: Fixed ppc kernel naming.

1. Fixed the ppc kernel naming.
2. Disabled opkg shared library to avoid runtime opkg-cl launching
error.
3. Adjusted the variable sequence in adt-installer.conf

Fixed bug [YOCTO #2233]

(From OE-Core rev: fdf65d9f12d67f4290b83253efdbb34e5551fbb2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-toolchain: runqemu falied on FC16/Opensuse12.1 x86_64
Robert Yang [Mon, 9 Apr 2012 08:20:36 +0000 (16:20 +0800)]
meta-toolchain: runqemu falied on FC16/Opensuse12.1 x86_64

runqemu can't launch a target image on Fedora 16 64bit or Opensuse 12.1
64bit, this is because runqemu needs the host's libGL.so, which requires
GLIBC_2.14 which is defined in libc.so.6, but our default libc.so.6 is
version 2.13, here is the message from Richard:

The easiest solution would be to change the nativesdk libc to 2.15. I don't
think we plan to do this for the target libc for 1.2 but we could change
nativesdk's version if its well tested

[YOCTO #1968]

(From OE-Core rev: 5f1becfba0b801eeacb1c626659fe46cd6df25bf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogit 1.7.7: remove perl.mak before compile
Robert Yang [Mon, 9 Apr 2012 08:37:12 +0000 (16:37 +0800)]
git 1.7.7: remove perl.mak before compile

The git may fail to rebuild when perl's Config.pm or config.h changes,
this is because Makefile detects that perl/perl.mak is out of date.
Remove perl.mak to let Makefile regenerate it would fix the error.
Both git and git-native have this problem.

To reproduce the error: (On x86_64 host)

$ bitbake git-native
$ touch tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.2/Config.pm
$ bitbake git-native -ccompile -f

[YOCTO #2156]

(From OE-Core rev: 7f9a3eb4e81f708573cfd5123655441d3b9532a5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub-efi: Include GPT partition EXT FS support
Darren Hart [Fri, 6 Apr 2012 19:04:52 +0000 (12:04 -0700)]
grub-efi: Include GPT partition EXT FS support

Fixes [YOCTO 2257]

GPT partitions are common for EFI systems. Add support for them by
including the part_gpt partition module in the grub-efi image. In
order to allow for loading a Linux kernel from an EXT* filesystem,
include the ext2 module as well.

With this fix applied, I was able to boot from a USB key using a
GPT partition table with the following layout:

  $ sudo gdisk -l /dev/sdc
  GPT fdisk (gdisk) version 0.8.2

  Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present

  Found valid GPT with protective MBR; using GPT.
  Disk /dev/sdc: 7669824 sectors, 3.7 GiB
  Logical sector size: 512 bytes
  Disk identifier (GUID): 68FA7CD4-E0C3-4A8E-82B5-1331C9B17A3C
  Partition table holds up to 128 entries
  First usable sector is 34, last usable sector is 7669790
  Partitions will be aligned on 2-sector boundaries
  Total free space is 7428816 sectors (3.5 GiB)

  Number  Start (sector)    End (sector)  Size       Code  Name
     1              34           32801   16.0 MiB    0700      # FAT16
     2           32802          240974   101.6 MiB   0700      # EXT3

From within GRUB, booted as bootia32.efi from the BOOT partition, I
booted the OS with the following commands:

  grub> linux (hd0,gpt2)/vmlinuz rootwait root=/dev/sda2 console=ttyS0,115200
  grub> boot

This change will enable BSP developers to use the grub-efi image in
their own images as well as enable upcoming changes to the installer
to support EFI.

(From OE-Core rev: a2c6687410f00623efe8dfcb22385cbbc7f2e1a9)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Kishore Bodke <kishore.k.bodke@intel.com>
CC: Rahul Saxena <rahul.saxena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Fix gl failure from 64b target on 32b host
Zhai Edwin [Fri, 6 Apr 2012 06:39:39 +0000 (14:39 +0800)]
qemu: Fix gl failure from 64b target on 32b host

Data from 64b target is truncated by 32b host. This patch makes type of data
buf in host same as target.

[YOCTO #2221] got fixed.

(From OE-Core rev: d9f12cee3847cbf1cf9fc20cb614f8cd67d2a2ee)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
[Bumped PR - sgw]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-native: disable logging to syslog
Scott Garman [Thu, 5 Apr 2012 17:14:28 +0000 (10:14 -0700)]
shadow-native: disable logging to syslog

Disable use of syslog to prevent sysroot user and group additions
from writing entries to the host's syslog.

This fixes [YOCTO #2012]

(From OE-Core rev: e5aee0a2f5973a7aef81d0f38307a93791f616c6)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-common: package gl.pc in libgl-dev
Joshua Lock [Fri, 6 Apr 2012 00:31:55 +0000 (17:31 -0700)]
mesa-common: package gl.pc in libgl-dev

gl.pc should be packaged in libgl-dev not the mesa-dev package

Fixes [YOCTO #2059]

(From OE-Core rev: d9d4fe9885e398df2062b3f2aed3fc274c656736)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreate-pull-request: Assume remote branch from local branch
Darren Hart [Thu, 5 Apr 2012 21:24:43 +0000 (14:24 -0700)]
create-pull-request: Assume remote branch from local branch

It is common to use the same remote branch name as the local branch
name. In this case, it would be nice not to have to specify the
remote branch name.

Make the -b argument optional and assume the remote branch is the same
name as the local branch. Print a NOTE to this effect so as not to
catch the user by surprise:

NOTE: Assuming remote branch 'notthere', use -b to override.

If the remote branch doesn't exist, a WARNING is displayed just as if
the user had used -b to specify a non-existent branch:

WARNING: Branch 'notthere' was not found on the contrib git tree.
         Please check your remote and branch parameter before sending.

(From OE-Core rev: 62570b7e3db44fbc3461f650abe6c4613940e068)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu-internal: Add console=tty for qemuppc and NFS
Saul Wold [Thu, 5 Apr 2012 20:14:06 +0000 (13:14 -0700)]
runqemu-internal: Add console=tty for qemuppc and NFS

Adding this to the nfs to match the ext3 kernelcmdline, this re-enables
keyboard input on the qemuppc.

[YOCTO #2058]

Thanks to Yi Zhao <yi.zhao@windriver.com> for the initial patch suggestion

(From OE-Core rev: 1a82989345fb98becb487d270fd93a5e6dffeb47)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: use Clearlooks theme
Paul Eggleton [Thu, 5 Apr 2012 11:36:08 +0000 (12:36 +0100)]
self-hosted-image: use Clearlooks theme

Use a nicer theme (Clearlooks) to improve Hob's appearance in the self
hosted image and fix the progress bar not changing colour when the build
fails.

Fixes [YOCTO #2208]

(From OE-Core rev: 19a13ecceac1f48fcfe1552e88df18edd96e1bea)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: decrease reserved space to 0.5%
Paul Eggleton [Wed, 4 Apr 2012 15:07:31 +0000 (16:07 +0100)]
self-hosted-image: decrease reserved space to 0.5%

The default amount of reserved space for ext2/3 is 5% - this amounts to
about 2GB of a 40GB filesystem that the builder user can't make use of.
We don't need this much reserved so peg it back to 0.5% which should be
more than enough.

(From OE-Core rev: c62d6d119c107fc60894ba25e83c96536a1b423c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: use the correct location of the file sudoers
Dexuan Cui [Thu, 5 Apr 2012 04:00:05 +0000 (12:00 +0800)]
self-hosted-image: use the correct location of the file sudoers

(From OE-Core rev: 2abeafa7a43736d6fd8b8ecb22c6f3c840093870)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Fixed multilib support.
Lianhao Lu [Thu, 5 Apr 2012 11:43:28 +0000 (19:43 +0800)]
connman: Fixed multilib support.

1. Corrected the package content of connman-test.

This is part of the bug fixing [YOCTO #2216].

(From OE-Core rev: 4df39d673156cc63b94531515d8f92ca4d0da77f)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Removed ofono addtion - sgw

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk.bbclass: fixing muttilib prefix extracting.
Lianhao Lu [Thu, 5 Apr 2012 11:41:47 +0000 (19:41 +0800)]
package_ipk.bbclass: fixing muttilib prefix extracting.

Fixed an error in multilib prefix extracting.

(From OE-Core rev: 0e66900cbe6438b9b3ecfef1c348a5575bd27c41)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot: add machine name to spl image name
Stefan Herbrechtsmeier [Thu, 5 Apr 2012 11:48:27 +0000 (13:48 +0200)]
u-boot: add machine name to spl image name

(From OE-Core rev: 794225ed3b6fe7878595b7452259cc9bf1973213)

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firmware: keep version string in libertas firmware
Stefan Herbrechtsmeier [Thu, 5 Apr 2012 10:36:58 +0000 (12:36 +0200)]
linux-firmware: keep version string in libertas firmware

Recent Linux kernel tries to load the libertas firmware with the version
string in its name first. This results in a delayed firmware load on
system boot. Keep the default libertas firmware name and add a link for
older driver versions.

(From OE-Core rev: baa1323dfff35ccd5aebc036ca97925a1f1a604e)

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk: don't generate Packages.filelist
Martin Jansa [Thu, 5 Apr 2012 09:21:14 +0000 (11:21 +0200)]
package_ipk: don't generate Packages.filelist

* it works only with 'new' packages and with fixed opkg-utils it will unpack
  *all* packages, because filelist doesn't support 'cache' like Packages does

(From OE-Core rev: ad77d367e1526a805c383ce20f8f81ef3082c3d8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Modify Image Descriptions
Elizabeth Flanagan [Thu, 5 Apr 2012 07:50:55 +0000 (00:50 -0700)]
Hob: Modify Image Descriptions

Fixes [YOCTO #2227]

I've updated the image descriptions per the bug description.

(From OE-Core rev: 479b020edbc609c3ae1e3846e9e0d1643ac10059)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-base: fix build of subparse plugin
Andreas Oberritter [Wed, 4 Apr 2012 22:28:36 +0000 (00:28 +0200)]
gst-plugins-base: fix build of subparse plugin

* Fixes the following configure error by prefixing
  PKG_CONFIG_SYSROOT_DIR:

| grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory

(From OE-Core rev: 3c77f7a3bbd47d33dd7cac7ba536675357991c5f)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: Avoid using linux.ext2_fs.h if possible
Darren Hart [Wed, 4 Apr 2012 14:54:00 +0000 (07:54 -0700)]
syslinux: Avoid using linux.ext2_fs.h if possible

Fixes [YOCTO 2236]

With recent Linux kernel headers, such as 3.3 in Fedora 16, the linux/ext2_fs.h
header has been removed. This causes compile failures for syslinux-native.
Backport a fix to address this from syslinux-4.06-pre3.

(From OE-Core rev: bc875f685f38024ea96ba8570550d4e505a1e4b0)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Ross Burton <ross.burton@intel.com>
CC: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdbm: Activate -enable-libgdbm-compat and add symlinks to headers in include/gdbm
Andrei Gherzan [Fri, 23 Mar 2012 15:56:29 +0000 (17:56 +0200)]
gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in include/gdbm

ndbm.h is needed by python for dbm module. This is why -enable-libgdbm-compat was added
to configure.
The second change is because python is looking for the gdbm headers in include/gdbm.
The easiest way to solve this issue is to add symlinks in include/gdbm.

[YOCTO #1937]

(From OE-Core rev: e4d2ee00419f675ba8b7fb5d75256762253d8b32)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFix typo in user manual: "incarantion" -> "incarnation"
Robert P. J. Day [Sun, 1 Apr 2012 17:42:14 +0000 (13:42 -0400)]
Fix typo in user manual: "incarantion" -> "incarnation"

(Bitbake rev: dd15a92a0932d3e177c0ca7b2923da1d72046e51)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts: Clarify "help" info for yocto-bsp and yocto-kernel
Robert P. J. Day [Wed, 4 Apr 2012 21:20:14 +0000 (17:20 -0400)]
scripts: Clarify "help" info for yocto-bsp and yocto-kernel

Tweak the help info for both "yocto-bsp" and "yocto-kernel" to
emphasize that those are the *complete* lists of commands, not just
the most commonly used ones.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
12 years agoHob: a minor fix on pmake
Shane Wang [Mon, 2 Apr 2012 08:29:20 +0000 (16:29 +0800)]
Hob: a minor fix on pmake

params["pmake"] should be in the format "-j int".
When loading/saving "PARALLEL_MAKE" into templates, configuration.pmake will be
converted into "-j int", as "PACKAGE_CLASSES" and "BBLAYERS" do.

For "PACKAGE_CLASSES" and "BBLAYERS", params["pclass"] and params["layer"] are
also strings rather than the types of configuration.curr_package_format and
configuration.layers.

(Bitbake rev: d49db15badb77855cef855ee73430fcbc16b6916)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: a minor fix on image_fstypes
Shane Wang [Mon, 2 Apr 2012 08:29:19 +0000 (16:29 +0800)]
Hob: a minor fix on image_fstypes

image_fstypes in the configuration has been changed into a string rather than
a list. Here we correct it in __init__() of class Configuration. At other places,
image_fstypes are all strings.

(Bitbake rev: 59dd7e91c11e0348f967578f32e13f5984c6a452)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: avoid the empty white space appearing on top of the gtk.ComboBox
Shane Wang [Mon, 2 Apr 2012 08:29:18 +0000 (16:29 +0800)]
Hob: avoid the empty white space appearing on top of the gtk.ComboBox

Avoid the empty white space appearing on top of the machine selection combo
box and the image selection combo box in the "Image configuration" screen

[Yocto #2166]

(Bitbake rev: 9d30ad56803c67d2dc7ebddd7c339038438f02ba)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: unify _size_to_string() and _string_to_size()
Shane Wang [Mon, 2 Apr 2012 08:29:17 +0000 (16:29 +0800)]
Hob: unify _size_to_string() and _string_to_size()

We call intsize_to_string (and string_to_intsize) in 3 different places.
We unify the implementations into one place.

(Bitbake rev: 578ce86a9ac2110f5b128aae582c6e0b3e739cec)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: handle exceptions when loading templates
Shane Wang [Mon, 2 Apr 2012 08:29:16 +0000 (16:29 +0800)]
Hob: handle exceptions when loading templates

Handle exceptions during type conversion to integers.

(Bitbake rev: bb3a4e2d40486a347c13563d73e4df6d015a3c6c)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: handle exceptions in get_parameters() from the bitbake
Shane Wang [Mon, 2 Apr 2012 08:29:15 +0000 (16:29 +0800)]
Hob: handle exceptions in get_parameters() from the bitbake

Handle exceptions during type conversion into integers.

(Bitbake rev: e03da8876045af545303db2b8044a17657337140)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Check "dummy" image while update_image_combo
Dongxiao Xu [Sun, 1 Apr 2012 12:14:16 +0000 (20:14 +0800)]
Hob: Check "dummy" image while update_image_combo

We also need to check if the selected image is "Create your own image"
and set it as active.

Besides, to avoid the impact of set_active(), we need to move the
connect signal in the end of the update_image_combo() function.

(Bitbake rev: 54ae7ddac450b4717e5ccae3bfe9acb479449451)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Remove the recipe/task type for multilib
Dongxiao Xu [Sun, 1 Apr 2012 12:14:14 +0000 (20:14 +0800)]
Hob: Remove the recipe/task type for multilib

We will not display multilib recipes and tasks in separate tabs,
therefore remove the specific types.

(Bitbake rev: da69e665196714b0f2039c11f9f232db7b58bce3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/hob: exit cleanly if the required pygtk version isn't available
Joshua Lock [Wed, 4 Apr 2012 00:35:41 +0000 (17:35 -0700)]
lib/bb/ui/hob: exit cleanly if the required pygtk version isn't available

Hob uses API from pygtk 2.22, therefore check to see whether this
version is available and exit cleanly if not.

(Bitbake rev: 192d5fdf9ea27cdc8b043204857ae5b21173a011)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: reset issue indication and build status before build starts on build details...
Shane Wang [Mon, 2 Apr 2012 15:22:40 +0000 (23:22 +0800)]
Hob: reset issue indication and build status before build starts on build details screen

(Bitbake rev: 5fed953105fd58f09e42dce233aab2c6eced7c37)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>