From: Christopher Larson <kergoth@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Subject: [PATCH 0/3] recipetool: add appendsrcfile(s) sub-commands
Date: Wed, 24 Jun 2015 15:17:22 -0700 [thread overview]
Message-ID: <cover.1435183929.git.kergoth@gmail.com> (raw)
This adds the `appendsrcfile` and `appendsrcfiles` sub-commands, which let the
user add or replace one or more files in the recipe sources, either in a path
relative to `S` or `WORKDIR`. Each file gets added to `SRC_URI` as a file://
URI, using the subdir= parameter to specify the destination directory.
Examples:
# Adds our defconfig as file://defconfig. If it's already in SRC_URI, it
# won't be duplicated.
recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig
recipetool appendsrcfiles --workdir meta-mylayer linux-mel defconfig
# Does the same, handling the different local filename
recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig.mine defconfig
# Adds our device tree files to the source tree
recipetool appendsrcfiles --destdir arch/arm/boot/dts meta-mylayer linux-mel *.dts
Of course, for the latter example to be of use, the new dts files would need
to be added to `KERNEL_DEVICETREE` as well, and depending on the kernel,
`DEFCONFIG` or `KERNEL_DEFCONFIG` may need to be set.
The following changes since commit 2587b83faabdc8858e8746201805369ed8d53ba8:
wpa-supplicant: Revert "Make SystemD D-Bus config conditional" (2015-06-24 14:03:25 +0100)
are available in the git repository at:
git@github.com:kergoth/openembedded-core recipetool-appendsrc
for you to fetch changes up to 375bea6b623a20b529a2d26c226c55785a21f9e8:
recipetool: add appendsrcfile(s) sub-commands (2015-06-24 15:10:55 -0700)
----------------------------------------------------------------
Christopher Larson (3):
oe.recipeutils: fix line.split error in bbappend_recipe
recipetool.append: use argparse types for validation
recipetool: add appendsrcfile(s) sub-commands
meta/lib/oe/recipeutils.py | 2 +-
scripts/lib/recipetool/append.py | 147 +++++++++++++++++++++++++++++++++------
2 files changed, 126 insertions(+), 23 deletions(-)
--
2.2.1
next reply other threads:[~2015-06-24 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 22:17 Christopher Larson [this message]
2015-06-24 22:17 ` [PATCH 1/3] oe.recipeutils: fix line.split error in bbappend_recipe Christopher Larson
2015-06-24 22:17 ` [PATCH 2/3] recipetool.append: use argparse types for validation Christopher Larson
2015-06-24 22:17 ` [PATCH 3/3] recipetool: add appendsrcfile(s) sub-commands Christopher Larson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1435183929.git.kergoth@gmail.com \
--to=kergoth@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox