Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] support/download/wrapper expects file output in temp directory but support/wrapper/git produces output.gz
Date: Wed, 6 Aug 2014 18:29:34 +0200	[thread overview]
Message-ID: <20140806162934.GB3891@free.fr> (raw)
In-Reply-To: <53E249EC.9040805@peavey-eu.com>

Graham, All,

On 2014-08-06 16:29 +0100, Graham Newton spake thusly:
> Running support/download/wrapper git fails because the final instruction of
> support/download/git gzips the output file creating output.gz which wrapper
> isn't expecting.

Doh... I wonder how I could let this slip through... :-(

> Example:
> 
> gnewton at ey-debx64-vm01 ~/Working/LinuxBuild $ support/download/wrapper git
> /home/gnewton/Working/LinuxBuild/dl/linux-ti816x_graham_dev.tar.gz
> gitolite at ey-ubsx64-svr02:LinuxKernel ti816x_graham_dev
> linux-ti816x_graham_dev
> Doing shallow clone
> Cloning into bare repository 'linux-ti816x_graham_dev'...
> remote: Counting objects: 48600, done.
> remote: Compressing objects: 100% (46466/46466), done.
> Receiving objects: 100% (48600/48600), 143.16 MiB | 13.99 MiB/s, done.
> remote: Total 48600 (delta 3863), reused 25085 (delta 1546)
> Resolving deltas: 100% (3863/3863), done.
> Checking connectivity... done.
> cat: /home/gnewton/Working/LinuxBuild/output/build/.linux-ti816x_graham_dev.tar.gz.MX7pH9/output:
> No such file or directory
> 
> Build root pulled from git://git.busybox.net/buildroot master today
> (06/08/2014)
> 
> I assume the fix would be to either
> i) in wrapper cat output.gz in the case of git
> ii) copy output.gz to output after the gzip in support/download/git

iii)
    git archive >output.tmp
    gzip -c -9 <output.tmp >output

That's what I'm gonna implement.

Thanks for the report!

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-08-06 16:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 22:19 [Buildroot] [git commit] arch: pass cpu option instead of tune option on ARM Thomas Petazzoni
2014-01-23 15:31 ` Jonas Jensen
2014-01-23 18:15   ` Yann E. MORIN
2014-08-04 14:45     ` Thomas De Schampheleire
2014-08-06 15:29       ` [Buildroot] support/download/wrapper expects file output in temp directory but support/wrapper/git produces output.gz Graham Newton
2014-08-06 16:29         ` Yann E. MORIN [this message]
2014-08-06 16:55           ` Thomas De Schampheleire

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=20140806162934.GB3891@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox