Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/Makefile.package.in: Added BZR download support
Date: Sun, 26 Dec 2010 10:21:55 +0100	[thread overview]
Message-ID: <20101226102155.04f7171f@surf> (raw)
In-Reply-To: <878vzdpjt8.fsf@macbook.be.48ers.dk>

On Sat, 25 Dec 2010 23:30:11 +0100
Peter Korsgaard <jacmet@uclibc.org> wrote:

>  Thomas> +define DOWNLOAD_BZR
>  Thomas> +	test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
>  Thomas> +	$(BZR) export $(DL_DIR)/$($(PKG)_SOURCE) $($(PKG)_SITE) -r $($(PKG)_DL_VERSION)
> 
> Shouldn't this make a tarball like the git/svn versions do?

I was also a little bit surprised, but bzr export creates a tarball
automatically.

I have tested those two patches by creating a simple package that gets
its source from BZR, and it worked properly (tarball created in
$(DL_DIR), and re-used at the next build).

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2010-12-26  9:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24 17:07 [Buildroot] [pull request] Pull request for branch for-2011.02/dl-tools Thomas Petazzoni
2010-12-24 17:07 ` [Buildroot] [PATCH 1/2] package/Makefile.package.in: Added BZR download support Thomas Petazzoni
2010-12-25 22:30   ` Peter Korsgaard
2010-12-25 23:25     ` Daniel Nyström
2010-12-26  9:21     ` Thomas Petazzoni [this message]
2010-12-27 20:33       ` Peter Korsgaard
2010-12-24 17:07 ` [Buildroot] [PATCH 2/2] infrastructure: only require download tools when needed Thomas Petazzoni
2010-12-27 20:34 ` [Buildroot] [pull request] Pull request for branch for-2011.02/dl-tools Peter Korsgaard

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=20101226102155.04f7171f@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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