Age | Commit message (Collapse) | Author |
|
The issue was that PACKAGE_INSTALL* get debian package renaming applied, but
this renaming is outside of bitbake's knowledge. Making RDEPENDS use
PACKAGE_INSTALL, therefore, caused problems when adding libraries to images
directly rather than indirectly.
While I'm at it, change it to ensure PACKAGE_INSTALL_ATTEMPTONLY packages
also end up in RDEPENDS, not renamed.
Reported-by: Tasslehoff Kjappfot <tasskjapp@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* introspection doesn't work in a cross environment
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
If the tag starts with 'v' followed by a number, drop the 'v' prefix. This
will not be done for you if you customize GIT_TAGADJUST.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Example usage:
GIT_TAGADJUST = "version[1:]"
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Also update gitver to use the subprocess wrappers
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
search path.
* This was done generically in bitbake.conf this should be done on
demand and distutils based recipes seem to need it. So we define it
here.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
Use shutil.copytree() to copy D ("image") to PKGD ("package"). The
previous system("cp %s/* ...") missed dotfiles/dirs at the top-level.
Signed-off-by: Michael Smith <msmith@cbnco.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
insane.bbclass
Signed-off-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Graeme Gregory <dp@xora.org.uk>
|
|
This allows recipes to insert a custom task in between building *Image and modules
Signed-off-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Graeme Gregory <dp@xora.org.uk>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
|
|
not done for libtool > 2.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
|
|
* autotools_prepackage_lamangler is not needed with libtool 2.4+
* add --with-sysroot when using libtool 2.4+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
|
|
These allow one to include debugging, development, and documentation files for
all packages installed in the image, via IMAGE_FEATURES.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
IMAGE_FEATURES, as with the other _FEATURES variables, is a space separated
list of words which identify pieces of functionality to be included /
supported. Currently, any defined package group may be included (see the
oe.packagegroup python module).
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
It doesn't need to be exported, as the rootfs classes use the bitbake variable
directly, not the shell variable created from it.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
They aren't a special case, no reason to handle them that way, as we can
leverage overrides.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Don't Repeat Yourself.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Runs runtime_mapping_rename against PACKAGE_INSTALL_ATTEMPTONLY, which has
packages we'd like to install, but which are optional.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This includes some utility functions for dealing with groups of packages
defined in the metadata. Metadata syntax:
PACKAGE_GROUP_<group> = "<list of packages>"
If the packages in the group are optional:
PACKAGE_GROUP_<group>[optional] = "1"
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This function obtains a list of files to be included in a package, using the
globs in FILES_<pkg> and the files installed in ${D}. Currently, the only
user is package_dbg, but I can see this being useful in package.bbclass as
well.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
find is simply an os.walk in generator form, yielding the absolute path to
each file.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Image recipes don't emit packages, so it doesn't make any sense to make the
RDEPENDS package specific.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
|
|
Drop the runtime dependencies / recommendations unless the recipe is for the
target. This is necessary because right now bitbake obeys *_${PN}, even if
${PN} is not in PACKAGES. This should kill the unnecessary build of the
crosscompiler when doing 'bitbake gtk+-native'.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
The files in the .pc directory won't have anything useful in them and are
often unreadable so lets just skip them.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
commit b6cc4bc217e695801db060a1366915a870cab5db moved work
from kernel_do_install to sysroot_stage_all_append
This change changed kerneldir and staged directy from
${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR}. This works fine but
the patch removed the line kerneldir=${D}/kernel/
from do_install.
However, some kernel recipes have a do_install_append which
references ${kerneldir}.
This patch adds setting kerneldir to the end of do_install
so the value is available for everyone who appends
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
We want to get zoneinfo from the tzdata package.
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
copy the files directly from the work area to staging. That way
there are no unpackaged files in image/ so no NOTE messages.
Additional advantage is that it is faster as we save the copy to the image dir.
See also http://thread.gmane.org/gmane.comp.handhelds.openembedded/37487
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
Tested-by: Petr Stetiar <ynezz@true.cz>
Acked-by: Eric Benard <eric@eukrea.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Tested-by: Paul Menzel <paulepanter@users.sourceforge.net>
|
|
This reverts commit 9a5382aad4e5a3e52fa52722cf5587fdba958e9f.
This one accidentally also dragged in classes/kernel.bbclass
I will redo the commit for wpa-supplicant later.
classes/kernel.bbclass will be se a separate commit
Thanks for Paul Menzel for spotting this
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
libdir to be something else than '/lib'
* Add base_libdir_native as target libdir could be different e.g. lib32
lib64
* Dont assume lib to be system libdir during packaging.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
bb.fetch.urldata contains cached SRC_URIs, but in case SRC_URI is altered by
amend.inc or machine override, the original SRC_URI is not removed from the
cache, leading to calling do_unpack() multiple times on original and modified
versions of the file. Don't rely on bb.fetch.urldata and traverse SRC_URIs
directly.
Some background and details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/36703
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|