]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoperl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Khem Raj [Fri, 18 Mar 2011 05:40:15 +0000 (22:40 -0700)]
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha

Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoscripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as well
Khem Raj [Thu, 17 Mar 2011 18:24:39 +0000 (11:24 -0700)]
scripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as well

Without using rw the ext3 images boot the kernel but do not spawn the
console at the end

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoscripts/poky-qemu-internal: Pass -m <mem_size> always on commandline
Khem Raj [Thu, 17 Mar 2011 03:20:24 +0000 (20:20 -0700)]
scripts/poky-qemu-internal: Pass -m <mem_size> always on commandline

There is a nasty bug in qemu 0.14.0 where it over writes device memory
if the default sizes was not specified on commandline. It can be
worked around by this patch.

I also simplified the memory size calculation logic a bit so we append
'M' to QEMU_MEMORY at the very end instead of sed'ing it afterwards

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolib/oe/patch.py: Cosmetic change to avoid bitbake warning
Khem Raj [Thu, 17 Mar 2011 00:42:10 +0000 (17:42 -0700)]
lib/oe/patch.py: Cosmetic change to avoid bitbake warning

bb.mkdirhier should be bb.utils.mkdirhier

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agooe.utils: add inherits (sync from OE)
Chris Larson [Mon, 7 Mar 2011 16:47:35 +0000 (09:47 -0700)]
oe.utils: add inherits (sync from OE)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agooe.path: sync up with current OE
Chris Larson [Wed, 9 Feb 2011 13:55:16 +0000 (06:55 -0700)]
oe.path: sync up with current OE

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agooe.patch: add missing imports
Chris Larson [Wed, 16 Mar 2011 14:46:24 +0000 (07:46 -0700)]
oe.patch: add missing imports

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agooe.utils: add bb, bb.data imports
Chris Larson [Thu, 30 Dec 2010 00:13:29 +0000 (17:13 -0700)]
oe.utils: add bb, bb.data imports

While the metadata can and should rely on bb always being available, this
needn't necessarily be the case for imported python modules.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agoShift a few env bits into scripts/bitbake
Chris Larson [Thu, 17 Mar 2011 15:31:54 +0000 (08:31 -0700)]
Shift a few env bits into scripts/bitbake

This attempts to separate the bits we *require* to run bitbake with oe-core
via the wrapper script, and which are independent of the build environment
(PSEUDO_DISABLED, PSEUDO_BUILD, BBFETCH2) from those which are more particular
to poky-init-build-env's way of setting things up (e.g. adding MACHINE to
BB_ENV_EXTRAWHITE, relying on OEROOT, etc).  This should make it easier to use
scripts/bitbake with non-standard workflows.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agoscripts/bitbake: add -g/--graphviz to NO_BUILD_OPTS
Chris Larson [Wed, 16 Mar 2011 14:46:48 +0000 (07:46 -0700)]
scripts/bitbake: add -g/--graphviz to NO_BUILD_OPTS

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agonative: empty PACKAGES_DYNAMIC the way we do PACKAGES
Chris Larson [Tue, 15 Mar 2011 14:37:47 +0000 (07:37 -0700)]
native: empty PACKAGES_DYNAMIC the way we do PACKAGES

Without this, as a specific example, one has both gtk+-native and gtk+ runtime
providing gdk-pixbuf-loader-*, and you can get bitbake preference conflicts as
a result if you have preferences specified for both gtk+ and gtk+-native for
other things.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agopoky-init-build-env: unbork for zsh
Chris Larson [Tue, 28 Dec 2010 17:49:17 +0000 (10:49 -0700)]
poky-init-build-env: unbork for zsh

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agobitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OE
Martin Jansa [Thu, 3 Mar 2011 14:44:06 +0000 (15:44 +0100)]
bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS
Richard Purdie [Tue, 15 Mar 2011 20:11:17 +0000 (20:11 +0000)]
bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS

There is a problem with the current PACKAGE_EXTRA_ARCHS implementation
since its impossible to control which extra architectures sort higher
than TARGET_ARCH and which sort lower. In the x86 case for example,
TARGET_ARCH might be "i586", i486 should be lower than this and i686 should
be higher. There are also complications where its easy to inject duplicate
entries into the variable.

I tried various versions of this patch and concluded that it was simplest
just to force the tune files to include TARGET_ARCH in the list in the
right place if they're planning to customise it themselves. Other approaches
with appends and prepends just complicated the code for no good reason.

The TARGET_ARCH definitions should also move to the tune files but I'll
leave this for a separate patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel/bbclass: rework kernel and module classes to allow for building out-of-tree...
Darren Hart [Wed, 9 Mar 2011 01:09:10 +0000 (17:09 -0800)]
kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

