]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agobitbake: bitbake-diffsigs: improve error handling
Paul Eggleton [Fri, 4 Oct 2013 15:35:29 +0000 (15:35 +0000)] 
bitbake: bitbake-diffsigs: improve error handling

* Set up a logger independent of BitBake so we can log errors ourselves
* Handle common errors without printing a traceback

(Bitbake rev: 77b5f5b8dca4deebb06eeb06a8e7f2ccdbfff46f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake-diffsigs: refactor argument parsing slightly
Paul Eggleton [Fri, 4 Oct 2013 15:06:36 +0000 (15:06 +0000)] 
bitbake: bitbake-diffsigs: refactor argument parsing slightly

* Use OptionParser to parse the two options to -t rather than trying to
  pick them out ourselves.
* Add a description shown with --help output

(Bitbake rev: daab42d19463b4108968fc88b207936e5ac84154)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake-diffsigs: handle if task name is specified without do_ prefix
Paul Eggleton [Fri, 4 Oct 2013 11:13:46 +0000 (11:13 +0000)] 
bitbake: bitbake-diffsigs: handle if task name is specified without do_ prefix

Adjust the task name automatically if the -t option is specified with
a task name that doesn't start with do_ (e.g. "configure" instead of
"do_configure").

(Bitbake rev: d182cbc63745303ef2dc9fa2cbbf5d87a68e0b52)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bin/bitbake: Clarify server error message
Richard Purdie [Fri, 4 Oct 2013 13:24:50 +0000 (14:24 +0100)] 
bitbake: bin/bitbake: Clarify server error message

Getting an error message about --remote-server being set when really
BBSERVER was is confusing, clarify the message.

(Bitbake rev: d7b5938a30a9b0ed83f899a06a88786e8392f8bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bin/bitbake: Clear ui-queue when starting a server
Richard Purdie [Fri, 4 Oct 2013 13:17:45 +0000 (14:17 +0100)] 
bitbake: bin/bitbake: Clear ui-queue when starting a server

When starting a server we don't want to show the debug event queue which
is reserved for when when errors have occurred. This patch copies the UI
code to ensure the user doesn't see confusing output.

(Bitbake rev: a886cda58415085981646fb9a024fa7641f55865)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bin/bitbake: No need to show tracebacks for BBHandledExceptions
Richard Purdie [Fri, 4 Oct 2013 13:16:15 +0000 (14:16 +0100)] 
bitbake: bin/bitbake: No need to show tracebacks for BBHandledExceptions

For BBHandledExceptions, we've already displaced a sensible error to
the user so we don't need to do it again. Just exit with an error
value.

(Bitbake rev: 1ff5ec26eba70ab1c85674a60b7dac77317bf349)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: xmlrpc: Show a better error message for connection failures
Richard Purdie [Fri, 4 Oct 2013 13:15:36 +0000 (14:15 +0100)] 
bitbake: xmlrpc: Show a better error message for connection failures

Showing a traceback when unable to connect to a bitbake server is
rather ugly. This change allows us to show a sensible error message.

(Bitbake rev: 26913202f83fbbecdce95da59515af102bcde4a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bin/bitbake: Catch establish connection log messages
Richard Purdie [Fri, 4 Oct 2013 13:14:52 +0000 (14:14 +0100)] 
bitbake: bin/bitbake: Catch establish connection log messages

If for example you try "bitbake -m" with an invalid BBSERVER, error
messages are not displayed. This change ensures logging is in place
to catch and display such errors.

(Bitbake rev: 719808f95adc7820fcc09743c592513414d03ce1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake/hob: removing extra parameters from conf files using hob
Cristiana Voicu [Fri, 4 Oct 2013 13:19:45 +0000 (16:19 +0300)] 
bitbake: bitbake/hob: removing extra parameters from conf files using hob

In Hob settings, there is a tab to add/remove extra settings. This
patch implements a way to "remove" variables from conf files, through
bitbake. But, to keep the history assigment of the variables synchronized,
instead of removing, it replaces the lines with blank lines.

[YOCTO #5284]
(Bitbake rev: bd720fb63cef6b399619b8fbcaeb8d7710f2d6df)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: HOB: MACHINE should be saved in conf files using ?=
Valentin Popa [Fri, 27 Sep 2013 14:10:41 +0000 (17:10 +0300)] 
bitbake: HOB: MACHINE should be saved in conf files using ?=

MACHINE var is saved using early assignment operator.
Calling  MACHINE=x bitbake core-image-... works properly.
Comment "#added by bitbake" is replaced with "#added by hob".

[YOCTO #5070]
(Bitbake rev: 2d0ec8ff083b636a6cf98de3278900eb95c3def6)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: utils: use logger.warn instead of print in copyfile
Ross Burton [Wed, 2 Oct 2013 16:47:28 +0000 (17:47 +0100)] 
bitbake: utils: use logger.warn instead of print in copyfile

print disappears into the ether, so use logger.warn and clean up the messages.

(Bitbake rev: 90f91f7402ff69f3fe9fba5f94a53d371303ce34)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: fix nativesdk build without x11
Eric Bénard [Sat, 5 Oct 2013 10:11:19 +0000 (12:11 +0200)] 
qemu: fix nativesdk build without x11

when x11 is not defined in DISTRO_FEATURES, there are no x11 headers
so True is not defined leading to :
| ui/sdl.c:62:8: warning: type defaults to 'int' in declaration of 'doing_grabs' [-Wimplicit-int]
|  static doing_grabs = True;
|         ^
| ui/sdl.c:62:22: error: 'True' undeclared here (not in a function)
|  static doing_grabs = True;
|                       ^

(From OE-Core rev: d3d5ccd3275196fb9e4cb8f49d3c087b97c20ed6)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: Add PACKAGECONFIG for cryptsetup
Martin Jansa [Sat, 5 Oct 2013 12:23:11 +0000 (14:23 +0200)] 
systemd: Add PACKAGECONFIG for cryptsetup

(From OE-Core rev: 97b13a4938bf6879b0108a7716cf73c07e31544c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: Add dependency on file for libmagic
Martin Jansa [Sat, 5 Oct 2013 12:23:10 +0000 (14:23 +0200)] 
subversion: Add dependency on file for libmagic

(From OE-Core rev: 7ad12a3c2cb7ac2e134144be841b6ff1dff69ded)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolame: Add dependency on ncurses
Martin Jansa [Sat, 5 Oct 2013 12:23:09 +0000 (14:23 +0200)] 
lame: Add dependency on ncurses

* it's autodetected and configure doesn't allow to explicitly disable it

(From OE-Core rev: 983446c4f4274b9fd482b2d6b711428f4483c02f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-networking: Add PACKAGECONFIG for p11-kit
Martin Jansa [Sat, 5 Oct 2013 12:23:08 +0000 (14:23 +0200)] 
glib-networking: Add PACKAGECONFIG for p11-kit

(From OE-Core rev: dd7cafed323415412a61d0be45c5f8a7865c5089)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agox11vnc: Add PACKAGECONFIG for xinerama
Martin Jansa [Sat, 5 Oct 2013 12:23:07 +0000 (14:23 +0200)] 
x11vnc: Add PACKAGECONFIG for xinerama

(From OE-Core rev: e67c37b5a4b7da42f55534e1911a06c9b1c13854)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl: Add dependency on zlib
Martin Jansa [Sat, 5 Oct 2013 12:23:05 +0000 (14:23 +0200)] 
tcl: Add dependency on zlib

(From OE-Core rev: 68309428b853acad39b50877091edfad7754d50c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowget: Add dependency on libpcre
Martin Jansa [Sat, 5 Oct 2013 12:23:06 +0000 (14:23 +0200)] 
wget: Add dependency on libpcre

(From OE-Core rev: 8cf5b59d6274f2b4133228e6bfa7daecd8d658ee)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogstreamer1.0-libav: Add PACKAGECONFIG for orc
Martin Jansa [Sat, 5 Oct 2013 12:22:58 +0000 (14:22 +0200)] 
gstreamer1.0-libav: Add PACKAGECONFIG for orc

(From OE-Core rev: 9b86405b55bc663330f5c77e7240efd1fb5837da)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibunique: Add PACKAGECONFIG for dbus
Martin Jansa [Sat, 5 Oct 2013 12:22:59 +0000 (14:22 +0200)] 
libunique: Add PACKAGECONFIG for dbus

* dbus-glib was missing in DEPENDS in order to enable dbus backend
  but because dbus was in DEPENDS lets enable this PACKAGECONFIG by
  default

(From OE-Core rev: c832c457ff40f0f65ab28c17b78b88cb79823db1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoaspell: Add PACKAGECONFIG for curses
Martin Jansa [Sat, 5 Oct 2013 12:23:00 +0000 (14:23 +0200)] 
aspell: Add PACKAGECONFIG for curses

(From OE-Core rev: f8c2d27ef1366332900da8e0d7addeb8b265c5b0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-synaptics: Add dependency on libxtst
Martin Jansa [Sat, 5 Oct 2013 12:23:01 +0000 (14:23 +0200)] 
xf86-input-synaptics: Add dependency on libxtst

(From OE-Core rev: 8865756e5706523ad644d4195962a78b661be9d1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxdpyinfo: Add dependency on libxcomposite
Martin Jansa [Sat, 5 Oct 2013 12:23:02 +0000 (14:23 +0200)] 
xdpyinfo: Add dependency on libxcomposite

(From OE-Core rev: 63eeecd7753383e2ec841781c844f4746cdf36e5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Ensure build completes before install
Richard Purdie [Sun, 6 Oct 2013 08:37:40 +0000 (08:37 +0000)] 
python: Ensure build completes before install

At the start of install, python swizzles the makefiles around, leading
to chunks of do_compile running again. These race against the install
target, leading to errors if pieces are being recompiled whilst others
are being installed.

For now, workaround this by running the compile target with the new
makefile, then running install ensuring a parallel make race doesn't
happen.

(From OE-Core rev: 72938a8631cfe5be5ac88ad67f2db595e2487e86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorun-postinst: Ensure that the postinsts are ordered
Mark Hatle [Fri, 4 Oct 2013 15:48:19 +0000 (15:48 +0000)] 
run-postinst: Ensure that the postinsts are ordered

The postinst files were being generated using purely the name of the package,
this unfortunately meant the run order would be based on the name of the
package and not the order in which it was installed on the filesystem.

If package A requires package Z to be fully installed, this causes a problem.

Note:

rpm - as the rpm based install proceeds the order is defined and captured.
      so the problem is resolved there.

ipk - this unfortunately does not appear to solve the problem for ipk, as
      the status file is not ordered in any appreciable way.  This does not
      cause any regressions however and sets the stage for a proper fix.

deb - this -may- fix the deb install.  Early testing indicates at least some
      ordering to the status file.  But it's unclear if it completely resolves
      the issue.

(From OE-Core rev: b5bafccb89f45d7cdd515b4ba45e0152ca7922de)

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 agopackage_rpm.bbclass: Workaround failure in attemptonly installs
Mark Hatle [Thu, 3 Oct 2013 20:48:45 +0000 (20:48 +0000)] 
package_rpm.bbclass: Workaround failure in attemptonly installs

[YOCTO #5313]

When performing an attemptonly install, we should skip an errors and
continue to install everything else.  However, there is a case where two
packages can conflict, and cause a hard failure.

This workaround, ignores this and allows the image to be constructed.
Note: Some items in the failed transaction may not get installed.

To fix this properly we need to find the issue in smart, and make it ignore
or at least attempt to resolve these kinds of conflicts.

(From OE-Core rev: 4228005689e31ebcafcf0969e80fcc021d1ae063)

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 agooe-init-build-env-memres: Unset BBSERVER if already set
Richard Purdie [Fri, 4 Oct 2013 13:17:03 +0000 (14:17 +0100)] 
oe-init-build-env-memres: Unset BBSERVER if already set

When starting a new server we don't want bitbake to connect to an existing
server so ensure BBSERVER is unset.

(From OE-Core rev: f54bb9e7897e6e68acb7b4f88d998fdb149a7e47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-conf: add a global public DNS to network provisioning
Cristian Iorga [Fri, 4 Oct 2013 12:33:05 +0000 (15:33 +0300)] 
connman-conf: add a global public DNS to network provisioning

In case of QEMU machines, a global public DNS is provisioned,
as the network is not configured via DHCP.
Google's public global DNS server 8.8.8.8 is used.

Partial fix for [YOCTO #4587] (qemu machines case).

(From OE-Core rev: 05ebf5bbacc58315f1b33ffb80148d568f88855d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-init-build-env: unset BBSERVER
Richard Purdie [Fri, 4 Oct 2013 13:14:10 +0000 (14:14 +0100)] 
oe-init-build-env: unset BBSERVER

If BBSERVER is set, we should unset it before proceeding. Its assumed the
user will have unloaded the server from memory should they have wished
to do so.

(From OE-Core rev: 5cc4d315709de195bfb0655c2f00ae2267bfa4c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudpated-rc.d: Track postinst/prerm/postrm in task checksum
Richard Purdie [Fri, 4 Oct 2013 11:29:08 +0000 (12:29 +0100)] 
udpated-rc.d: Track postinst/prerm/postrm in task checksum

When these functions change, the package should rebuild but currently it
does not. We need to add the dependencies manually as the dependency
code can't track dynamically created variables.

(From OE-Core rev: 4003218f774c38bb5de0d95a43153f8b8d7fc4ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: Track postinst/prerm in task checksum
Richard Purdie [Fri, 4 Oct 2013 11:28:23 +0000 (12:28 +0100)] 
systemd: Track postinst/prerm in task checksum

When these functions change, the package should rebuild but currently it
does not. We need to add the dependencies manually as the dependency
code can't track dynamically created variables.

(From OE-Core rev: c5d7100a358244085a697a23790676df5eb4afa3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd-compat-units: Use correct run-postinsts script link
Muhammad Shakeel [Wed, 2 Oct 2013 10:55:32 +0000 (10:55 +0000)] 
systemd-compat-units: Use correct run-postinsts script link

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

(From OE-Core rev: fe039170236080291c0220476a5809774f82ee5c)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: ptest fixes
Tudor Florea [Tue, 1 Oct 2013 22:54:40 +0000 (22:54 +0000)] 
kmod: ptest fixes

 Make kmod-ptest able to compile with separated source and
 build dir. Since kmod test files contain kernel modules for
 many different architectures, strip and arch gets confused
 and throws errors.

(From OE-Core rev: 61cb45869caaed6578a217effaa72d247395d078)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: fix QA error building nativesdk-dbus
Paul Eggleton [Thu, 3 Oct 2013 13:24:08 +0000 (14:24 +0100)] 
dbus: fix QA error building nativesdk-dbus

Fixes the following QA error:

ERROR: QA Issue: nativesdk-dbus: Files/directories were installed but not shipped
  /run
  /run/dbus

(From OE-Core rev: 796b7510853e71f158ad18dcea4cd1a10c7ef294)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: enable CONFIG_INPUT_EVDEV as standard policy
Bruce Ashfield [Wed, 2 Oct 2013 19:15:26 +0000 (19:15 +0000)] 
linux-yocto: enable CONFIG_INPUT_EVDEV as standard policy

We have a number (in fact most) BSPs that require INPUT_EVDEV for basic
functionality. The size increase is minimal, so we'll add it to the
standard configuration for all platforms.

(From OE-Core rev: 965affabbf36fa5b5e466d331479c2295269242e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: use shutil instead of bb.utils.copyfile
Ross Burton [Wed, 2 Oct 2013 16:30:21 +0000 (16:30 +0000)] 
license.bbclass: use shutil instead of bb.utils.copyfile

bb.utils.copyfile is for a specific purpose and more complicated than needed
here, so just use shutil.copyfile.

(From OE-Core rev: dc81df215cc94c279991df35125d94770a1bc3d2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: ignore result of opkg configure
Muhammad Shakeel [Wed, 2 Oct 2013 15:07:12 +0000 (15:07 +0000)] 
opkg: ignore result of opkg configure

Some packages may return error while running opkg-cl configure, during
first boot. This will fail 'ExecStart' and 'ExecStartPost' will not run.
Without 'ExecStartPost' opkg-configure service will continue to run on
successive boot attempts. 'ExecStartPost' should disable this service
after first boot irrespective of 'ExecStart' status.

(From OE-Core rev: cd6041071ddf76693cda7632379ceddd1d21a7fb)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocross-canadian: Fix TUNE_PKGARCH references
Richard Purdie [Wed, 2 Oct 2013 13:09:50 +0000 (13:09 +0000)] 
cross-canadian: Fix TUNE_PKGARCH references

The cross-canadian compilers are now build once per architecture but were being
installed into tune specific locations which is incorrect. This adjusts things
so they are make TARGET_ARCH specific. We gain the tune specific parts from the
target sysroot which remains tune specific, the compiler and tools are independent
ot that.

binutils/gcc require sysroot options but since we reset at runtime, these shouldn't
have dependencies in the sstate checksums. They are therefore also excluded.

With these patches, switching machines does not result in a rebuild of *-cross-canadian
and the compiler is correctly located and referenced in the target images.

(From OE-Core rev: f58acab6414fe96d9e07ebbe86b348d2ac2bed5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: Fix nativesdk rebuilds for armv7a
Richard Purdie [Wed, 2 Oct 2013 13:07:54 +0000 (13:07 +0000)] 
pixman: Fix nativesdk rebuilds for armv7a

MACHINE=X bitbake nativesdk-pixman; MACHINE=Y bitbake nativesdk-pixman

where X is an armv7a machine and Y is not results in pixman rebuilding
due to the neon option. This is incorrect. The ultimate fix will be
not to apply target system overrides in the nativesdk case. Until
we do that we can at least work around the issue as done by this patch.

(From OE-Core rev: 2881747ec270bffc039d10198399e2686407b521)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-common: Improve fpu code checksum dependencies
Richard Purdie [Wed, 2 Oct 2013 13:06:19 +0000 (13:06 +0000)] 
gcc-common: Improve fpu code checksum dependencies

We only care about the end result in this case, not the specific inputs
that went into determining the gcc option. This change updates the code
to reflect that.

(From OE-Core rev: 83055511dab1e2aeefe84262ebe52595848c844b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocross/crosssdl/native/nativesdk: Fix do_packagedata stamps
Richard Purdie [Wed, 2 Oct 2013 08:11:37 +0000 (08:11 +0000)] 
cross/crosssdl/native/nativesdk: Fix do_packagedata stamps

If you build nativesdk for machine A, then change to B you will see sstate
manifest warnings for the packagedata files. The stamps are machine
specific and should not be, ditto for native.

This patch copies the populate-sysroot extra stamp entries to avoid
these warnings.

(From OE-Core rev: a64de25d6006ec6dd777d8f3820a48244dfbf62b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboot-directdisk: avoid loop in MBR disk signature generation
Jonathan Liu [Wed, 2 Oct 2013 10:47:11 +0000 (10:47 +0000)] 
boot-directdisk: avoid loop in MBR disk signature generation

Instead of looping until the generated signature is non-zero, just
return 'ffffffff' if it's zero. This avoids an infinite loop if the
generated signature is always zero.

(From OE-Core rev: 34c74ba45c04efc2dd998545bf7a31d7b06a0ee0)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-kernel: Use variable-substituted BBLAYERS
Tom Zanussi [Fri, 4 Oct 2013 14:37:38 +0000 (09:37 -0500)] 
yocto-kernel: Use variable-substituted BBLAYERS

The current find_bblayers() code finds and parses the BBLAYERS
variable manually, and therefore doesn't handle variable substitution,
which causes problems if used.

This change makes find_bblayers() use the variable-substituted
BBLAYERS instead.

Fixes [YOCTO #5106]

(From meta-yocto rev: 1629ac04e909143dc2c275c256094cb44c6cc43c)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_alias: Fix missing =
Saul Wold [Thu, 3 Oct 2013 13:40:00 +0000 (06:40 -0700)] 
distro_alias: Fix missing =

(From meta-yocto rev: 13cf3223c7eb5ecd1f81156272809705cd2aa68b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomaintainers: Add some maintainers
Saul Wold [Wed, 2 Oct 2013 17:22:25 +0000 (17:22 +0000)] 
maintainers: Add some maintainers

(From meta-yocto rev: cf6117994e11a318a56612e1fab144238093db2e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_regex: Add python-docutils
Saul Wold [Wed, 2 Oct 2013 17:10:24 +0000 (17:10 +0000)] 
package_regex: Add python-docutils

(From meta-yocto rev: 75e00d53b07bd618771305b964a833d07726fbb3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupstream_tracking: Update manual checked list
Saul Wold [Wed, 2 Oct 2013 17:10:00 +0000 (17:10 +0000)] 
upstream_tracking: Update manual checked list

(From meta-yocto rev: 23a1bcc2a610f903a5e87370c470c50defd60f04)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: lib/bb/monitordisk.py: fix spelling in error text
Erik Botö [Wed, 2 Oct 2013 14:37:37 +0000 (16:37 +0200)] 
bitbake: lib/bb/monitordisk.py: fix spelling in error text

(Bitbake rev: 78efda1224a99ed3d2ca6befb9fd719d82f6b0ae)

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoREADME.hardware: update genericx86 hardware support
Ross Burton [Tue, 1 Oct 2013 14:17:21 +0000 (15:17 +0100)] 
README.hardware: update genericx86 hardware support

(From meta-yocto rev: ed421124e5f9c13ddca1a29a9a645b79e024d602)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_alias.inc: update distro_alias
Elizabeth Flanagan [Tue, 1 Oct 2013 19:30:39 +0000 (19:30 +0000)] 
distro_alias.inc: update distro_alias

(From meta-yocto rev: d67242678034a096010be0e87e2623292ea2dce1)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_alias.inc: Sort entries
Elizabeth Flanagan [Tue, 1 Oct 2013 19:30:38 +0000 (19:30 +0000)] 
distro_alias.inc: Sort entries

Entry order is inconsistent. sort -d on entries.

(From meta-yocto rev: 2e1f75cae22adc37cd4bea736bcc3c13ba1eae16)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.conf: Removed obsolete distros from SANITY_TESTED_DISTROS
Alexandru Palalau [Tue, 1 Oct 2013 16:40:04 +0000 (16:40 +0000)] 
poky.conf: Removed obsolete distros from SANITY_TESTED_DISTROS

Removed CentOS-6.3, Fedora-17, Debian-6.0 and Poky-1.3 from SANITY_TESTED_DISTROS.

(From meta-yocto rev: 1d5c7b6c47f0aea8828ae65073ed084ed7746416)

Signed-off-by: Alexandru Palalau <alexandrux.palalau@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-dummy.bb: Resolve missing task issues
Nathan Rossi [Tue, 1 Oct 2013 04:19:42 +0000 (04:19 +0000)] 
linux-dummy.bb: Resolve missing task issues

Commit 609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a added additional
initramfs functionality and created an additional task on kernel.bbclass
Adding this task was missed on the linux-dummy recipe, which causes task
dependency issues due to image.bbclass depending on
"virtual/kernel:do_bundle_initramfs". This change adds a dummy task
which resolves the dependency issue.

(From OE-Core rev: c0a8c5c07e0dd6f0ae302e9a4dcf7973e73e68e1)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomakedevs: Do not return error if the fifo exisits
Saul Wold [Tue, 1 Oct 2013 16:57:52 +0000 (16:57 +0000)] 
makedevs: Do not return error if the fifo exisits

This ensures that makedevs will not cause image creation failures
when it encounters a pipe (fifo) that exists from a previous image.
This handles mode changes and it will correctly fail for dangling
symlinks.

[YOCTO #5288]

(From OE-Core rev: 3a4b0e7973bef43f16058137e64600e2f890b117)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg: Add xz to RDEPENDS
Saul Wold [Mon, 30 Sep 2013 22:17:46 +0000 (22:17 +0000)] 
dpkg: Add xz to RDEPENDS

dpkg uses xz as a compressor and the binary image is needed on the system for
dpkg to work correctly.

[YOCTO #1881]

(From OE-Core rev: 8f6bc04c9b563f8659ce0e053072deca02da38a5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowic: Add OpenEmbedded-specific implementation
Tom Zanussi [Thu, 19 Sep 2013 04:32:19 +0000 (04:32 +0000)] 
wic: Add OpenEmbedded-specific implementation

Reuses the mic/livecd infrastructure but heavily subclasses and
modifies it to adapt to the special needs of building images from
existing OpenEmbedded build artifacts.

In addition to the OE-specific mic objects and modifications to the
underlying infrastructure, this adds a mechanism to allow OE kickstart
files to be 'canned' and made available to users via the 'wic list
images' command.

Two initial OE kickstart files have been added as canned .wks files:
directdisk, which implements the same thing as the images created by
directdisk.bbclass, and mkefidisk, which can essentially be used as a
replacement for mkefidisk.sh.  Of course, since creation of these
images are now driven by .wks files rather than being hard-coded into
class files or scripts, they can be easily modified to generate
different variations on those images.  They also don't require root
priveleges, since they don't use mount to create the images.  They
don't however write to media like mkefidisk.sh does, but rather create
images that can be written onto media.

(From OE-Core rev: f87acc5e59d3c2c39ff171b5557977dab4c8f4a6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowic: Add mic w/pykickstart
Tom Zanussi [Sat, 24 Aug 2013 15:31:34 +0000 (15:31 +0000)] 
wic: Add mic w/pykickstart

This is the starting point for the implemention described in [YOCTO
3847] which came to the conclusion that it would make sense to use
kickstart syntax to implement image creation in OpenEmbedded.  I
subsequently realized that there was an existing tool that already
implemented image creation using kickstart syntax, the Tizen/Meego mic
tool.  As such, it made sense to use that as a starting point - this
commit essentially just copies the relevant Python code from the MIC
tool to the scripts/lib dir, where it can be accessed by the
previously created wic tool.

Most of this will be removed or renamed by later commits, since we're
initially focusing on partitioning only.  Care should be taken so that
we can easily add back any additional functionality should we decide
later to expand the tool, though (we may also want to contribute our
local changes to the mic tool to the Tizen project if it makes sense,
and therefore should avoid gratuitous changes to the original code if
possible).

Added the /mic subdir from Tizen mic repo as a starting point:

 git clone git://review.tizen.org/tools/mic.git

 For reference, the top commit:

 commit 20164175ddc234a17b8a12c33d04b012347b1530
 Author: Gui Chen <gui.chen@intel.com>
 Date:   Sun Jun 30 22:32:16 2013 -0400

    bump up to 0.19.2

Also added the /plugins subdir, moved to under the /mic subdir (to
match the default plugin_dir location in mic.conf.in, which was
renamed to yocto-image.conf (moved and renamed by later patches) and
put into /scripts.

(From OE-Core rev: 31f0360f1fd4ebc9dfcaed42d1c50d2448b4632e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowic: Initial code for wic (OpenEmbedded Image Creator)
Tom Zanussi [Tue, 20 Aug 2013 20:55:16 +0000 (20:55 +0000)] 
wic: Initial code for wic (OpenEmbedded Image Creator)

Initial implementation of the 'wic' command.

The 'wic' command generates partitioned images from existing
OpenEmbedded build artifacts.  Image generation is driven by
partitioning commands contained in an 'Openembedded kickstart' (.wks)
file specified either directly on the command-line or as one of a
selection of canned .wks files (see 'wic list images').  When applied
to a given set of build artifacts, the result is an image or set of
images that can be directly written onto media and used on a
particular system.

'wic' is based loosely on the 'mic' (Meego Image Creator) framework,
but heavily modified to make direct use of OpenEmbedded build
artifacts instead of package installation and configuration, things
already incorporated int the OE artifacts.

The name 'wic' comes from 'oeic' with the 'oe' diphthong promoted to
the letter 'w', because 'oeic' is impossible to remember or pronounce.

This covers the mechanics of invoking and providing help for the
command and sub-commands; it contains hooks for future commits to
connect with the actual functionality, once implemented.

Help is integrated into the 'wic' command - see that for details on
usage.

(From OE-Core rev: 95455ae4251e06d66e60945092b784d2d9ef165c)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Minor formatting to filesystem image section.
Scott Rifenbark [Tue, 1 Oct 2013 21:02:05 +0000 (14:02 -0700)] 
yocto-project-qs: Minor formatting to filesystem image section.

(From yocto-docs rev: 2bc7dd4253255baa0cdd4623ed19c4f405d2776a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Added a link to MACHINE variable.
Scott Rifenbark [Tue, 1 Oct 2013 20:46:56 +0000 (13:46 -0700)] 
yocto-project-qs: Added a link to MACHINE variable.

(From yocto-docs rev: 8263a13c9ae125c35f10d919c9004c00222f20cb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Updated instructions for downloading from website.
Scott Rifenbark [Tue, 1 Oct 2013 20:37:54 +0000 (13:37 -0700)] 
yocto-project-qs: Updated instructions for downloading from website.

(From yocto-docs rev: 611c706fb7b7abb361a582eeea26404e65890e21)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Updated wording for required packages.
Scott Rifenbark [Tue, 1 Oct 2013 20:33:56 +0000 (13:33 -0700)] 
yocto-project-qs: Updated wording for required packages.

(From yocto-docs rev: 5af5c76434d6d877b43bf9020c6ae2f7524fe4d0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Removed redundant production note.
Scott Rifenbark [Tue, 1 Oct 2013 19:58:43 +0000 (12:58 -0700)] 
yocto-project-qs: Removed redundant production note.

(From yocto-docs rev: 99a62746141fa05225e10483a0c784bc55a3f1f9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added U-Boot variables
Scott Rifenbark [Tue, 1 Oct 2013 17:19:43 +0000 (10:19 -0700)] 
ref-manual: Added U-Boot variables

Fixes [YOCTO #5295]

Added three new variables to the glossary: UBOOT_MACHINE,
UBOOT_ENTRYPOINT, and UBOOT_LOADADDRESS.

(From yocto-docs rev: 48d52dfd4c395cdfeb95878cbd7f128adba8e398)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated supported distros list.
Scott Rifenbark [Tue, 1 Oct 2013 16:21:17 +0000 (09:21 -0700)] 
ref-manual: Updated supported distros list.

We bottomed out on this list and this change represents the
latest.

(From yocto-docs rev: 65718c40ccfb3cdbea756dbc7319b06d8f13a7b5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the BBPATH glossary term
Scott Rifenbark [Tue, 1 Oct 2013 16:17:16 +0000 (09:17 -0700)] 
ref-manual: Updated the BBPATH glossary term

Fixes [YOCTO #5063]

Provided a brief note that tells the user how to set BBPATH
if they are going to run BitBake from any directory outside of
the build directory.

(From yocto-docs rev: 89b31f252237113638acea4634a65ea9ff241b5e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to restore the supported Linux distro list.
Scott Rifenbark [Mon, 30 Sep 2013 20:53:33 +0000 (13:53 -0700)] 
ref-manual: Edits to restore the supported Linux distro list.

This list evidently is not quite ready so I put it back to its
orginal form with a couple of commented out lines in there for
some distros that might be part of the list.

(From yocto-docs rev: 3ace1c2e54675de72538742bc9920c5acbe36e8b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Updated Manual Revision History Tables
Scott Rifenbark [Mon, 30 Sep 2013 20:33:55 +0000 (13:33 -0700)] 
documentation: Updated Manual Revision History Tables

Placed the release month of October in for the 1.5 release.

(From yocto-docs rev: c0431b2b3115d9687dcb5d3ba37adf6bf4695867)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: udated list of supported distros
Scott Rifenbark [Mon, 30 Sep 2013 20:33:18 +0000 (13:33 -0700)] 
ref-manual: udated list of supported distros

(From yocto-docs rev: f0ad9b74a9d5af9f776b55d177a45df306284d82)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Applied review edits to migration section.
Scott Rifenbark [Mon, 30 Sep 2013 18:01:40 +0000 (11:01 -0700)] 
ref-manual: Applied review edits to migration section.

(From yocto-docs rev: f4c6423a48c5d27bd853abad9b28a6cc563d4054)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated 1.5 Migration section and COMPLEMENTARY_GLOB variable
Scott Rifenbark [Mon, 30 Sep 2013 15:49:31 +0000 (08:49 -0700)] 
ref-manual: Updated 1.5 Migration section and COMPLEMENTARY_GLOB variable

Review edits from Paul Egglegon applied to the Migrating to
1.5 section.

Also, part of the review affected the COMPLEMENTARY_GLOB variable
entry in the glossary.

(From yocto-docs rev: 941a388f45c99403f5cb480bf3e5aae55a800994)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual: Review edits for new variables.
Scott Rifenbark [Fri, 27 Sep 2013 20:58:02 +0000 (13:58 -0700)] 
dev-manual, ref-manual: Review edits for new variables.

Applied review changes to the following variables:

IMAGE_NAME
DATETIME
SDK_ARCH
IMAGE_BASENAME
TUNE_PKGARCH
PACKAGE_GROUP
COMPLEMENTARY_GLOB
BUSYBOX_SPLIT_SUID

Also, reformatted some 1.5 package version requirements into a
list rather than a lazy literallayout tag.

Provided some new wording for the "Directory Layout Changes"
section in the Migration chapter.

(From yocto-docs rev: 60c3a905dd9212f1b4f6969341640a0726342d11)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the QA checks section in the 1.5 migration section.
Scott Rifenbark [Fri, 27 Sep 2013 16:04:59 +0000 (09:04 -0700)] 
ref-manual: Updated the QA checks section in the 1.5 migration section.

(From yocto-docs rev: f1f006710bf582f3684bb8aa5fd2d55cb18f8026)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added the version-going-backwards test to insane
Scott Rifenbark [Thu, 26 Sep 2013 21:39:02 +0000 (14:39 -0700)] 
ref-manual: Added the version-going-backwards test to insane

Added this new test to the insane.bbclass section.  Also put
in a reference in the migration section back to the new
entry.

(From yocto-docs rev: 32e25547b439030b93d9bc72bdce916eded518b4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Edits to the "Setting Up Runtime Package Management" section.
Scott Rifenbark [Thu, 26 Sep 2013 21:16:36 +0000 (14:16 -0700)] 
dev-manual: Edits to the "Setting Up Runtime Package Management" section.

Paul Eggleton sent me corrected procedure.  I implemented his
changes.

(From yocto-docs rev: 581778c52493b662f449bbbed36453f161501c18)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updates to "Working with Eclipse" section.
Scott Rifenbark [Thu, 26 Sep 2013 20:39:27 +0000 (13:39 -0700)] 
dev-manual: Updates to "Working with Eclipse" section.

I added a step on making sure they have Oracle JDK in there
to the section that builds the plugin.  Also, removed the
third method to install the plugin.

(From yocto-docs rev: cfd2b88717a709049155a8ff15134b617fc6e172)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Update to "Toaster" section.
Scott Rifenbark [Wed, 25 Sep 2013 15:57:49 +0000 (08:57 -0700)] 
dev-manual: Update to "Toaster" section.

Added a link to the "Toaster" page at the end of this short section
to point to the section on "Installation and Running" Toaster.

(From yocto-docs rev: 3d50425487f68960e50670601b7a38e6fc3a15ad)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.ent: Fixed variable for ADT Installer download link
Scott Rifenbark [Tue, 24 Sep 2013 21:47:10 +0000 (14:47 -0700)] 
poky.ent: Fixed variable for ADT Installer download link

The YOCTO_ADTINSTALLER_DL_URL variable used to point to the
ADT Installer tarball download area was incorrect.  It was set
to "&YOCTO_RELEASE_DL_URL;/adt_installer".  Community member
Dusty Clark ran into trouble downloading from the link in the
"Current" documentation version of the Application Developer's
Manual.  I fixed the variable to be
YOCTO_ADTINSTALLER_DL_URL "&YOCTO_RELEASE_DL_URL;/adt-installer".

Reported-by: Dusty Clark <dclark@mmto.org>
(From yocto-docs rev: ac48e0e3ca795356398cd93aa288600a2869510b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.ent: Changes to the Fedora essential packages for the host
Scott Rifenbark [Tue, 24 Sep 2013 20:18:54 +0000 (13:18 -0700)] 
poky.ent: Changes to the Fedora essential packages for the host

1. Added two packages: perl-Data-Dumper perl-Text-ParseWords for
   Fedora (essential).

2. Changed the eglibc-devel to glibc-devel in the essential
   packages for Fedora.

These changes are to variables used within the doc set.  The built
manuals affected are yocto-project-qs and ref-manual.

(From yocto-docs rev: c95a96d512085cdb2c3a873b1035ba0d908cd182)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: New migration section for 1.5 and new variables
Scott Rifenbark [Tue, 24 Sep 2013 19:22:31 +0000 (12:22 -0700)] 
ref-manual: New migration section for 1.5 and new variables

1. Created the first draft of the new migration section for
   moving to the YP 1.5 release.

2. Created new variable glossary descriptions for the
   SDK_NAME, IMAGE_NAME, and DATETIME variables.

(From yocto-docs rev: 26e6a7675183b49a0ee8059d81218dbc5cd14bd4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the "Images" section.
Scott Rifenbark [Tue, 24 Sep 2013 15:37:06 +0000 (08:37 -0700)] 
ref-manual: Updated the "Images" section.

changed the wording for where the DEPLOY_DIR_IMAGE directory
points to per Paul Eggleton's suggestion.

(From yocto-docs rev: eaa48e4dc54bf07431d389de6064329f2173ea68)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added some more undocumented classes
Paul Eggleton [Tue, 24 Sep 2013 14:56:28 +0000 (07:56 -0700)] 
ref-manual: Added some more undocumented classes

Paul sent a few more for the list.

(From yocto-docs rev: ea4dd51b4e5fdedf767d8318507551f00c6d46d3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, dev-manual: Edits to running automated tests section.
Scott Rifenbark [Mon, 23 Sep 2013 23:35:26 +0000 (16:35 -0700)] 
ref-manual, dev-manual: Edits to running automated tests section.

Applied a second round of review edits from Paul Eggleton
for the new "Performing Automated Runtime Testing" section.
I did some reorganization and some minor wording changes.

(From yocto-docs rev: fa8f8e5f0f6c1377a4fcafcd3d933af15ac01ff3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the bitbake --help listing.
Scott Rifenbark [Mon, 23 Sep 2013 20:42:02 +0000 (13:42 -0700)] 
ref-manual: Updated the bitbake --help listing.

(From yocto-docs rev: 83f6776d107a146ff2bbcd37229e8cd637314fd9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobsp-guide, dev-manual: Updated for 3.10 default kernel
Scott Rifenbark [Mon, 23 Sep 2013 20:23:00 +0000 (13:23 -0700)] 
bsp-guide, dev-manual: Updated for 3.10 default kernel

YP 1.5 default kernel is 3.10.  This is a change from 3.8 in
the previous release.  This change affected several areas of
the documentation.

1. The BSP Guide had a crownbay BSP structure that did not
   account for the new default.

2. The yocto-bsp tool output still asked for the 3.8 kernel
   as the default.

3. The recipes-bsp section had 3.8 used and had some bad
   listings that had to be changed.

4. The recipes-graphics section had 3.8 used and also had some
   stuff supporting two versions of the graphics (emgd and
   noemgd).  I had to pull the emgd stuff.

5. There were miscellaneous spots in the dev-manual that were
   referencing 3.8 as the default kernel.  Particularly the
   list that shows what kernel repositories we have.  That needed
   updating.

(From yocto-docs rev: 9826ce760884f2ce5a4eb72c6a731a85cd6f2b2b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the autotools.bbclass section
Scott Rifenbark [Mon, 23 Sep 2013 18:24:23 +0000 (11:24 -0700)] 
ref-manual: Updated the autotools.bbclass section

Re-wrote the sentence refering to the make variable DESTDIR.

(From yocto-docs rev: 392e6e17c4f65fd038ec9bb73823837803543baf)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updates to DESTDIR areas.
Scott Rifenbark [Mon, 23 Sep 2013 18:06:18 +0000 (11:06 -0700)] 
ref-manual: Updates to DESTDIR areas.

Removed the glossary entry for DESTDIR as this is a Makefile
variable.  Also, updated the reference sentence to DESTDIR
that was in the autotools.bbclass section.

(From yocto-docs rev: 16900d95dbbd406ac93cd22f2b14b2346668beb3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the EXCLUDE_FROM_WORLD variable.
Scott Rifenbark [Mon, 23 Sep 2013 17:33:27 +0000 (10:33 -0700)] 
ref-manual: Updated the EXCLUDE_FROM_WORLD variable.

Minor word changes and formats.

(From yocto-docs rev: 82c096cd79e7de8cb8c4af4be02b6838e82f06d6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added new PARALLEL_MAKEINST variable description.
Scott Rifenbark [Mon, 23 Sep 2013 17:27:14 +0000 (10:27 -0700)] 
ref-manual: Added new PARALLEL_MAKEINST variable description.

(From yocto-docs rev: f2fef55151a841a0c05a78d7444fa1634edbf593)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to PARALLEL_MAKE variable.
Scott Rifenbark [Mon, 23 Sep 2013 17:21:59 +0000 (10:21 -0700)] 
ref-manual: Edits to PARALLEL_MAKE variable.

Added a note indicating that the variable might be cleared out
if there are problems running Make.

(From yocto-docs rev: 861921b86c48de2267ccd32ab3f3424a98eb8ed1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the PARALLEL_MAKE definition.
Scott Rifenbark [Mon, 23 Sep 2013 17:18:42 +0000 (10:18 -0700)] 
ref-manual: Updated the PARALLEL_MAKE definition.

Re-worded the first sentence.

(From yocto-docs rev: 1b6798a8de3d73418b4377cf3b9654dfea4caed8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the SERIAL_CONSOLE variable
Scott Rifenbark [Mon, 23 Sep 2013 17:15:32 +0000 (10:15 -0700)] 
ref-manual: Updated the SERIAL_CONSOLE variable

Added minor wording to the note.

(From yocto-docs rev: 1c575ad8ef6823a66adcc0b4e223ecb55226f13f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated SRC_URI description
Scott Rifenbark [Mon, 23 Sep 2013 17:13:03 +0000 (10:13 -0700)] 
ref-manual: Updated SRC_URI description

Added a "patchdir" option.

(From yocto-docs rev: 2f4e51ea749406eaab2195df814a171bb4679a54)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, dev-manual: Applied review comments for test section
Scott Rifenbark [Mon, 23 Sep 2013 16:19:53 +0000 (09:19 -0700)] 
ref-manual, dev-manual: Applied review comments for test section

The section and variables for performing automated runtime tests
on images was reviewed by Paul Eggleton.  The suggested changes
were made.

(From yocto-docs rev: c2f84ea3c162892e4da3df30fb833f88bab3d3cc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added TEST_IMAGE variable description to glossary.
Scott Rifenbark [Mon, 23 Sep 2013 14:29:19 +0000 (07:29 -0700)] 
ref-manual: Added TEST_IMAGE variable description to glossary.

(From yocto-docs rev: 7ab81854ce25134bbf88a8ddd799a3848f59966a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Fix race problems
Richard Purdie [Thu, 26 Sep 2013 17:01:29 +0000 (17:01 +0000)] 
pseudo: Fix race problems

There is a potential issue with the fastop code in pseudo since a process may
exit and allow some other function to run before the server has processed
the commands run by the process. Issues have been see with unpredictable
file permissions.

To avoid this, we ping the server before exitting which guarantees it has
processed the current command queue.

The patch was written by peter.seebach@windriver.com

[YOCTO #5132]

(From OE-Core rev: a8a1f12c51ffdca011db194894fd7d14c119fb09)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: HOB: Busy cursor when saving configuration
Valentin Popa [Tue, 10 Sep 2013 12:58:52 +0000 (15:58 +0300)] 
bitbake: HOB: Busy cursor when saving configuration

Display a busy cursor while the configuration is saved.

[YOCTO #4846]
(Bitbake rev: fdb2e0120f189e97b8fdb6eb72d77a3100ba3018)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Add fix for floating point issues on x86-64
Richard Purdie [Mon, 30 Sep 2013 18:50:59 +0000 (18:50 +0000)] 
qemu: Add fix for floating point issues on x86-64

There was a bug in handling of the mxcsr register since cpu flags
were not getting updated after fxrstor operations. This small tweak
fixes that.

[YOCTO #5248]

(From OE-Core rev: 5dc43cdc08e6698afa16ba79f3506a1555bb3710)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoslang: fix sprintf bug concerning 8-bit characters
Marius Avram [Mon, 30 Sep 2013 12:31:38 +0000 (12:31 +0000)] 
slang: fix sprintf bug concerning 8-bit characters

Buffer used for copying a "%c" character was getting
out of scope when it was required by the sprintf operation.

[YOCTO #5272]

(From OE-Core rev: c7de71813c8f47438f44749136877442cf73d536)

Signed-off-by: Marius Avram <marius.avram@intel.com>
Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>