[Buildroot] Per-package download folders and Git caching

Peter Korsgaard peter at korsgaard.com
Tue Apr 3 16:49:42 UTC 2018


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

Hi,

>> >  I know a few users that put their download directory on a samba share or a
 >> > virtualbox/vmware share which has NTFS as underlying filesystem. Although NTFS
 >> > does support hardlinks, I'm not sure that Samba and virtualbox/vmware do. Any
 >> > idea what will happen in such a case?
 >> 
 >> Then presumably the ln call will fail and we download the tarball again
 >> in the new location?

 > No, the script would fail, because the script runs with 'set -e'.

Ahh yes :/

 > Should we do a cp if ln fails, then?

That sounds like a sensible fallback, yes.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list