All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 09/12] pkg-infra: don't use DL_DIR as scratchpad for temporary downloads
Date: Sun, 1 Jun 2014 21:51:10 +0200	[thread overview]
Message-ID: <20140601195110.GM3430@free.fr> (raw)
In-Reply-To: <6de658f7751ced3969fb11871c77f98fe9cdc097.1401644349.git.yann.morin.1998@free.fr>

All,

On 2014-06-01 19:40 +0200, Yann E. MORIN spake thusly:
[--SNIP--]
> diff --git a/support/download/bzr b/support/download/bzr
> index 68121f4..4be36a0 100755
> --- a/support/download/bzr
> +++ b/support/download/bzr
> @@ -9,11 +9,29 @@ set -e
>  #   $2: bzr revision
>  #   $3: output file
>  # And this environment:
> -#   BZR       : the bzr command to call
> -#   BR2_DL_DIR: path to Buildroot's download dir
> +#   BZR      : the bzr command to call
> +#   BUILD_DIR: path to Buildroot's build dir
>  
>  repo="${1}"
>  rev="${2}"
>  output="${3}"
>  
> -${BZR} export "${output}" "${repo}" -r "${rev}"
> +tmp_dl="$( mktemp "${BUILD_DIR}/.XXXXXX" )"
> +
> +# Remove leftovers from a previous failed run
> +rm -rf "${BUILD_DIR}/.foo.tmp"

As noticed by Thomas on IRC: leftovers from a previous attempt.
Fixed locally, waiting for more review before re-spinning.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-06-01 19:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 17:40 [Buildroot] [PATCH 0/12 v6] Some download-related changes (branch yem/check-downloads) Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 01/12] Makefile: add BR2_DL_DIR to EXTRA_ENV Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 02/12] pkg-infra: also set PKGDIR for the download step Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 03/12] pkg-infra: move the git download helper to a script Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 04/12] pkg-infra: move the svn " Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 05/12] pkg-infra: move the cvs " Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 06/12] pkg-infra: move the hg " Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 07/12] pkg-infra: move the wget " Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 08/12] pkg-infra: move the bzr " Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 09/12] pkg-infra: don't use DL_DIR as scratchpad for temporary downloads Yann E. MORIN
2014-06-01 19:51   ` Yann E. MORIN [this message]
2014-06-01 17:40 ` [Buildroot] [PATCH 10/12] pkg-infra: add possiblity to check downloaded files against known hashes Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 11/12] manual: add documentation about packages' hashes Yann E. MORIN
2014-06-01 20:08   ` Samuel Martin
2014-06-01 20:13     ` Yann E. MORIN
2014-06-01 17:40 ` [Buildroot] [PATCH 12/12] package/ca-certificates: add tarball's hashes Yann E. MORIN
  -- strict thread matches above, loose matches on Subject: below --
2014-06-08 20:43 [Buildroot] [PATCH 0/12 v7] Some download-related changes (branch yem/check-downloads) Yann E. MORIN
2014-06-08 20:43 ` [Buildroot] [PATCH 09/12] pkg-infra: don't use DL_DIR as scratchpad for temporary downloads Yann E. MORIN
2014-06-12  6:53   ` Thomas De Schampheleire
2014-07-02 21:11 [Buildroot] [PATCH 0/12 v10] Some download-related changes (branch yem/check-downloads) Yann E. MORIN
2014-07-02 21:11 ` [Buildroot] [PATCH 09/12] pkg-infra: don't use DL_DIR as scratchpad for temporary downloads Yann E. MORIN

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=20140601195110.GM3430@free.fr \
    --to=yann.morin.1998@free.fr \
    --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 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.