downloads: removing git repos and offline builds
I've been using buildroot for many years and have always been able to archive (previously in SVN, now in Git/LFS) the contents of the downloads directory so that production firmware can be built offline using nothing but files checked out from SVN/Git. A question has come up with opkg-utils. It downloads a source tarball and clones a git repository:
$ ls -l downloads/opkg-utils/
total 48
drwxr-xr-x 4 grante grante 4096 Nov 19 09:25 git
-rw-r--r-- 1 grante grante 512 Nov 19 09:25 git.readme
-rw-r--r-- 1 grante grante 36872 Nov 19 09:25 opkg-utils-0.6.2-br1.tar.gzActually, I'm not entirely sure whether it downloaded that tarball or created it from the git repository -- I now suspect the latter.
In either case, I can't archive a git repository.
It _appears_ that removing the git repo and leaving the tar.gz file is sufficient for doing a build, and if that tarball is present buildroot won't need to access the upstream git repository (thus allowing offline builds using the arhcived tarball).
Requiring offline builds for production firmware can't be that unusual.
Is just removing the git repo and archiving the tarball how people usually deal with this situation?
--
Grant
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot