]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
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>
12 years agonss: Fix return codes in postinstall
David Nyström [Sun, 29 Sep 2013 21:44:23 +0000 (21:44 +0000)] 
nss: Fix return codes in postinstall

exit 0 was done if $D != NULL, if one or more
shlibsign executions fails.

(From OE-Core rev: 5dc3eb72c4b9b68ab13310383a90fe7779bf92a7)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboot-directdisk: ensure generated MBR disk signature is non-zero
Jonathan Liu [Fri, 27 Sep 2013 01:30:10 +0000 (01:30 +0000)] 
boot-directdisk: ensure generated MBR disk signature is non-zero

A zero MBR disk signature is generally seen as no signature and
another partitioning program might install a new signature.

(From OE-Core rev: b6cafb1fcd6c168f8f4a4d2d5c74f3b425f156f3)

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 agomkefidisk.sh: Allow using a loopback mounted file
Jason Wessel [Fri, 27 Sep 2013 01:01:20 +0000 (01:01 +0000)] 
mkefidisk.sh: Allow using a loopback mounted file

It should be possible to generate a disk to a file using a loopback
device with mkefidisk.sh, which is useful for booting simulators.  To
make this possible the partitions for the loop back need to work
similarly to the mmc devices.  The mkfs.vfat also requires and
additional argument to force it to write to something other then a
real disk.

Example:
  qemu-img create -f raw bigdisk 4G
  dev=`sudo losetup -f`
  sudo losetup $dev bigdisk
  mkefidisk.sh $dev tmp-eglibc/deploy/images/qemux86/core-image-minimal-qemux86.hddimg /dev/sda
  sudo losetup -d $dev

Note:
  Also a bug was fixed in the mkefidisk.sh where if the disk you are
  writing to initially has an invalid label the size of the first
  partition will be computed incorrectly.  For the simulator disk
  creation this is generally always the case, but this can happen with
  real hardware as well.

(From OE-Core rev: 254899824900f2e8c6a34d2ad1b8cbea91acb4ae)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Allow INITRAMFS_TASK to trigger copy initramfs code
Jason Wessel [Fri, 27 Sep 2013 21:32:00 +0000 (21:32 +0000)] 
kernel.bbclass: Allow INITRAMFS_TASK to trigger copy initramfs code

Activating the INITRAMFS_TASK can cause circular dependencies, but
that is up to the end user to resolve in recipes.  The INITRAMFS_TASK
should also trigger immediate linking of the cpio task in the first
compile pass.  This was a subtle regression introduced by: 609d5a9ab
(kernel.bbclass, image.bbclass: Implement kernel INITRAMFS dependency
and bundling).

This patch restores the previous behavior and only affects the
INITRAMFS_TASK which is not set by any of the default build profiles
in oe-core.

Reviewed-by: Andrea Adami <andrea.adami@gmail.com>
(From OE-Core rev: 36faac868e086e9c23537b107cdd973d7fd980bd)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Use systemd service for first boot configuration
Muhammad Shakeel [Fri, 27 Sep 2013 18:14:15 +0000 (18:14 +0000)] 
opkg: Use systemd service for first boot configuration

Currently opkg uses a script to configure packages during first time boot.
This script is present in rcS.d and when 'sysvinit' is disabled this
script doesn't execute. For systemd only distros this newly added service
will run the opkg configure during first boot only.

(From OE-Core rev: fdcfcea5b8eae1769a217f8efea9c02f037f63fa)

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 agosato-icon-theme: add more compatibility symlinks
Ross Burton [Fri, 27 Sep 2013 16:41:17 +0000 (16:41 +0000)] 
sato-icon-theme: add more compatibility symlinks

libfm uses "preferences-desktop", so link it to the close-enough
"preferences-sytem".

x11vnc uses "computer", link it to "terminal".

pcmanfm uses "system-file-manager", link it to "file-manager".