The existing infrastructure uses an external build tree which references the
kernel source in the work dir. If run with rm work, building external modules
will fail.

This patch places a configured source tree in sysroots. Striking a balance
between minimal size and minimal maintenance is difficult. A fully configured
tree is about 500MB after a clean. This version leans on the side of caution and
removes only the obviously unecessary parts of the source tree to conserve
space, resulting in about 170MB. The arch directories would be some additional
pruning we could do. Given examples from the devel package from distributions, I
suspect this size could be reduced to 75MB or so, but at the cost of a much more
complex recipe which is likely to require a great deal more maintenance to keep
current with kernel releases.

Care is also taken to clean the hostprogs in scripts, and the modules are
responsible for building them as needed. Although it is unclear to me if this is
really necessary, especially considering that modules put these bits back as
soon as they compile. If we are not generating an sstate package, I suspect we
can ignore these.

Please try this with your modules and let me know how it does. I tried to take
non linux-yocto kernel recipes into account, but I have only tested with
linux-yocto and the hello-mod recipe so far.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agomsmtp: add link sendmail for lsb command check
Kang Kai [Mon, 21 Mar 2011 02:46:11 +0000 (10:46 +0800)]
msmtp: add link sendmail for lsb command check

LSB command check will test the exist of sendmail, so make sendmail
link to msmtp using update-alternatives class in order to pass the test.

