[Buildroot] How automate source download from a google drive?

Baruch Siach baruch at tkos.co.il
Fri Feb 20 06:33:32 UTC 2015


Hi Bryce,

On Thu, Feb 19, 2015 at 02:12:58PM -0800, Bryce Schober wrote:
> On Wed, Feb 18, 2015 at 5:55 PM, Steve Kenton <skenton at ou.edu> wrote:
> > This is a bit off the wall. I'm working with a package called tovid
> > which you download from a google drive by clicking on a link on the wiki
> > Darn if I can figure out how to put that into the .mk file to automate it.
> > Look through packages directory and did not see anything obviously like it
> >
> > Any thoughts would be appreciated
> 
> This worked:
> wget --no-check-certificate '
> https://docs.google.com/uc?export=download&id=0B7aAfFRdwkUmeGZTT2pua0d1Z2c'
> -O ~/Downloads/tovid.tar.gz
> 
> Based on this SO answer:
> http://unix.stackexchange.com/a/148674/22389
> 
> You'll need to specify the full download name of the file because the wget
> redirect apparently doesn't get it.

wget --content-disposition works for me, almost. I get 
'tovid-0.35.tar.gztovid-0.35.tar.gz'.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list