[ YOCTO #4062 ]

(From OE-Core rev: d856488179d14d05f1121c171abf4eac82e81fb9)

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 agopcmanfm: hide the desktop preferences
Ross Burton [Fri, 27 Sep 2013 16:41:16 +0000 (16:41 +0000)] 
pcmanfm: hide the desktop preferences

Sato doesn't use the pcmanfm desktop, so hide the desktop preferences launcher.

(From OE-Core rev: 778ef56c4b5c0d450a9b2e1df2b3e963dcfebed9)

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 agopsplash: copy image files from workdir instead of next to recipe
Paul Eggleton [Fri, 27 Sep 2013 15:46:06 +0000 (15:46 +0000)] 
psplash: copy image files from workdir instead of next to recipe

During parsing this recipe builds up a list of splash image files,
however it was recording full paths to local files (i.e. the files next
to the recipe) and then in do_compile it was pointing to those instead
of the fetched files in WORKDIR. Fix it to use the fetched files which
has the added benefit of the do_compile signature not changing if the
recipe is moved around.

Fixes [YOCTO #5250].

(From OE-Core rev: f1850f9835651baee8d3a0858d00a5d22efcab19)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool: Don't patch generated files
Richard Purdie [Fri, 27 Sep 2013 09:59:43 +0000 (09:59 +0000)] 
libtool: Don't patch generated files

We wipe out and regenerate all configure files so there is no point in
patching them.

(From OE-Core rev: 8d7036cdb71e66e619053c2545cfc1fbddf1895b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonative: Use a native site file and ensure the correct sed is used
Richard Purdie [Fri, 27 Sep 2013 09:58:17 +0000 (09:58 +0000)] 
native: Use a native site file and ensure the correct sed is used

native recipes were not using the site files. There are some things we need
to correct such as not using the path to sed-native. This allows us
to deploy settings globally for all recipes rather than hacking around
then in individual recipes as libtool-native used to for sed.

This fixes a regression introduced by
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=32edeb391f2107bb66b361cdcd4b8d4447731c33

(From OE-Core rev: db2eb3258844458569b7d4e6ed82c345858a3b99)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk-packagegroup-sdk-host: Add nativesdk-makedevs
David Nyström [Fri, 27 Sep 2013 08:18:03 +0000 (08:18 +0000)] 
nativesdk-packagegroup-sdk-host: Add nativesdk-makedevs

Add makedevs to SDK, to allow simple /dev/ population.

(From OE-Core rev: a65261ab27cc93b8a564b628e50d89bf52492110)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd-compat-units: do not create runlevel command
Roy.Li [Fri, 27 Sep 2013 05:52:27 +0000 (05:52 +0000)] 
systemd-compat-units: do not create runlevel command

It seems strange that runlevel always returns 1, The comment says it is
related to sysvinit, but if we enable systemd, sysvinit will not be
installed. and we have created a link for runlevel to systemctl if
systemd is installed.

(From OE-Core rev: adc11d60fd4b555198d6653cd71eb1372e0b03a0)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomakedevs: rectify the exit codes and handle the invalid parameter
Roy Li [Wed, 25 Sep 2013 05:58:36 +0000 (05:58 +0000)] 
makedevs: rectify the exit codes and handle the invalid parameter

It is correct behaviours to output help and version information,
and should return 0;
When input parameter is invalid, print help information and exit.

(From OE-Core rev: 7c61daa08fa51557e0e6785e738646cb5d8de91b)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomakedevs: Add device_table-minimal.txt to the nativesdk sysroot
David Nyström [Thu, 26 Sep 2013 10:47:22 +0000 (12:47 +0200)] 
makedevs: Add device_table-minimal.txt to the nativesdk sysroot

Add an example device_table in the SDK under /usr/share/

(From OE-Core rev: be697e3cfa67fa61aa9ef2c9c0c75f4ed452414e)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: pass SFTPSERVER_PATH explicitly
Roy Li [Thu, 26 Sep 2013 01:56:08 +0000 (09:56 +0800)] 
dropbear: pass SFTPSERVER_PATH explicitly

The default value of SFTPSERVER_PATH is "/usr/libexec/sftp-server" defined in
dropbear-2013.58/option.h, but after commit 406bd38b423[bitbake.conf: change
libexecdir to ${libdir}/${BPN}], sftp-server is provided by openssh package,
and is installed into ${libdir}/openssh, so we pass it explicitly.

(From OE-Core rev: 5f6deb044226885912214532cebb1d871f03c53a)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-self-hosted: add xz to enable bootstrap
Jackie Huang [Thu, 26 Sep 2013 03:39:22 +0000 (11:39 +0800)] 
packagegroup-self-hosted: add xz to enable bootstrap

xz is required on the target filesystem since it's needed
to unpack some of the bootstrap packages.

(From OE-Core rev: 3f302e6686e9c35d3fd771b8aed214bf739e59f6)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglinfo: drop machine-specific configuration from oe-core
Ross Burton [Thu, 26 Sep 2013 16:43:05 +0000 (17:43 +0100)] 
eglinfo: drop machine-specific configuration from oe-core

eglinfo.inc has some board-specific EGLINFO_DEVICE settings but is missing the
dependencies.  Maintaining them for all supported devices in oe-core isn't
scalable and this is trivially supported though a bbappend in each BSP layer.

This was also causing problems compiling eglinfo on meta-yocto-bsp's beagleboard
machine as the EGLINFO_DEVICE setting for beagleboard was telling it to use the
closed GPU drivers, which are not supported in meta-yocto-bsp.

[ YOCTO #5224 ]

(From OE-Core rev: 2c1e147e61875054039ff08c36657c68c73037ee)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-panel: silence some pointless warnings
Ross Burton [Thu, 26 Sep 2013 16:06:36 +0000 (17:06 +0100)] 
matchbox-panel: silence some pointless warnings

The battery applet emits a warning if the hardware doesn't have a battery (it
shouldn't) and the parser emits a warning if two separators are used in a row
(which happens if the hardware has a keyboard).  Silence these with a patch from
upstream.

[ YOCTO #4061 ]

(From OE-Core rev: 4e2b86787ed7a44ad88aa1431207d049c2cb444a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboot-directdisk.bbclass: Fix media generation problems with vmdk
Jason Wessel [Tue, 17 Sep 2013 13:32:17 +0000 (13:32 +0000)] 
boot-directdisk.bbclass: Fix media generation problems with vmdk

The various populate methods need to accept a path as an argument vs
using hard expanded variables.  In the case of the boot-directdisk
class it uses a different path for HDDDIR but it gets eclipsed by the
the class definition at the point in time ${HDDDIR} gets expanded.

The logical fix is to pass the arguments to the functions as opposed
to using globally expanded variables from the class definitions.

This patch changes 3 things:
1) syslinux_hddimg_populate takes an argument for the destination
2) syslinux_iso_populate takes an argument for the destination
3) populate is changed to boot_direct_populate because there
   was a conflict with it overriding the populate in bootimg.bbclass

[YOCTO #3994]

(From OE-Core rev: 63d164b755b984021f7e3cdba7280918ded6e821)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux.bbclass, syslinux: Update to syslinux 6.01
Jason Wessel [Tue, 17 Sep 2013 13:32:13 +0000 (13:32 +0000)] 
syslinux.bbclass, syslinux: Update to syslinux 6.01

A newer version of syslinux is required for an EFI enabled isohybrid.
This is used for the the capability to generate 3 types of ISO images,
all of which can be booted off a USB device or HDD if copied with dd.

1) PC BIOS only ISO
2) EFI only ISO
3) EFI + PC BIOS ISO

The syslinux.bbclass required a minor tweak because a few .c32
libraries require dynamic loading from the created media as of
syslinux 5 and up.  This was a good time to also fix the
duplication of the AUTO_SYSLINUXMENU block.

[YOCTO #4100]

(From OE-Core rev: 17d74fbd09e377e100423e1a73b9d4ce761a21d7)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimage.bbclass, zisofs-tools-native: add ability to compress ISO images
Jason Wessel [Tue, 17 Sep 2013 13:32:18 +0000 (13:32 +0000)] 
bootimage.bbclass, zisofs-tools-native: add ability to compress ISO images

The mkzftree is needed to allow ISO images to be compressed with
minimal runtime overhead.  Below is an example of the savings on a
core-image-minimal.

Before ls -l:
24117248 core-image-minimal-qemux86-64.iso

Using the mkzftree ls -l:
16777216 core-image-minimal-qemux86-64.iso

(From OE-Core rev: 808d4371939ec48ed62e0c0b6614b96d61b1f7b8)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux.bbclass: Fix hard coding of console=tty*
Jason Wessel [Tue, 17 Sep 2013 13:32:16 +0000 (13:32 +0000)] 
syslinux.bbclass: Fix hard coding of console=tty*

The SYSLINUX_SERIAL variable was hard coded and occasionally needs to
be different for the kernel argument vs the syslinux argument.

In the auto-generated boot mode console=tty0 was hard coded, and this
is not needed at all, and causes problems in some cases if a end user
wanted to change the console=... via the kernel boot argument APPEND
mechanism.  The default can be forced with SYSLINUX_DEFAULT_CONSOLE
for systems that need a special specification to enable the frame
buffer instead of a serial port.

[YOCTO #3944]

(From OE-Core rev: cf2fba810a8a59cff71bf2c12e516e9080146604)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub-efi.bbclass: Add serial and graphics menu options
Jason Wessel [Tue, 17 Sep 2013 13:32:15 +0000 (13:32 +0000)] 
grub-efi.bbclass: Add serial and graphics menu options

The syslinux.bbclass already has support for automatically generated
serial and graphics menu choices.  This patch adds the same concept to
the grub-efi menu.  That makes it possible to generate a single image
which can boot on a PCBIOS or EFI firmware with consistent looking
boot options.

[YOCTO #4100]

(From OE-Core rev: 8444199fb598012f54853b010b5e5cce750db89d)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimage.bbclass, grub-efi.bbclass: Improve EFI & PCBIOS+EFI ISO support
Jason Wessel [Tue, 17 Sep 2013 13:32:14 +0000 (13:32 +0000)] 
bootimage.bbclass, grub-efi.bbclass: Improve EFI & PCBIOS+EFI ISO support

Using the latest mkisofs it is possible to generate 3 different types
of ISO images, which can be used in various scenarios.

1) PCBIOS Only ISO
   - This option remains unchanged by this commit
   - Uses syslinux menus
   - Can be directly copied with dd to a USB device
   - Can be burned to optical media

2) EFI Only ISO
   - Uses grub 2 menus
   - Can be burned to optical media
   - If you want to use this image on a USB device
     extra steps must be taken in order to format the USB
     device with fat32, and copy an EFI loader which will
     in turn load the iso image

3) PCBIOS / EFI ISO
   - This is a hybrid image ISO that will work for case 1 or 2
     as above with the same restrictions and boot menu types
     depending on what type of firmware is installed on
     the hardware or depending on if EFI or "Legacy Boot" is
     enabled on some UEFI firmwares.

The syslinux.bbclass is now always required because that is where the
isohybrid dependencies come from as well as the configuration data for
the isohybrid.  The isohybrid is the secret sauce which allows the ISO
to work as optical media or as a disk image on USB or a HDD/SSD.

[YOCTO #4100]

(From OE-Core rev: a4baf911ab9d306ce5200e7d794ed6a9ccb25f30)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub-efi-native: Add support for EFI ISO images
Jason Wessel [Tue, 17 Sep 2013 13:32:12 +0000 (13:32 +0000)] 
grub-efi-native: Add support for EFI ISO images

The iso9660 file system support needs to be added to grub in order to
be able to correctly find the grub.cfg.  The grub commands to locate
the grub.cfg also needs to be encoded into grub's default
configuration.

This change allows the resulting grub binary to work both in the hard
drive / USB boot case or the optical media boot case.

[YOCTO #4100]

(From OE-Core rev: 0bc0762a479b5182a07fccb2b1e9cd5fc15ca485)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-yocto: updated SANITY_TESTED_DISTROS in poky.conf
Alexandru Palalau [Wed, 25 Sep 2013 09:16:54 +0000 (09:16 +0000)] 
meta-yocto: updated SANITY_TESTED_DISTROS in poky.conf

Added Fedora-19 and Debian-6.0.7 to SANITY_TESTED_DISTROS.
No more warnings regarding sanity for these two host distros

(From meta-yocto rev: 2d3cddaae4cbf4e3e2a01aa7146e1b577c056324)

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 agotestimage: Exclude BB_ORIGENV variable
Richard Purdie [Thu, 26 Sep 2013 16:20:18 +0000 (16:20 +0000)] 
testimage: Exclude BB_ORIGENV variable

The BB_ORIGENV variable isn't picklable and causes failures when generating the task
signature for the autorun image mode. We don't want to depend on its contents anyway
so lets exclude it.

(From OE-Core rev: 3f5f9d2681d41e44dade5d3a5a4bff3fd38f5506)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuilder: register text files with leafpad
Cristian Iorga [Thu, 26 Sep 2013 07:15:36 +0000 (10:15 +0300)] 
builder: register text files with leafpad

Log files will open in leafpad under Build Appliance.

Part of [YOCTO #4727] fix.

(From OE-Core rev: 1645a3c1d288a4de38683129ed146198d8093a47)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-self-hosted: add leafpad text editor
Cristian Iorga [Thu, 26 Sep 2013 07:15:35 +0000 (10:15 +0300)] 
packagegroup-self-hosted: add leafpad text editor

A text editor is needed to examine log files.

Part of [YOCTO #4727] fix.

(From OE-Core rev: e598642988d1be1812b8df8ecd4f9d53f66068c9)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package_rpm: fix bitbake package-index for RPM
Paul Eggleton [Thu, 26 Sep 2013 16:00:33 +0000 (17:00 +0100)] 
classes/package_rpm: fix bitbake package-index for RPM

The function that "bitbake package-index" relies upon when using the RPM
package backend (package_update_index_rpm()) uses MULTILIB_PREFIX_LIST
to get the list of package architectures to be indexed, but that
variable is only set when populate_sdk_rpm or rootfs_rpm are inherited,
which is not the case for the package-index recipe. Until we're able to
refactor this properly, for minimal impact just use the value of
ALL_MULTILIB_PACKAGE_ARCHS if MULTILIB_PREFIX_LIST does not give us any
architectures (the equivalent function in the ipk backend uses the
former variable).

Having "bitbake package-index" working is important because it's the
only practical way of indexing RPM packages for use as a feed; host
versions of createrepo won't work properly because they won't support
indexing recommends relationships.

Stopgap fix for [YOCTO #5278].

(From OE-Core rev: 9359719c563e1ab0ff10186d1a1b6bde7840dbf3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-init-build-env-memres: use shell instead of Python to show the port number
Ross Burton [Thu, 26 Sep 2013 15:11:33 +0000 (16:11 +0100)] 
oe-init-build-env-memres: use shell instead of Python to show the port number

(From OE-Core rev: 024e95696bad8f2ff09e1fda28c96d89d10999a1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: warn twice if the 32-bit toolchain appears broken
Ross Burton [Thu, 26 Sep 2013 10:41:36 +0000 (11:41 +0100)] 
pseudo: warn twice if the 32-bit toolchain appears broken

Putting a warning at the top of do_compile is useful but not everyone reads the
file from beginning to end, so use a trap to put the message at the bottom too.

[ YOCTO #4919 ]

(From OE-Core rev: 51950fcbe4b98bdbb8b3dde88a8729e540d9609f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: use bbnote/bbwarn instead of echo
Ross Burton [Thu, 26 Sep 2013 10:41:35 +0000 (11:41 +0100)] 
pseudo: use bbnote/bbwarn instead of echo

In the future bbnote/bbwarn will be integrated into bitbake's logging, so use
those functions instead of echo directly.

(From OE-Core rev: 4933d7ae45d88090191c8ea07fd109ed34925e2d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-x11-free: disable QGtkStyle
Paul Eggleton [Fri, 20 Sep 2013 13:01:26 +0000 (14:01 +0100)] 
qt4-x11-free: disable QGtkStyle

This currently leads to a floating dependency on GTK+. Since most users
in an embedded context won't need this, just disable it by default.

Fixes [YOCTO #5116].

(From OE-Core rev: 6bef1e02dff6c6482791ab424d7e5dedeb840cf6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc/libtool/perl: Fix various path to sed-native problems
Richard Purdie [Wed, 25 Sep 2013 12:36:00 +0000 (12:36 +0000)] 
gcc/libtool/perl: Fix various path to sed-native problems

If sed-native is built before these programs, hardcoded paths to sed-native
can end up in scripts and other parts of the system which may cause issues
if they are later used from sstate and sed-native is not installed.

To avoid this, this patch changes the global site configuration to
specify that plain "sed" is fine to be used. We need to spell this
out for gcc since it doesn't see the site files since we don't autoreconf
it. We can remove the values from libtool. We tell perl to use "/bin/sed"
since it requires a path and the system sed should be just fine for it.

[YOCTO #4971]

(From OE-Core rev: 2ec171cb188601bf18c6c2895870907024b1c52a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: Use correct kvm CPU options for qemux86* with kvm
Richard Purdie [Wed, 25 Sep 2013 20:59:11 +0000 (21:59 +0100)] 
runqemu: Use correct kvm CPU options for qemux86* with kvm

The existing -cpu host option caused kernel panics when people attempted to use
the kvm option. After research and discussion, the best options appear to
be the kvm32/kvm64 cpu types so lets use these instead. These resolve
the kernel issues for me.

[YOCTO #3908]

(From OE-Core rev: bdc6d3be6ffa4ed358153f9c9332b632324f5833)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: update mdev.conf
Eric Bénard [Wed, 25 Sep 2013 16:52:13 +0000 (18:52 +0200)] 
busybox: update mdev.conf

busybox 1.21.1 's mdev has changed the way the device's name is
reported so now we get input/event0 instead of event0.
I think this commit is responsible of this new behaviour :
http://git.busybox.net/busybox/commit/util-linux/mdev.c?id=c3cf1e30a3022453311a7e9fe11d94c7a381640e

Update mdev.conf according to this behaviour so that sound
and input devices are correctly populated (and now
/etc/mdev/find-touchscreen.sh is executed).

Tested on an arm board.

(From OE-Core rev: 61b2950ebbc01f5e4fd7aece05bf371100c0c390)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.10: common-pc* config updates
Bruce Ashfield [Wed, 25 Sep 2013 19:30:12 +0000 (15:30 -0400)] 
linux-yocto/3.10: common-pc* config updates

Bumping the 3.10 meta branch SRCREV to import the following config changes
for tghe sugarbay and common-pc wifi fragments.

   dad2b7e common-pc-64: add kernel CONFIG options for sugarbay platform
   37c617d common-pc-wifi.cfg: add support for broadcom wifi drivers

[YOCTO #5117]
[YOCTO #5238]

(From OE-Core rev: 180f465b0cab13e17dc92ac5c88d7d9001cd5b11)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: add warning if MACHINE is not set in adt-installer.conf
Laurentiu Palcu [Wed, 25 Sep 2013 15:40:29 +0000 (15:40 +0000)] 
adt-installer: add warning if MACHINE is not set in adt-installer.conf

Since the MACHINE can now be specified in adt-installer.conf, in order to
install the proper toolchain and environment script for the given
machine, add a sanity checking at the beginning to make sure MACHINE is
set for the wanted architecture.

Also:
 * uncomment the x86 target variables, in adt-installer.conf, in order
   to have qemux86 MACHINE set, by default, and also the sysroot
   installed (since it doesn't make much sense to install the toolchain
   without a target sysroot);
 * remove 'sudo' when creating relocate_sdk_tmp.py because the file is
   created in adt-installer directory;

[YOCTO #5259]

(From OE-Core rev: 0623a0e1bd7cf0c405a0469e9f16779971c0c3b5)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: check if sudo is needed when installing target sysroot
Laurentiu Palcu [Wed, 25 Sep 2013 15:40:28 +0000 (15:40 +0000)] 
adt-installer: check if sudo is needed when installing target sysroot

Currently, if SDK is installed in a directory that needs sudo
preivileges, the target sysroot is also installed with sudo, even though
the location is in users's home directory.

This patch reuses the ownership checking code and uses it to check if
sudo is needed for target sysroot too.

[YOCTO #5259]

(From OE-Core rev: 5acfced041477d8c272485196e87ad601a0ce5b4)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Clear umask when using os.mkdir
Richard Purdie [Wed, 25 Sep 2013 12:36:46 +0000 (12:36 +0000)] 
package.bbclass: Clear umask when using os.mkdir

We switched to using os.mkdir with the file creation mode specified as the
second parameter. Python masks this with umask behind the scenes which isn't
what we want, we really want the permissions we specify.

To avoid this we zero the umask beforehand and restore afterwards. Other
solutions are possible but would not perform as well which is why
we're using os.mkdir in the first place.

Martin Jansa deserves the credit for debugging where the problem was.

(From OE-Core rev: f91226553e39439bfd17ab2b06c56cb8bf41061b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oeqa/runtime: ping: wait for 5 echo replies
Stefan Stanacar [Wed, 25 Sep 2013 12:30:49 +0000 (12:30 +0000)] 
lib/oeqa/runtime: ping: wait for 5 echo replies

Instead of considering that ping test passed after 1 reply,
wait for at least 5 consecutive replies in 60 seconds (which should
be enough time for connman to reconfigure the interface in systemd
images and help with the fake ssh/tests fails.)

(From OE-Core rev: 6fd19a9df0ad25b2822f12e2c3a97f1b71068d4e)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk-packagegroup-sdk-host: Add nativesdk-shadow
David Nyström [Wed, 25 Sep 2013 11:52:23 +0000 (11:52 +0000)] 
nativesdk-packagegroup-sdk-host: Add nativesdk-shadow

Add useradd, groupadd et.c. since all target packages
which inherits useradd will have a postinstall hook
dependecy against the yocto specific groupadd.

(From OE-Core rev: 829edcb6e59e2e20dd4165b727b685f286f38031)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: Add nativesdk to BBCLASSEXTEND
David Nyström [Wed, 25 Sep 2013 11:52:22 +0000 (11:52 +0000)] 
shadow: Add nativesdk to BBCLASSEXTEND

This is a second in a series of patches to enable
offline rootfs creation from a package repository.

Some postinstall cmds are Yocto specific and needed to create a
rootfs with pre and post install hooks successfully run,
using only the toolchain tarball + a package repo.

End goal is to create a sandbox where users of a Yocto
based distribution can customize a rootfs from a package feed
with their package manager of choice.

With this patch, I can successfully create packagegroup-core-boot
with only the toolchain tarball(OPKG). More fixes for a few postinstall
hooks outside of packagegroup-core-boot will come next.

(From OE-Core rev: f90e1a45a042468e4e9a0fc91b57c6dba6f7adc9)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorelocate_sdk.py: make it work also with python 3
Laurentiu Palcu [Wed, 25 Sep 2013 09:32:33 +0000 (09:32 +0000)] 
relocate_sdk.py: make it work also with python 3

Strings in Python 3, by default, are assumed to contain unicode
characters. In previous versions of python (<3), unicode strings are
explicitly declared with u"abc". If not, than they're automatically
converted to bytes. This doesn't happen anymore in Python 3.

Since we're dealing with binary files, opened in byte mode, make sure
that we explicitly convert all strings to bytes to make both python 2
and 3 happy.

Other changes:
 * add a safety check to make sure relocation did not change the file
   size;
 * a couple of cosmetic changes (wrap long lines so that we don't have
   to scroll to reach the end of them);

(From OE-Core rev: 175f20e27eadc79df16109961f5ce6232705e96f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistutils: Replacing path to native path only to be done to non-native python packages
Amy Fong [Sun, 22 Sep 2013 04:31:39 +0000 (04:31 +0000)] 
distutils: Replacing path to native path only to be done to non-native python packages

distutils: Replacing path to native path only to be done to non-native python packages

distutils: Replacing path to native python by path to python in the
image to support python packages with console-script setup resulted in
a "bad interpreter" error message because coreutils-native is not
a specified dependency of a number of native python packages.

We modify the change to apply specifically to non-native packages.

(From OE-Core rev: 312b6b33dca565153bc2e92d7ff6dd2974db4edb)

Signed-off-by: Amy Fong <Amy.Fong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobind: port a patch to fix a build failure
Roy Li [Tue, 24 Sep 2013 13:20:08 +0000 (13:20 +0000)] 
bind: port a patch to fix a build failure

(From OE-Core rev: 2cc9106da45a14d41a5269d91d7f79b6ccd8597f)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuild-appliance: Update SRCREV
Richard Purdie [Tue, 24 Sep 2013 17:08:48 +0000 (18:08 +0100)] 
build-appliance: Update SRCREV

(From OE-Core rev: 821037700ae61fff6a63d4cdb68559c5fcc96fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky: Update to 1.5 release version
Richard Purdie [Tue, 24 Sep 2013 17:03:01 +0000 (18:03 +0100)] 
poky: Update to 1.5 release version

(From meta-yocto rev: 3e2cde70c10393e8358a42841bc2acce19fc65a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: Update to version 1.20.0
Richard Purdie [Tue, 24 Sep 2013 17:04:02 +0000 (18:04 +0100)] 
bitbake: bitbake: Update to version 1.20.0

(Bitbake rev: 2666865a27cedbffc82800b4cab1d6cff5a0222e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowget: remove po.m4 patch
Saul Wold [Mon, 23 Sep 2013 17:57:02 +0000 (17:57 +0000)] 
wget: remove po.m4 patch

The po.m4 file is deleted by the more recent autotools.bbclass
autotools_do_configure code which handles gettext. There is therefore
no point in patching the file anymore.

(From OE-Core rev: 986c660cdb34e23a9c72f219db9363a6b4e4b7ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotexi2html: remove po.m4 patch
Saul Wold [Mon, 23 Sep 2013 17:56:47 +0000 (17:56 +0000)] 
texi2html: remove po.m4 patch

The po.m4 file is deleted by the more recent autotools.bbclass
autotools_do_configure code which handles gettext. There is therefore
no point in patching the file anymore.

(From OE-Core rev: c3265281c3ab0979ec2753eb7580c39b005d5fa9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>