All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] EXTRA_DOWNLOADS broken when SITE_METHOD = git
@ 2018-04-25  8:56 Luca Ceresoli
  2018-04-25 17:22 ` Yann E. MORIN
  2018-04-25 19:27 ` Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Luca Ceresoli @ 2018-04-25  8:56 UTC (permalink / raw)
  To: buildroot

Hi,

I noticed a problem with the EXTRA_DOWNLOADS for packages whose "main"
download happens using git (most likely applies to other SCMs too).

With the following defconfig:

BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="foo"
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.denx.de/u-boot.git"
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2018.03"

and the following line added to boot/uboot/uboot.mk:

UBOOT_EXTRA_DOWNLOADS += https://buildroot.org/images/logo.png

With Buildroot 2018.02, 'make uboot-source' downloads only the main git
sources. The URL mentioned in UBOOT_EXTRA_DOWNLOADS is ignored.

With Buildroot master (2018.02-934-gf5b14df1104c), the same command
tries to download the UBOOT_EXTRA_DOWNLOADS using git and of course it
fails:

Reinitialized existing Git repository in <...>/dl/uboot/git/.git/
Doing a shallow fetch
fatal: repository 'https://buildroot.org/images/' not found
Shallow fetch failed, falling back to fetching all refs
Fetching all references
fatal: repository 'https://buildroot.org/images/' not found

I think both behaviors are wrong: EXTRA_DOWNLOADS should always use wget
or cp, just as the manual says, and common sense suggests.

Regards,
-- 
Luca

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-25 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-25  8:56 [Buildroot] EXTRA_DOWNLOADS broken when SITE_METHOD = git Luca Ceresoli
2018-04-25 17:22 ` Yann E. MORIN
2018-04-25 17:46   ` Yann E. MORIN
2018-04-25 19:27 ` Thomas Petazzoni
2018-04-25 21:01   ` Ricardo Martincoski
2018-04-25 21:06     ` Thomas Petazzoni
2018-04-25 22:12       ` Ricardo Martincoski

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.