[Buildroot] support/download/wrapper expects file output in temp directory but support/wrapper/git produces output.gz
Yann E. MORIN
yann.morin.1998 at free.fr
Wed Aug 6 16:29:34 UTC 2014
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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list