All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cooper Jr., Franklin" <fcooper@ti.com>
To: "Dmytriyenko, Denys" <denys@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCH 3/6 v2] board-port-labs-linux: Create new recipe using new sourceipk.bbclass feature
Date: Thu, 5 Sep 2013 00:36:17 +0000	[thread overview]
Message-ID: <B2FFF03E-7DF3-4CCF-8969-7C7A097F624B@ti.com> (raw)
In-Reply-To: <20130904224738.GC25135@edge>



On Sep 4, 2013, at 5:47 PM, "Dmytriyenko, Denys" <denys@ti.com> wrote:

> Can we do away w/o using AUTOREV here? How often do you change the content in 
> those repos? Would it be too much hassle to keep updating the recipe with the 
> new SRCREV for every new (AM-)SDK release?
> 
Repo won't change often so that is fine with me.
> -- 
> Denys
> 
> On Tue, Aug 27, 2013 at 02:51:29PM -0500, Franklin S. Cooper Jr wrote:
>> * Do to the inability to keep the git repository intact the board port labs
>>  recipe manually ran git clone which took a long time every time the recipe was
>>  built.
>> * Using the new SRCIPK_PRESERVED_GIT feature in sourceipk.bbclass the recipes can
>>  now be treated like any other recipe and allow OE to handle the cloning and
>>  unpacking.
>> * This will significantly shorten the amount of time required to rebuild this
>>  recipe.
>> 
>> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
>> ---
>> Changes Version 2:
>> Split recipe into its own patch.
>> Also use the kernel's license.
>> 
>> .../board-port-labs/board-port-labs-linux_git.bb   |   35 ++++++++++++++++++++
>> 1 files changed, 35 insertions(+), 0 deletions(-)
>> create mode 100644 meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb
>> 
>> diff --git a/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb b/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb
>> new file mode 100644
>> index 0000000..711e3a8
>> --- /dev/null
>> +++ b/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb
>> @@ -0,0 +1,35 @@
>> +DESCRIPTION = "Git repositories containing sample board port code"
>> +HOMEPAGE = "https://gitorious.org/sitara-board-port"
>> +
>> +LICENSE = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>> +
>> +inherit allarch
>> +
>> +CREATE_SRCIPK = "1"
>> +SRCIPK_INSTALL_DIR = "board-support/board-port-labs/sitara-board-port-linux"
>> +SRCIPK_PRESERVE_GIT = "true"
>> +
>> +PR = "r0"
>> +
>> +BRANCH = "master"
>> +SRC_URI = "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git;protocol=git;branch=${BRANCH}"
>> +
>> +SRCREV = "${AUTOREV}"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +adjust_git_prepend() {
>> +
>> +    # Checkout a specific branch instead of a commit that is used by default
>> +    git checkout ${BRANCH}
>> +}
>> +
>> +do_configure() {
>> +    :
>> +}
>> +
>> +do_compile() {
>> +    :
>> +}
>> +
>> -- 
>> 1.7.0.4
>> 
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2013-09-05  0:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 19:51 [PATCH 1/6 v2] gst-plugins-bad: Use new PACKAGECONFIG feature Franklin S. Cooper Jr
2013-08-27 19:51 ` [PATCH 2/6 v2] sourceipk: Add ability to preserve Git repository Franklin S. Cooper Jr
2013-08-30 15:05   ` Maupin, Chase
2013-08-27 19:51 ` [PATCH 3/6 v2] board-port-labs-linux: Create new recipe using new sourceipk.bbclass feature Franklin S. Cooper Jr
2013-08-30 15:05   ` Maupin, Chase
2013-09-04 22:47   ` Denys Dmytriyenko
2013-09-05  0:36     ` Cooper Jr., Franklin [this message]
2013-08-27 19:51 ` [PATCH 4/6 v2] board-port-labs-u-boot: " Franklin S. Cooper Jr
2013-08-30 15:06   ` Maupin, Chase
2013-08-27 19:51 ` [PATCH 5/6 v2] packagegroup-arago-tisdk-amsdk-sdk-host: Use new board-port-labs recipe Franklin S. Cooper Jr
2013-08-30 15:06   ` Maupin, Chase
2013-08-27 19:51 ` [PATCH 6/6] board-port-labs: Remove old " Franklin S. Cooper Jr
2013-08-30 15:06   ` Maupin, Chase
2013-08-30 15:03 ` [PATCH 1/6 v2] gst-plugins-bad: Use new PACKAGECONFIG feature Maupin, Chase
2013-08-30 15:44   ` Cooper Jr., Franklin
2013-09-03 17:31     ` Denys Dmytriyenko

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=B2FFF03E-7DF3-4CCF-8969-7C7A097F624B@ti.com \
    --to=fcooper@ti.com \
    --cc=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.