Age | Commit message (Collapse) | Author | Files |
|
When we start including methodpool funcs in the metadata, these blow up, since
the _prepend gets evaluated at finalize time.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
On some host distributions the provided linux kernel headers are too old to
compile utilities we need. Given that we need these utilities to run things on
the target the best solution is to provide linux-libc-headers-native. Rather
than get things into an inconsistent state, we make linux-libc-headers-native
be a default dependency.
Acked-by: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This reverts commit eb8ad2af3a59dc7b4c64814815fc13977efaec6b.
|
|
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>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.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>
|
|
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>
|
|
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.
|
|
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>
|
|
* 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>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
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>
|
|
In commit 89b7e433719f43f1c36c76cb8856d559014e99bc metadata_scm.bbclass
functions were factored out from base.bbclass, but the new file was not
included.
This prevented METADATA_SCM, METADATA_REVISION, METADATA_BRANCH to be
set; for instance this caused oestats-client stop working.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Provides oe_popen, which is a subprocess.Popen wrapper that automatically
provides our exported variables in the environment, including the PATH, and
oe_system, which is just a wrapper that acts like system.
Signed-off-by: Chris Larson <clarson@mvista.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
|
|
URLs (from Poky)
|
|
* ETCDIR instead SYSCONFDIR, because there already was STAGING_ETCDIR_NATIVE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
Move the logic to determine what qemu-TARGET to run into qemu.bbclass so
we can check for the right binary in sanity.bbclass. This code was
duplicated by glibc-package and eglibc-package anyhow and with the new fn
we can clean up the usage in these classes a bit. Now that we have a class
for qemu stuff, and the gcc check is just for qemu, move it there.
|
|
Perform qemu-related checks not based on if we're ARM but based on if
we'll be using qemu for binary locale generation. Clarify what the
first of these sanity checks does. Next, change the check for a
provided qemu binary to be generic enough to work on all arches (and catch
distribution or user built versions of qemu). While we're in here, correct
the gcc version check code in base.bbclass.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
need work
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
|
|
commands"
Back this out for the time being, things are exploding now.
This reverts commit df32920678d15c86897b50b752b937210a01edea.
|
|
Patch courtesy the Poky project.
Signed-off-by: Chris Larson <clarson@mvista.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Acked-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
When using base_contains() to check for a string in a variable for a,
if the variable is not defined an exception occurs. By checking the
existance of the variable and returning false if it isn't there,
a value can be checked for a variable regardless of whether or not it
is defined.
Signed-off-by: Brian Pomerantz <bapper@mvista.com>
Signed-off-by: Chris Larson <clarson@mvista.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
|
|
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Frans meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
|
|
|
|
too late. Also allow legacy staging to be forced with FORCE_LEGACY_STAGING
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
after staging upgrades
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
base_prune_suffix() function from Poky and extend the number of special suffixes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
fix a typo
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
based on the data from the do_install step (from Poky). This falls back to any standard do_stage function if defined, see the mailing list for more info.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
lock file (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|