Age | Commit message (Collapse) | Author | Files |
|
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>
|
|
Because 'intltoolize' checks whether aclocal.m4 contains a recent copy
of 'intltool.m4' and it will fail when the found version is too old,
'aclocal' must be called before 'intltoolize'.
I built projects it with intltool-0.40.6-r3, autoconf-2.65-r9,
automake-1.11.1-r3 and gettext-0.17-r6 successfully with this change but
it will require probably tests with older versions.
This patch is a requirement for
http://patchwork.openembedded.org/patch/1858/ because 'autopoint' from
the 'aclocal' call will override 'intltool' files and build will fail
then.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Acked-by: Roman I Khimov <khimov@altell.ru>
|
|
- bitbake linux for a x86 machine fails with the following message :
cp: target `.../image/kernel//include/asm-x86/' is not a directory
so create $kerneldir/include/asm-x86 before trying to copy something in
this directory.
- make headers_install fails because of missing directories in include
(tested with linux 2.6.32 and 2.6.33 on x86) and missing Kbuild
Signed-off-by: Eric Benard <eric@eukrea.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
tokenize the function
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* in some combination of IMAGE_LINGUAS installed packages and available translations it's normal to get empty intersection in pending-locale-packages
* don't call opkg install in this case, because it will fail
|
|
Right now when the 'devices' script from initscripts is called the
layout specified in IMAGE_DEVICES_TABLES is lost.
With this change the default behaviour when no IMAGE_DEVICE_TABLES is
specified is to always use files/device_table-minimal.txt
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
files
We can finally inherit autotools now and remove legacy staging
|
|
.vapi and .deps instead of using do_stage()"
* This reverts commit a38e7ff2810e55455c7ff7b01d4882344b420e18.
* It was discussed on oe-devel ML and ACKed by Mickey
* Side effect of this was also: Everything rebuilt after it cannot be
found when used later (NOTE: Couldn't find shared library provider for
libfso-glib.so.0) and it's dropped from package RDEPENDS.
|
|
.deps instead of using do_stage()
This allows to move most FSO packages to new staging
|
|
Revert "base.bbclass: unbork oe_unpack_file"
I give up. Will revisit later, after more testing, and after removing the
unnecessary glob usages in SRC_UR in the metadata.
This reverts commit 5c8bfd6873939024d57278343035cfab0257bdb3.
This reverts commit 757ec3d76d258c15828de2d85dd8ce9abb4c1323.
|
|
Originally approached with "package.bbclass: introduce KEEP_GNU_DEBUGLINK":
http://patchwork.openembedded.org/patch/886/
Redone with a change from INHIBIT_PACKAGE_STRIP to PACKAGE_STRIP which
allows more options. By default it does exactly the same thing as is done
today, strips the binary, but keeps the gnu.debuglink section. When set to
"no", stripping is not done at all, when set to "full" the gnu.debuglink
section is not re-added to the binary.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
I accidentally messed up the merge, sorry about that.
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Also makes the os, time, and bb package availability explicit.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
- Move the unpacking message printing into do_unpack
- Move the destination directory determination into do_unpack
- Use subprocess's ability to pass in PATH and cwd rather than mangling the cmd
- Use shutil.copy2/copytree for ordinary file "unpack"
- Use the existing urldata from bb.fetch.init rather than re-decodeurl'ing the urls
- Only display the unpack destdir to the user when debugging is enabled, as we
all know they unpack into WORKDIR
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
|
|
Based on df32920678d15c86897b50b752b937210a01edea.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Tested-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This can be useful for making invasive changes, to see if you inadvertantly broke something.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
http://cgit.openembedded.org/cgit.cgi/bitbake/commit/?h=1.10&id=11375c3f74511ce59ad5a625bfda4121a8714345
|
|
If the datastore has a 'hash' method, it will use that, otherwise it uses its
own implementation. Datastore hashing will be added to bitbake master at some
point, to prepare for the move away from stamps.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
|
|
|
|
Acked-by: Graeme Gregory <dp@xora.org.uk>
Acked-by: Philip Balister <philip@balister.org>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
breaks the build (from poky)
|
|
|
|
|
|
Doing a '-c clean' operation on a staged package with very much files
(e.g. glibc) took several minutes because
* every removed file was reported
* an 'rm' instance was spawned for every file
This patch uses the native 'os.unlink()' method for removing files and
reports only the removed root directory instead of the single files.
Based upon maillist discussion, reporting happens with 'debug' level
instead of 'note' one, and only error conditions due to non-existing
files will be ignored. Other (e.g. permission denied) errors will now
abort the build while they were silently ignored previously.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Acked-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Acked-by: Roman I Khimov <khimov@altell.ru>
|
|
Recipes are using update-rc.d to do postinst and postinst scripts are being
ran on build hosts where native version is needed to run properly. It is
needed only at image build stage, but it's easier to have it in DEPENDS,
build time for it is almost zero anyway.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
|
|
* show note, when there are checksums only in checksums.ini (prepare for
script for moving all to recipes)
* parse checksums.ini only when there is no checksum in recipe (could be
faster, but for more checked items in SRC_URI it is parsed repeatedly)
* if one checksum doesn't match then count and show both (md5 as well as
sha256) - usefull for copy&paste checksums for new recipe.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
There are scripts that can and should work when being ran on build
host (for example, simple update-rc.d), but there are also many which
can't and won't ever (for example, anything adding users/groups).
The second group sometimes doesn't get "unpacked" flag because
scripts throw errors in the middle and return something nice from
the last command.
It can be considered as a bug in pre/postinst script (as it should
either explicitly check for "${D}" or just do "set -e" at start),
but it is common enough.
There is also another aspect to this as in general we can't be sure
that everything is OK wrt preinst/postinst if script commands throw
errors.
Running preinst/postinst scripts on host with "-e" should solve
that.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Acked-by: Chris Larson <clarson@kergoth.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Vladimir Sorokin <sorokin@altell.ru>
Signed-off-by: Roman I Khimov <khimov@altell.ru>
|
|
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This changes insane.bbclass to use s.endswith("str") rather than s[-3:] ==
"str". The primary motivation for this is that we have tests that check for
'la' and 'pc' files when we really want '.la' and '.pc' to be what we check
for. Also, our -dev symlink test does if test1: if test2 and test3: action,
when it could just be if test1 and test2 and test3.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
|
|
|
|
|
|
|
|
from env
|
|
|
|
|
|
|
|
|
|
Based on work done by Matthew Dombroski.
We want to generate a toolchain file for cmake compilations. This
adds a task that is performed before the configure task.
Additional defines can be made in the toolchain file directly in
the recipe file by using a do_generate_toolchain_file_append().
This is especially interesting for recipes that need to define
values for additionnal libraries.
Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
|
|
The problem occured when unzip-native is not yet staged, and ZIP
archive unpacking already started resulting in failed do_unpack task.
Added NEED_UNZIP_FOR_UNPACK variable to use in recipes which do_unpack
with unzip utility but doesn't have '.zip' in SRC_URI (f.e. .EXE
windows self-extraction binaries).
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
This code has never been used, is only half complete and obsolete. If
anyone ever wnats to refer to it, its in the history but keeping
useless code ist just confusing so delete it.
Acked-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
|