Bitbake ======= BitBake is a generic task execution engine that allows shell and Python tasks to be run efficiently and in parallel while working within complex inter-task dependency constraints. One of BitBake's main users, OpenEmbedded, takes this core and builds embedded Linux software stacks using a task-oriented approach. For information about Bitbake, see the OpenEmbedded website: http://www.openembedded.org/ Bitbake plain documentation can be found under the doc directory or its integrated html version at the Yocto Project website: http://yoctoproject.org/documentation Contributing ------------ Please refer to http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded for guidelines on how to submit patches, just note that the latter documentation is intended for OpenEmbedded (and its core) not bitbake patches ([email protected]) but in general main guidelines apply. Once the commit(s) have been created, the way to send the patch is through git-send-email. For example, to send the last commit (HEAD) on current branch, type: git send-email -M -1 --to [email protected] Mailing list: http://lists.openembedded.org/mailman/listinfo/bitbake-devel Source code: http://git.openembedded.org/bitbake/
bitbake tool
Overview
Comments
-
Preferred version sort
I found a problem where using "%" in the PREFERRED_VERSION field sometimes product unexpected behavior. I expected this to always find the latest version of the package in the "%" range, but this did not always happen. So, to improve this, I added this code to ensure that the "%" range consistently found the latest version that matched the search criteria.
-
lib: Fix not selecting the newest version from the versions that match the wildcard-preferred version
Same issue can be found here: https://patchwork.openembedded.org/patch/108877/
Quote:
I have two recipes within a single layer:
stblinux_3.14-1.7.bb stblinux_3.14-1.8.bb
If PREFERRED_VERSION_stblinux is set to "3.14%", then I would expect the version 3.14-1.8 recipe to be selected, however 3.14-1.7 gets selected instead.
Reversing the order of files stored in pkg_pn[pn] seems to help. Is it a reasonable solution?
I took a different way to solve the issue so that there should be no side effects.
-
Use `BUILDDIR` variable to locate 'conf' directory
Use Open Embedded environment variable
BUILDDIR
(if set) to extend the search path and locate f.e.bblayers.conf
even if current workingdirectory is outside of
build
directory.There might be a reason why this is a bad idea; I originally only wanted to start a discussion if this could be changed the way I did. I never really could figure out why the current working directory must be within the build directory (for Yocto or Open Embedded sourcing
oe-init-build-env
should be enough in my opinion) but I only started using it a few weeks ago... Is there a reason why issue-tracking is disabled and could you add someREADME
file to point out how to contribute o this project and where to file issues (or send me a short e-Mail with this information and I write it down...). -
Fix DocBook Issues in Documentation
I found several issues in the documentation. The following bugs are fixed with this pull request:
Bugfixes
-
Fixed a mixture of DocBook 4 and DocBook 5. You don't need the DocBook 5 namespace inside DB4 documents
-
Used throughout the document version 4.5. This is the latest release and there is no reason to use the very old 4.2 anymore. Version 4.5 is backward compatible with 4.2.
-
Moved XInclude namespace from root element into the
xi:include
element itself. Avoids validation errors. -
Added several missing
para
elements insidenote
andtip
elements. You can't start text withnote
, you always need apara
element. -
Checked validation with the following command:
$ xmllint --noout --xinclude --postvalid doc/bitbake-user-manual/bitbake-user-manual.xml
Recommendations
I would recommend several other things which is not covered with this pull request (as it may be further discussion):
- Use
screen
orprogramlisting
instead ofliterallayout
. The latter is more useful for lyrics instead of text for computer inputs and outputs. - Don't indent the content of
literallayout
. This is a bad idea as indendation can be added by stylesheets. Always start at column one. - Don't mix block element and inline elements. The
para
element should only contain text and inline elements (like filename or links). Block elements like lists, admonitions, etc. should be placed outside ofpara
. - Use
option
for options. :grin: - Always(!) validate your document with the above command to avoid any rendering issues.
Have fun!
-
-
work around npm projects containing @-characters
While trying to cross-compile a few nodejs projects devtool broke badly when encountering projects with @-signs in the project name. This work-around solved it for me, at least - devtool broke badly when pulling in a long number of npm-dependencies, the cause was this project:
devtool add "npm://registry.npmjs.org;name=@types/sleep;version=0.0.7"
-
bitbake-user-manual: Addeds support for the repo Fetcher
Added a new repo Fetcher section in the same spirit as the existing sections for other supported fetchers. Changes included the new section, removal of the bulleted item that mentioned this fetcher as an "additional" fetcher, and the creation of a new variable in the glossary named REPODIR.
Signed-off-by: Nicolas Cornu [email protected]
-
Fix localfile name if labels are used
I could apply the label "release_1.0" to a super project that contains many sub projects. If my recipes have SRC_URI's that use that label but grab different sub-folders, than there's a bug where the cached localfile (tar.gz) will not be unique and reused at the wrong times.
SRC_URI = "p4://perforce::1234@//depot/SuperProject/MiniProjectAAA/...;label=release_1.0
p4://perforce::1234@//depot/SuperProject/MiniProjectBBB/...;label=release_1.0" -
LineFilterProgressHandler: fix parsing line which ends with CR only
This change fixes the problem with output which ends only with '\r' instead of "\r\n" or "\n". Such case I found for S3 fetcher and its aws-cli output for "cp" command: https://github.com/aws/aws-cli/blob/develop/awscli/customizations/s3/results.py#L520
-
Add retry in runfetchcmd, in case network unstable
when network is unstable, bitbake do_fetch will throw an error and stop the whole project building, it will waste a lot of time when the network is bad, so add retry mechanism in runfetchcmd to make project building more stable.
SCons - a software construction tool
SCons - a software construction tool Welcome to the SCons development tree. The real purpose of this tree is to package SCons for production distribut
task management & automation tool
README doit - automation tool doit comes from the idea of bringing the power of build-tools to execute any kind of task Sample Code Define functions r
Buildout is a deployment automation tool written in and extended with Python
Buildout Buildout is a project designed to solve 2 problems: Application-centric assembly and deployment Assembly runs the gamut from stitching togeth
🔨🐍Make-like build automation tool for Python projects with extensive DSL features.
Pyke (WIP, Beta Release) Make-like build automation tool for Python projects with extensive DSL features. Features: Users can specify tasks, subtasks,
This is a simple tool for bootstrapping Chimera systems from binaries. For source builds, you want cports.
chimera-bootstrap This is a simple tool for bootstrapping Chimera systems from binaries. For source builds, you want cports. Simple usage: $ # run as
A Star Trek Online build tool in Python
SETS - STO Equipment and Trait Selector A Star Trek Online build tool in Python Description Pre-alpha version of build tool for STO Getting Started De
An Embedded Linux Project Build and Compile Tool -- An Bitbake UI Extension
Dianshao - An Embedded Linux Project Build and Compile Tool
A tool to flash .ofp files in bootloader mode without needing MSM Tool, an alternative to official realme tool
Oppo/Realme Flash .OFP File on Bootloader A tool to flash .ofp files in bootloader mode without needing MSM Tool, an alternative to official realme to
The tool under this branch fork can be used to crack devices above A12 and up to A15. After cracking, you can also use SSH channel strong opening tool to open SSH channel and activate it with Demo or Shell script. The file can be extracted from my Github homepage, and the SSH channel opening tool can be extracted from Dr238 account.
Welcome to C0xy-A12-A15-Attack-Tool The tool under this branch fork can be used to crack devices above A12 and up to A15. After cracking, you can also
We’re releasing an open-source tool you can use now, which we developed as a homemade Just-In-Time database access control tool for our sensitive database. This tool syncs with our directory service, slack, SIEM, and finally, our Apache Cassandra database.
Cassandra Access Control By Aner Izraeli - Intezer Security Manager ([email protected]) We’re releasing an open-source tool you can use now, which
Colibri core is an NLP tool as well as a C++ and Python library for working with basic linguistic constructions such as n-grams and skipgrams (i.e patterns with one or more gaps, either of fixed or dynamic size) in a quick and memory-efficient way. At the core is the tool ``colibri-patternmodeller`` whi ch allows you to build, view, manipulate and query pattern models.
Colibri Core by Maarten van Gompel, [email protected], Radboud University Nijmegen Licensed under GPLv3 (See http://www.gnu.org/licenses/gpl-3.0.html
Vulnerability Scanner & Auto Exploiter You can use this tool to check the security by finding the vulnerability in your website or you can use this tool to Get Shells
About create a target list or select one target, scans then exploits, done! Vulnnr is a Vulnerability Scanner & Auto Exploiter You can use this tool t
Lazymux is a tool installer that is specially made for termux user which provides a lot of tool mainly used tools in termux and its easy to use
Lazymux is a tool installer that is specially made for termux user which provides a lot of tool mainly used tools in termux and its easy to use, Lazymux install any of the given tools provided by it from itself with just one click, and its often get updated.
Shortcut-Maker - It is a tool that can be set to run any tool with a single command
Shortcut-Maker It is a tool that can be set to run any tool with a single command Coded by Dave Smith(Owner of Sl Cyber Warriors) Command list ?? pkg
Fuzzing tool (TFuzz): a fuzzing tool based on program transformation
T-Fuzz T-Fuzz consists of 2 components: Fuzzing tool (TFuzz): a fuzzing tool based on program transformation Crash Analyzer (CrashAnalyzer): a tool th
ONYX SMTP Sender est un tool qui vous serviras à envoyer des email html à une liste d'email (en .txt) c'est la première version du tool et je le sors un peu à la rache donc si le logiciel est obsolète c'est normal j'y taff encore ;)
SMTP-Sender ONYX SMTP Sender est un tool qui vous serviras à envoyer des email html à une liste d'email (en .txt) c'est la première version du tool et
All in One CRACKER911181's Tool. This Tool For Hacking and Pentesting. 🎭
All in One CRACKER911181's Tool. This Tool For Hacking and Pentesting. ??
Tool to get the top 100 of the fastest nodes in the Tor network. Based on Kirzahk tool.
Tor Network Top 100 IPs Tool to get the top 100 of the fastest nodes in the Tor network. Based on Kirzahk tool. Just execute top100ipstor.py to get th
Facebook account cloning/hacking advanced tool + dictionary attack added | Facebook automation tool
loggef Facebook automation tool, Facebook account hacking and cloning advanced tool + dictionary attack added Warning Use this tool for educational pu
Pebble is a stat's visualization tool, this will provide a skeleton to develop a monitoring tool.
Pebble is a stat's visualization tool, this will provide a skeleton to develop a monitoring tool.