Related to [YOCTO #520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agoqemu: enabling the alsa driver needs alsa in DEPENDS, add it
Koen Kooi [Mon, 21 Mar 2011 09:38:40 +0000 (10:38 +0100)]
qemu: enabling the alsa driver needs alsa in DEPENDS, add it

This fixes:

| + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370
|
| Error: alsa check failed
| Make sure to have the alsa libs and headers installed.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoalsa-lib: extend to -native for qemu-native
Koen Kooi [Mon, 21 Mar 2011 09:38:39 +0000 (10:38 +0100)]
alsa-lib: extend to -native for qemu-native

Qemu-needed is needed for the qemu* machines to build, but needs alsa-lib

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoxserver-nodm-init: Mark as machine specific after recent rootless X changes
Richard Purdie [Sat, 19 Mar 2011 01:30:12 +0000 (01:30 +0000)]
xserver-nodm-init: Mark as machine specific after recent rootless X changes

Fix summplied by ke.yu@intel.com

[YOCTO #906]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Ensure a clean removes setscene stamps as well as the main task stamps
Richard Purdie [Sat, 19 Mar 2011 01:16:05 +0000 (01:16 +0000)]
sstate: Ensure a clean removes setscene stamps as well as the main task stamps

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years ago[BUGID# 873] - documentation/poky-ref-manual: Notes added for non-GPLv3 builds
Scott Rifenbark [Thu, 17 Mar 2011 04:50:06 +0000 (22:50 -0600)]
[BUGID# 873] - documentation/poky-ref-manual: Notes added for non-GPLv3 builds

[BUGID# 873] - Added a note in the Images Appendix indicating that
building an image without GPLv3 components is only supported for
base and minimal images.  Also put the two changes you have to do
to the local.conf file for the build.

Added a note in the second chapter in the section on building images.
The note indicates the same as in the appendix but does not go into the
local.conf file detail.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoqemu: make warning messages consistent in format
Darren Hart [Fri, 18 Mar 2011 17:28:08 +0000 (10:28 -0700)]
qemu: make warning messages consistent in format

Try to make the output of the qemu script a bit more consistent by using the
same format for the various warning messages:

WARNING: description of warning.
Detailed description of warning, actions taken, and/or instructions to user.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agoqemu: warn user if nVidia libGL is detected (leads to qemu segfault)
Darren Hart [Fri, 18 Mar 2011 17:18:48 +0000 (10:18 -0700)]
qemu: warn user if nVidia libGL is detected (leads to qemu segfault)

nVidia's OpenGL libraries are known to have compatibility issues with qemu,
resulting in a segfault. As different workarounds are required for the different
distributions, just warn the user to explain the qemu segfault to follow, and
suggest a workaround using LD_PRELOAD.

[YOCTO #649]
[YOCTO #698]

(Original patch from Edwin, Darren modified warning and git commit wording)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Mark Hatle <mark.hatle@windriver.com>
CC: Zhai Edwin <edwin.zhai@intel.com>
14 years agodb: Fix path of arm-thumb patch
Mark Hatle [Fri, 18 Mar 2011 16:33:10 +0000 (11:33 -0500)]
db: Fix path of arm-thumb patch

Newer versions of patch, such as in Fedora 14, don't like ".." within
the middle of the file to be patched path.

In order to fix the issue we have to hand apply the patch instead of using
the normal mechanisms.  Only flaw with the os.system(...) approach is if it
fails we don't get any notification or a resolver failure.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoinitscripts: Make umountfs a bit more robust, bump PR
Tom Rini [Wed, 16 Mar 2011 12:02:35 +0000 (12:02 +0000)]
initscripts: Make umountfs a bit more robust, bump PR

Avoids error messages on shutdown.

Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agonfs-utils: fix "sh: bad number" error on start/stop of nfsserver
Paul Eggleton [Wed, 16 Mar 2011 11:52:13 +0000 (11:52 +0000)]
nfs-utils: fix "sh: bad number" error on start/stop of nfsserver

Adds a test to avoid the "sh: bad number" error message during service
start or stop of nfsserver when there is no NFS_SERVERS value set in
/etc/default/nfsd.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agobusybox: enable unmount all feature
Paul Eggleton [Wed, 16 Mar 2011 12:10:46 +0000 (12:10 +0000)]
busybox: enable unmount all feature

This allows "umount -f -a -r" in our initscripts to actually do something.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Note added about proxy
Scott Rifenbark [Fri, 18 Mar 2011 14:28:24 +0000 (08:28 -0600)]
documentation/yocto-project-qs/yocto-project-qs.xml: Note added about proxy

I added a note to reference the FAQ entry in the Poky manual that describes
how to get around proxy and firewall stuff hanging up getting the source
code during a build.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Added references to FAQs
Scott Rifenbark [Thu, 17 Mar 2011 18:01:35 +0000 (12:01 -0600)]
documentation/yocto-project-qs/yocto-project-qs.xml: Added references to FAQs

In the beginning of the manual I added references to the FAQs we
support.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: 1.0 edits applied to examples
Scott Rifenbark [Wed, 16 Mar 2011 23:00:19 +0000 (17:00 -0600)]
documentation/yocto-project-qs/yocto-project-qs.xml: 1.0 edits applied to examples

This is first guess at the correct example commands and directory
names for the Bernard 5.0 release.  I don't have any real directories
available to look at and doc changes are supposed to be frozen before the
actual build.  So these are guesses and will need reviewed.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/style.css: Updated note text color
Scott Rifenbark [Wed, 16 Mar 2011 20:29:28 +0000 (14:29 -0600)]
documentation/yocto-project-qs/style.css:  Updated note text color

Had to update the note and tip text color to white to match other
books.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/style.css: Updated styles
Scott Rifenbark [Wed, 16 Mar 2011 17:03:08 +0000 (11:03 -0600)]
documentation/yocto-project-qs/style.css:  Updated styles

I updated the style sheet to use Yocto blue for the headings and got
rid of the green tip and note stuff.  This style matches the other
style sheet now.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 857] - documentation/yocto-project-qs/yocto-project-qs.xml: added groff package
Scott Rifenbark [Wed, 16 Mar 2011 00:05:04 +0000 (18:05 -0600)]
[BUGID# 857] - documentation/yocto-project-qs/yocto-project-qs.xml: added groff package

[BUGID# 857] In the packages section for the list of Debian-based system package
requirements I added 'groff'.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agosstate.bbclass: Turn absolute symbolic links into relative ones for sstate packages
Richard Purdie [Fri, 18 Mar 2011 23:04:26 +0000 (23:04 +0000)]
sstate.bbclass: Turn absolute symbolic links into relative ones for sstate packages

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoREADME.hardware: update for 1.0 release
Paul Eggleton [Fri, 18 Mar 2011 16:42:52 +0000 (16:42 +0000)]
README.hardware: update for 1.0 release

* Update to refer to Yocto documentation
* Change title as suggested by Scott Rifenbark
* List all qemu* machine targets
* Remove machines no longer in core layer
* Add instructions for routerstationpro (originally based on an email from
  Mark Hatle)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agodocumentation/poky-ref-manual/faq.xml: Added entry about proxy and firewall
Scott Rifenbark [Fri, 18 Mar 2011 14:12:42 +0000 (08:12 -0600)]
documentation/poky-ref-manual/faq.xml:  Added entry about proxy and firewall

This is an explanation on how to get by the proxy or around the
firewall when Poky is trying to find and download sources.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/extendpoky.xml: Formfactor path corrected
Scott Rifenbark [Fri, 18 Mar 2011 13:14:34 +0000 (07:14 -0600)]
documentation/poky-ref-manual/extendpoky.xml: Formfactor path corrected

I changed the path 'meta/packages/formfactor/files/config'
to 'meta/recipes-bsp/formfactor/files/config' per Joshua Lock's
instruction for correctness.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/extendpoky.xml: small edits
Scott Rifenbark [Fri, 18 Mar 2011 00:28:20 +0000 (18:28 -0600)]
documentation/poky-ref-manual/extendpoky.xml: small edits

Various small edits and format changes.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/usingpoky.xml: Small edits
Scott Rifenbark [Thu, 17 Mar 2011 23:59:59 +0000 (17:59 -0600)]
documentation/poky-ref-manual/usingpoky.xml:  Small edits

I made some minor edits.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/faq.xml: Added three FAQ entries
Scott Rifenbark [Thu, 17 Mar 2011 23:24:43 +0000 (17:24 -0600)]
documentation/poky-ref-manual/faq.xml: Added three FAQ entries

Added three FAQ entries per Joshual Lock.

1. How do I disable the cursor on my touchscreen device?
2. How do I make sure connected network interfaces are brought
   up by default.
3. How do I create images with more free space?

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/usingpoky.xml: More BitBake changes
Scott Rifenbark [Thu, 17 Mar 2011 22:46:38 +0000 (16:46 -0600)]
documentation/poky-ref-manual/usingpoky.xml:  More BitBake changes

Forgot to search for "Bitbake" occurances.  These are now changed
to "BitBake."

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/usingpoky.xml: grammar fix and BitBake fix
Scott Rifenbark [Thu, 17 Mar 2011 22:41:43 +0000 (16:41 -0600)]
documentation/poky-ref-manual/usingpoky.xml: grammar fix and BitBake fix

Fixed a grammar problem and then did a search and replace for
"bitbake" to replace with "BitBake".

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/introduction.xml: Wording and release update
Scott Rifenbark [Thu, 17 Mar 2011 22:34:37 +0000 (16:34 -0600)]
documentation/poky-ref-manual/introduction.xml: Wording and release update

I changed several occurances of "Yocto Project" to "the Yocto Project."
Also changed the statement about what Poky release the book supported.
It previously said "applies to Poky Release 4.0 (Laverne)."  I changed
this to "applies to Poky Release 5.0 (Bernard)."

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/introduction.xml: Removed link
Scott Rifenbark [Thu, 17 Mar 2011 22:25:08 +0000 (16:25 -0600)]
documentation/poky-ref-manual/introduction.xml:  Removed link

Removed a link to the Intel Website.  Upon testing this link I
discovered that it loads the Intel site into the current web
page and then disables the back button.  Rather annoying. I tried
to change the link to pop a new window but couldn't get the
ulink.target parameter to work.  Ran out of time to try and figure
it out so I removed the link.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/faq.xml: Spell Check
Scott Rifenbark [Thu, 17 Mar 2011 16:56:02 +0000 (10:56 -0600)]
documentation/poky-ref-manual/faq.xml:  Spell Check

Performed a spell check and corrected several problems.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/poky-ref-manual.xml: Updated title page
Scott Rifenbark [Thu, 17 Mar 2011 15:52:40 +0000 (09:52 -0600)]
documentation/poky-ref-manual/poky-ref-manual.xml: Updated title page

Updated the title page by adding a new revision entry for the manual.
Not sure of the current revision numbering scheme so I reset it to
Revision 1.0 to match that of the release.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/style.css: Updated to match other manuals
Scott Rifenbark [Thu, 17 Mar 2011 14:32:48 +0000 (08:32 -0600)]
documentation/poky-ref-manual/style.css: Updated to match other manuals

I have updated some styles so that the GIT manuals are looking more
consistent and have better color schemes for the section headings.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/extendpoky.xml: Spell check
Scott Rifenbark [Thu, 17 Mar 2011 14:21:21 +0000 (08:21 -0600)]
documentation/poky-ref-manual/extendpoky.xml: Spell check

A spell check performed on this chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 293] - documentation/poky-ref-manual/extendpoky.xml: Added text for choosing...
Scott Rifenbark [Thu, 17 Mar 2011 13:41:33 +0000 (07:41 -0600)]
[BUGID# 293] - documentation/poky-ref-manual/extendpoky.xml: Added text for choosing server

[BUGID# 293] - I added text at the end of section 3.2.3 "Customizing Images
Using Custom IMAGE_FEATURES" to include explanation of the two servers
Poky uses for images by default.  Also how to change the variable
IMAGE_FEATURES to configure the server.  This change is part of the
fix for BUGID# 293 and was suggested by Scott Garman.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agobitbake.conf: Increase image overhead factor to account for rpm/zypper database size
Richard Purdie [Fri, 18 Mar 2011 16:50:02 +0000 (16:50 +0000)]
bitbake.conf: Increase image overhead factor to account for rpm/zypper database size

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosanity.bbclass: check for duplicates in PACKAGE_ARCHS
Joshua Lock [Fri, 18 Mar 2011 13:28:42 +0000 (13:28 +0000)]
sanity.bbclass: check for duplicates in PACKAGE_ARCHS

Duplicate entries in PACKAGE_ARCHS causes problems with rootfs
generation. For example multiple architecture entries in opkg.conf
will confuse the opkg package manager.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agodocumentation/kernel-manual/kernel-how-to.xml: Spell checked
Scott Rifenbark [Thu, 17 Mar 2011 20:00:27 +0000 (14:00 -0600)]
documentation/kernel-manual/kernel-how-to.xml:  Spell checked

Performed a spell check and found a couple items.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/kernel-manual/kernel-manual.xml: Updated the title page
Scott Rifenbark [Thu, 17 Mar 2011 19:49:48 +0000 (13:49 -0600)]
documentation/kernel-manual/kernel-manual.xml: Updated the title page

I updated the title page to add Revision 1.0 to the Revision history
table.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/bsp-guide/bsp.xml: Spell check
Scott Rifenbark [Thu, 17 Mar 2011 19:35:27 +0000 (13:35 -0600)]
documentation/bsp-guide/bsp.xml:  Spell check

Performed a spell check and caught a couple small things.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/bsp-guide/style.css: Updated Style Sheet
Scott Rifenbark [Thu, 17 Mar 2011 19:25:03 +0000 (13:25 -0600)]
documentation/bsp-guide/style.css:  Updated Style Sheet

I updated the HTML style sheet to match that of the other online
manuals.  Section heads are now in Yocto blue and tip box
color is inline with Yocto color schemes.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/bsp-guide/bsp-guide.xml: Updated Title Page
Scott Rifenbark [Thu, 17 Mar 2011 19:20:21 +0000 (13:20 -0600)]
documentation/bsp-guide/bsp-guide.xml: Updated Title Page

I updated the revision table for the manuals to have better
wording and to go from oldest to newest top down.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/bsp-guide/figures/bsp-title.png: Updated PNG file for title
Scott Rifenbark [Thu, 17 Mar 2011 19:12:54 +0000 (13:12 -0600)]
documentation/bsp-guide/figures/bsp-title.png: Updated PNG file for title

I updated the figure for the title so that it uses the same color
scheme as the other manuals.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoutil-linux: Setup for GPLv2 Recipe
Saul Wold [Tue, 15 Mar 2011 20:18:04 +0000 (13:18 -0700)]
util-linux: Setup for GPLv2 Recipe

 * add task to remove the GPLv3 lscpu code
 * Add patch to remove the reference to lscpu in Makfiles

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocoreutils-6.9: fix man page building for the gplv2 recipe
Nitin A Kamble [Thu, 17 Mar 2011 17:25:04 +0000 (10:25 -0700)]
coreutils-6.9: fix man page building for the gplv2 recipe

Added a new patch:
   coreutils-6.9/fix_for_manpage_building.patch
And the target recipe now depends on the native recipe for the manpage
generation.

Similar fix may be needed to the GPLv3 version of this recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agotoolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.
Lianhao Lu [Fri, 18 Mar 2011 09:23:08 +0000 (17:23 +0800)]
toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.

[YOCTO #908] Added CPPFLAGS into the environment file and added
--sysroot to it.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agoslang: specify --x-includes to pass qa sanity check
Kevin Tian [Fri, 18 Mar 2011 09:32:09 +0000 (17:32 +0800)]
slang: specify --x-includes to pass qa sanity check

slang by default hardcodes a list of host dirs to search for X header
files, which may break qa sanity check. Use --x-includes to specify
sysroot as the fix.

Fix [YOCTO 907]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobitbake.conf: add POKYBASE to BB_HASHBASE_WHITELIST
Kevin Tian [Fri, 18 Mar 2011 09:23:45 +0000 (17:23 +0800)]
bitbake.conf: add POKYBASE to BB_HASHBASE_WHITELIST

or else do_populate_lic varies its checksum when using different source
directory, and thus further impact do_package sstate reuse.

Fix [YOCTO 894]
Possibly Fix [YOCTO 903]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agogettext: Upgrade GPLv2 version to 0.16.1
Saul Wold [Thu, 17 Mar 2011 08:12:56 +0000 (01:12 -0700)]
gettext: Upgrade GPLv2 version to 0.16.1

This adds a couple of new patches for handling various autoconf
and autolocal issues.  It also hardcodes a GETTEXT_MACRO_VERSION
to 0.17 to match the native gettext.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky.conf: remove gnome-common from WHITELIST_GPLV3
Saul Wold [Thu, 17 Mar 2011 08:12:19 +0000 (01:12 -0700)]
poky.conf: remove gnome-common from WHITELIST_GPLV3

This was due to task-poky-extended pulling in qemu-config for
non-GPLv3 poky-image-basic

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky.conf: add additional Libraries to the LGPLv2 Whitelist
Saul Wold [Wed, 16 Mar 2011 20:53:36 +0000 (13:53 -0700)]
poky.conf: add additional Libraries to the LGPLv2 Whitelist

The ligcc and gcc-runtime both are LGPLv2 libraries although they
are part of the large GCC GPLv3 code. There is clearly called out
exceptions for these libraries.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky-image-basic: remove POKY_BASE_INSTALL
Saul Wold [Thu, 17 Mar 2011 07:47:06 +0000 (00:47 -0700)]
poky-image-basic: remove POKY_BASE_INSTALL

Removing POKY_BASE_INSTALL and replacing it with task-poky-boot,
effectively removes task-poky-extended which was pulling unwanted
recipes.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoextended tasks: move binutils from basic to lsb
Saul Wold [Wed, 16 Mar 2011 22:10:47 +0000 (15:10 -0700)]
extended tasks: move binutils from basic to lsb

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agognome-vfs: Force acl to be disabled since its not a dependency
Richard Purdie [Thu, 17 Mar 2011 12:30:57 +0000 (12:30 +0000)]
gnome-vfs: Force acl to be disabled since its not a dependency

Without this patch, if acl was build beforehand, the build could find
the library resulting in a non-deterministic build.

Sadly there is no --disable or --without option available so this
approach is the only mechanism available.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoADT: bug fix for nameing and do_patch sequence
Liping Ke [Thu, 17 Mar 2011 05:28:42 +0000 (13:28 +0800)]
ADT: bug fix for nameing and do_patch sequence

This patch is for fixing the x86-64 image name bug and also,
do_patch must be done before do_deploy.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agognu-config: Use perl from the environment, not a hardcoded path
Richard Purdie [Thu, 17 Mar 2011 11:44:11 +0000 (11:44 +0000)]
gnu-config: Use perl from the environment, not a hardcoded path

Using the hardcoded perl binary can cause conflict between the files in the native
sysroot and those of the build system perl. By using perl from the environment
we can at least ensure a consistent perl environment.

Patches taken from OE.dev commits:
be21179c5321bd0afb9221f020ac12ad75c86a3b gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in
edcdefbf6e0675c1bcc1fc4f464f654223380e50 gnu-config: update also bindir change to replace /usr/bin/env instead of /usr/bin/perl

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.inc
Darren Hart [Thu, 17 Mar 2011 03:17:52 +0000 (20:17 -0700)]
gtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.inc

Now that the FULL_OPTIMIZATION for gtk+ has been enabled in the core
tune-atom.inc, it is no longer necessary to do so for every atom based
bsp.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Ke Yu <ke.yu@intel.com>
CC: Richard Purdie <richard.purdie@intel.com>
14 years agoatom-pc: work around gcc bug for core2
Darren Hart [Wed, 16 Mar 2011 21:50:57 +0000 (14:50 -0700)]
atom-pc: work around gcc bug for core2

Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the changes to all machines
derived from atom-pc.conf.

[Tweaked by RP to apply to gtk+ only]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agom4: bring back GPLv2 version 1.4.9 of m4 recipe
Nitin A Kamble [Tue, 15 Mar 2011 13:36:54 +0000 (06:36 -0700)]
m4: bring back GPLv2 version 1.4.9 of m4 recipe

Note: Downgrading of m4 would require rebuilding of the autoconf
Fixed circular depedency with the newer autoconf

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobison: bring back GPLv2 version 2.3 of bison recipe
Nitin A Kamble [Tue, 15 Mar 2011 13:37:25 +0000 (06:37 -0700)]
bison: bring back GPLv2 version 2.3 of bison recipe

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agodocumentation/adt-manual/adt-manual.xml: Updated front matter
Scott Rifenbark [Wed, 16 Mar 2011 16:36:48 +0000 (10:36 -0600)]
documentation/adt-manual/adt-manual.xml: Updated front matter

Changed the revision history box for the manual to state the release
and the release date.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Re-inserted Autotools plug-in requirement.
Scott Rifenbark [Wed, 16 Mar 2011 15:58:50 +0000 (09:58 -0600)]
documentation/adt-manual/adt-eclipse.xml: Re-inserted Autotools plug-in requirement.

Jessica flip-flopped on the need for the Autotools plug-in that was
removed from the manual.  I have re-inserted the instructions for adding
this plug-in in as part of the Eclipse set up.

14 years agosanity: detect if bitbake wrapper is not being used or pseudo is broken
Paul Eggleton [Wed, 16 Mar 2011 16:51:40 +0000 (16:51 +0000)]
sanity: detect if bitbake wrapper is not being used or pseudo is broken

* Shows a warning during sanity checking if the scripts/bitbake wrapper is
  not being used
* Check to see if pseudo is working during sanity checking, and if it
  isn't an error occurs (if we are using the wrapper script and pseudo
  has been built; otherwise it is a warning).

Fixes [YOCTO #653]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agosat-solver: Fix solution DB generation and general cleanup
Mark Hatle [Wed, 16 Mar 2011 22:15:09 +0000 (17:15 -0500)]
sat-solver: Fix solution DB generation and general cleanup

Uprev sat-solver to the latest git version.  This corrects the solv db
generation with RPM5.

Refactor the patches for RPM5 support, cleaning up components of the
cmake.patch for submission upstream.  (Also fix a problem remaining
in the upstream with a mismatched function name.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoopenjade-native: Run make depend to ensure dependencies are correct and avoid paralle...
Richard Purdie [Wed, 16 Mar 2011 17:12:00 +0000 (17:12 +0000)]
openjade-native: Run make depend to ensure dependencies are correct and avoid parallel make failures

[YOCTO #877]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopackage.bbclass: Fix missing debug src files
Mark Hatle [Wed, 16 Mar 2011 02:57:55 +0000 (21:57 -0500)]
package.bbclass: Fix missing debug src files

The previous change used egrep instead of fgrep.  We need to use fgrep because
there are expression like syntaxes in some file names, we need exact matches.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorpm: Disable repackage on upgrade/erasure by default
Mark Hatle [Wed, 16 Mar 2011 15:30:11 +0000 (10:30 -0500)]
rpm: Disable repackage on upgrade/erasure by default

[YOCTO #787]

Disable the repackage on upgrade/erase by default.  This removes the warning
message:

    error: cannot create %_repackage_dir /var/spool/repackage/1298783317

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosat-solver: Add workaround for RPM 5 db construction
Mark Hatle [Wed, 16 Mar 2011 15:28:08 +0000 (10:28 -0500)]
sat-solver: Add workaround for RPM 5 db construction

The first time the database is created on an RPM5 system it works
correctly.  However any subsequent rebuilds cause an empty database to
occur.

The following is from Michael Schroeder <mls@suse.de>:
> rpmdb2solv contains a hack that makes it use the unchanged already
> converted packages. To do this, it needs to get the database id
> for every installed packages by reading the "Name" index. This
> somehow doesn't seem to work with rpm5.
>
> As a workaround you can add a "ref = 0;" line at the top of the
> repo_add_rpmdb() function in ext/repo_rpmdb.c.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosat-solver: uprev to the latest version
Mark Hatle [Wed, 16 Mar 2011 03:03:33 +0000 (22:03 -0500)]
sat-solver: uprev to the latest version

Upgrade to the latest git version.  Also update the cmake.patch to enable
debugging in all configurations.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agolibzypp: Fix release query
Mark Hatle [Wed, 16 Mar 2011 03:01:50 +0000 (22:01 -0500)]
libzypp: Fix release query

Libzypp is looking for the "redhat-release" file and using that version
number to help adjust the system version.  This ensures that there is
something on the system that returns a correct value.

This patch is likely not necessary.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorootfs_rpm.bbclass: Add additional system configuration to RPM space
Mark Hatle [Wed, 16 Mar 2011 02:59:16 +0000 (21:59 -0500)]
rootfs_rpm.bbclass: Add additional system configuration to RPM space

The additional configuration should have been there from the beginning.  The
purpose of these config files is to have a consistent Berkeley DB configuration
even if the underlying RPM version changes -- or the RPM macros change.

This likely would not cause any problems until we attempted an upgrade of
either BDB or RPM.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agooprofileui: upgrade to latest git version.
Lianhao Lu [Wed, 16 Mar 2011 02:09:22 +0000 (10:09 +0800)]
oprofileui: upgrade to latest git version.

[YOCTO #880] Upgrade to latest git version.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agopoky-image-basic: add ssh-server-openssh to IMAGE_FEATURES
Scott Garman [Sun, 13 Mar 2011 07:16:30 +0000 (23:16 -0800)]
poky-image-basic: add ssh-server-openssh to IMAGE_FEATURES

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-image-lsb: add ssh-server-openssh to IMAGE_FEATURES
Scott Garman [Sun, 13 Mar 2011 07:15:34 +0000 (23:15 -0800)]
poky-image-lsb: add ssh-server-openssh to IMAGE_FEATURES

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES
Scott Garman [Sun, 13 Mar 2011 07:12:49 +0000 (23:12 -0800)]
poky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-image.bbclass: add new IMAGE_FEATURES for ssh servers
Scott Garman [Sun, 13 Mar 2011 06:55:14 +0000 (22:55 -0800)]
poky-image.bbclass: add new IMAGE_FEATURES for ssh servers

Image recipes can now add their ssh server of choice by adding
ssh-server-dropbear or ssh-server-openssh to IMAGE_FEATURES.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-ssh-openssh: new task recipe for openssh ssh
Scott Garman [Sun, 13 Mar 2011 06:54:30 +0000 (22:54 -0800)]
task-poky-ssh-openssh: new task recipe for openssh ssh

This task can be used when IMAGE_FEATURES is set to
ssh-server-openssh.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-ssh-dropbear: new task recipe for dropbear ssh
Scott Garman [Sun, 13 Mar 2011 06:24:49 +0000 (22:24 -0800)]
task-poky-ssh-dropbear: new task recipe for dropbear ssh

This task can be used when IMAGE_FEATURES is set to
ssh-server-dropbear.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-base, task-poky-basic, task-poky: Remove hard-coded references to dropbear
Scott Garman [Fri, 4 Mar 2011 22:03:02 +0000 (14:03 -0800)]
task-base, task-poky-basic, task-poky: Remove hard-coded references to dropbear

This is the first step in refactoring the SSH server selection to
be done in IMAGE_FEATURES instead of as hardcoded in these tasks.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoslang: export INST_LIB_DIR to fix compile problems
Kang Kai [Wed, 16 Mar 2011 06:41:51 +0000 (14:41 +0800)]
slang: export INST_LIB_DIR to fix compile problems

Export "INST_LIB_DIR" in do_install to slang/slsh to fix cross compile warnings
Fixes [YOCTO #812]

Add necessary files to run slsh.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agoformfactor: Assume HAVE_TOUCHSCREEN=0
Darren Hart [Wed, 16 Mar 2011 00:05:51 +0000 (17:05 -0700)]
formfactor: Assume HAVE_TOUCHSCREEN=0

If no machine specific formfactor is found, the formfactor config defaults
to HAVE_TOUCHSCREEN=1. The result is for the matchbox session to disable
the cursor. This can lead to a lot of churn sorting out why the cursor doesn't
appear: xorg bug, xorg driver bug, kernel drm driver bug, kms bug, many
of which appear when searching for invisible cursor on the web.

On the other hand, if a cursor appears on a touchscreen device, one is much
more likely to reach a correct conclusion: "I need to set HAVE_TOUCHSCREEN=1
in my custom machine formfactor config". Which likely exists or is needed for
other formfactor specific things such as dpi, screen size, rotation, etc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Specified qemu options outside of brackets.
Scott Rifenbark [Tue, 15 Mar 2011 23:33:16 +0000 (17:33 -0600)]
documentation/adt-manual/adt-eclipse.xml: Specified qemu options outside of brackets.

Section 4.1.3.4 discusses custom options for when you want to run
a QEMU image.  Jessica felt that we needed to stress the fact that
the options "serial", "nographic", and "kvm" must all appear outside
of the angled brackets.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Removed Autotools plug-in requirement
Scott Rifenbark [Tue, 15 Mar 2011 23:26:53 +0000 (17:26 -0600)]
documentation/adt-manual/adt-eclipse.xml:  Removed Autotools plug-in requirement

Section 4.1.2 lists plug-ins that need to be installed prior to installing
the Yocto Plug-in for Eclipse.  I removed the Autotools plug-in
requirement per Jessica Zhang's instructions.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-command.xml: Initial draft of command line chapter
Scott Rifenbark [Tue, 15 Mar 2011 23:15:49 +0000 (17:15 -0600)]
documentation/adt-manual/adt-command.xml:  Initial draft of command line chapter

This is the initial draft of the Using the Command Line chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Initial draft for Eclipse chapter.
Scott Rifenbark [Tue, 15 Mar 2011 21:41:35 +0000 (15:41 -0600)]
documentation/adt-manual/adt-eclipse.xml:  Initial draft for Eclipse chapter.

This is the initial draft of the Eclipse chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-package.xml: Initial file
Scott Rifenbark [Tue, 15 Mar 2011 14:08:29 +0000 (08:08 -0600)]
documentation/adt-manual/adt-package.xml:  Initial file

This file is the initial XML file for the chapter on optionally
customizing the development packages installation.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>