Age | Commit message (Collapse) | Author | Files |
|
* host objdump can support multiple targets and instead of output it shows list of targets to choose from
see http://thread.gmane.org/gmane.comp.handhelds.openembedded/33294/focus=33357
* PATH set in cmd as suggested by kergoth
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Currently with srctree, we get errors like the following:
| + srcuri=
| + '[' '' == '' ']'
| + srcuri=OpenEmbedded
| + echo 'Source: '
| ++ find /scratch/oe/oe-build/oe/build/angstrom-2008.1/tmp/work/armv5te-angstrom-linux-gnueabi/autotools-demo-1.0-28-g3a96627-r0/staging-pkg '(' -name '*.la' -o -name '*-config' ')' -type f
| + stage-manager-ipkg-build -o 0 -g 0 /scratch/oe/oe-build/oe/build/angstrom-2008.1/tmp/work/armv5te-angstrom-linux-gnueabi/autotools-demo-1.0-28-g3a96627-r0/staging-pkg /scratch/oe/oe-build/oe/build/angstrom-2008.1/tmp/pstage/angstromglibc
| *** Error: CONTROL/control is missing field Source
| The Source field contain the URL's or filenames of the source code and any patches
| used to build this package. Either gnu-style tarballs or Debian source packages
| are acceptable. Relative filenames may be used if they are distributed in the same
| directory as the .ipk file.
|
| ipkg-build: Please fix the above errors and try again.
| ERROR: Function staging_packager failed
NOTE: package autotools-demo-1.0-28-g3a96627-r0: task do_package_stage: Failed
ERROR: TaskFailed event exception, aborting
This patch fixes that issue.
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Acked-by: Khem Raj <raj.khem@gmail.com
|
|
package_update_index_ipk
We add a lockfile of do_populate_sdk and do_rootfs (in rootfs_ipk) that is also
the lockfile that package_update_index_ipk uses. With enough threads it is
possible that one image (or meta-toolchain) is attempting to use the package
index while another has only reached the point of generating the index leading
to an empty index being seen later on.
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
* Add a note if this file does not exist. The reason is that gettext can
needs libiconv and libiconv needs gettext so we need to solve this
catch 22
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
multiple times
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
The installation of toolchains in /cross/ has changed a bit, resulting
in failures of icecc.bbclass to find necessary files (libstdc++.so, g++, etc.)
Fix that by pointing the class file to libstdc++ in staging and corrent name
of target g++.
Also correct the name of kernel toolchain tarball.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
|
|
* ie xfce-base/libxfce4util_4.6.1.bb cannot find it's checksums anymore
* commit e3df76459f7710af61d1b51066e0685c822dbe7b introduced
name=archive in xfce46.bbclass without adding archive name to all
recipes using xfce46
* I agree that in case someone will need additional SRC_URI item in
recipe inheriting xfce46 he will have to add it to this bbclass AND
update all recipes using it.
* Feel free to fix it the other way around if you expect more
SRC_URIs/recipe.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This reverts commit 7cb990de933f22331cd701ecb45d1e30dd8f3c11.
|
|
This reverts commit eb8ad2af3a59dc7b4c64814815fc13977efaec6b.
|
|
This patch replaces a complicated if statement with a more simple
code.
Slightly altered to use oe.utils -kergoth
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
After the recent change to autodetect patchfiles in SRC_URI's, files
with 'apply=no' were not copied to workdir anymore. This broke e.g.
dropbear which marks a patch as 'apply=no' and applies it manually.
This patch evaluates content of 'apply' parameter and copies files to
workdir when it is not a patch or the parameter is false.
Slightly altered to use oe.utils -kergoth
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Old find statement failed with something like
$ find . \( -name XXX\)
find: invalid expression; I was expecting to find a ')' somewhere but did not see one.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: Chris Larson <clarson@kergoth.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
application failures
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
user root itself.
* With shadow now running pwconv after commit 7c5f81b2139e55622ca2f23ff6b63438d4825d87
It converts :*: passwd entry into equivalent /etc/shadow entry :*:
which in shadow means disable the account as per
http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/shadow-file-formats.html
As a result root can not login unless one boots into shell and then
resets the password.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <clarson@kergoth.com>
|
|
For .diff/.patch you need to apply manually, you can specify apply=no.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
I think this makes the behavior rather more clear.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
Per discussion with Enrico Scholz, there are better ways to debug problems
than this, so drop it, making it more consistent with oe_runmake and ensuring
we don't see problems with spaces in arguments.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
While this deviates from ordinary BBPATH/FILESPATH behavior by bitbake and
OpenEmbedded, amend.inc is a special case. It's highly unintuitive for
someone to create, say, files/busybox/amend.inc relative to TOPDIR, with
${TOPDIR}/files in FILESPATHBASE, and suddenly things break, because that
amend.inc overrides one in an overlay.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Acked-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
This is a long demanded change. The u-boot-mkimage is up to date to OE standards, while the openmoko one is not
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Phil Blundell <philb@gnu.org>
|
|
* without this bitbake meta-toolchain fails because it doesn't find who
provides gdb-cross-sdk
* found thanks to a hint from Phil Blundell on IRC
* tested with Angstrom/ARMv5te
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
to cross libstdc++.la
|
|
NATIVE_INSTALL_WORKS = "1" takes care
|
|
|
|
KERNEL_MAJOR_VERSION may not be set (for example when building a module)
and this was preventing modules from being stripped.
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
- in staging.bb : sysroot_stage_dir does : cp -fpPR "$src"/* "$dest"
which means it won't copy .config
- so do the copy of .config in sysroot_stage_all_append after
sysroot_stage_dir
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
first pass
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Fixes module-init-tools-cross on DISTRO=minimal MACHINE=mpc8315e-rdb
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
mangling for problematic cross paths
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Includes an important change to the prepackage_lamangler method which changes
which directories we fix la files in to operate with the new directory layout.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
It's possible to have files in our sysroot which don't have the write (or in
some cases even the read) bit set. Test for these and if they are not set
temporarily set them so that we can chrpath the binaries.
Also remove following of symlinks because if it links to a file created by the
package install we already handle it when we process the sysroot.
Further, by ignoring symlinks here we don't cause a build to fail when the
symlink is to somewhere in the host OS.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
target packages
Amend the default PSTAGE_SCAN_CMD, as used when scanning target packages, to
include binconfig scripts in the results and remove their hardcoded paths.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
This patch adds a check to insane to ensure that gettext exists in the
dependancy list when it is used in the configure.[ac|in]
Further we enhance the gettext class to enable easy addition of the required
gettext dependancies by inheriting the gettext class.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
This class helps make packages relocatable by post-processing the binaries and
using chrpath to set the RPATH relative to $ORIGIN.
Patch also enables this post-processing for native packages and adds chrpath to
the required utilties.
Based on ideas from a patch from Tom Rini <tom_rini@mentor.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Firstly adds tooling from Poky to scan packages and fix up paths in libtool
files, we then build on this to further post-process native packages (native,
cross, sdk) and fix up any references to the STAGING_DIR in non-binary files.
Secondly adds support for fetching packaged staging packages from a mirror by
setting PSTAGE_MIRROR to point to the root of a pstaging directory.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
populate_staging task to populate_sysroot
This change, pulled from Poky, makes the purpose of the staging directory more
obvious and the taskname more true to what it now actually does.
The layout version number is increased due to the change in layout but code to
convert existing directories and insert a symlink for backwards compatibility
is included.
This patch also includes fixes for all recipes which reference the directory.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Patch from Poky fixes fallout from recent packaged-staging fix for cross
packages.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
* Only add the postinstall script header if an existing postinstall isn't set
* Remove the unneeded python import
* Fix the indentation in the postinstall function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
change default staging functions to non-legacy mode
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
class. Cross recipes need these in general (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
use_do_install_for_stage special staging hint (from poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|