[syslinux] git clone of syslinux with http - submodule issue, in fact a firewall isssue
Geert Stappers
stappers at stappers.nl
Sun Nov 22 16:03:15 PST 2015
On Sun, Nov 22, 2015 at 06:02:19PM +0000, Elliott, Robert (Persistent Memory) via Syslinux wrote:
> The wiki:
> http://www.zytor.com/mailman/listinfo/syslinux
> says to use this to clone git with http rather than git protocol:
> git clone --recursive http://repo.or.cz/syslinux.git a-new-directory
>
> That works for the main project, but fails for the gnu-efi
> submodule, which specifies the git protocol in its .config file:
>
> $ git clone --recursive http://repo.or.cz/syslinux.git syslinux
> Cloning into 'syslinux'...
> remote: Counting objects: 50634, done.
> remote: Total 50634 (delta 0), reused 0 (delta 0)
> Receiving objects: 100% (50634/50634), 22.12 MiB | 1.91 MiB/s, done.
> Resolving deltas: 100% (37763/37763), done.
> Submodule 'gnu-efi' (git://git.code.sf.net/p/gnu-efi/code) registered for path 'gnu-efi'
> Cloning into 'gnu-efi'...
> fatal: unable to connect to git.code.sf.net:
> git.code.sf.net[0: 216.34.181.155]: errno=Connection timed out
> Clone of 'git://git.code.sf.net/p/gnu-efi/code' into submodule path 'gnu-efi' failed
Most likely due some firewall that does NOT allow traffic over the git port 9418
>
> As a workaround, I set up a git proxy with socat as described
> on https://gist.github.com/sit/49288 (which is generally useful).
>
> The syslinux wiki could point to that...
True
> but is there a direct way to get the submodules to use http?
https://www.google.nl/search?q=git+supported+protocols
Groeten
Geert Stappers
--
stappers op nero:~/orkest
$ git clone --recursive http://repo.or.cz/syslinux.git a-new-directory
Cloning into 'a-new-directory'...
remote: Counting objects: 50634, done.
remote: Total 50634 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (50634/50634), 22.12 MiB | 1.86 MiB/s, done.
Resolving deltas: 100% (37763/37763), done.
Checking connectivity... done.
Submodule 'gnu-efi' (git://git.code.sf.net/p/gnu-efi/code) registered for path 'gnu-efi'
Cloning into 'gnu-efi'...
remote: Counting objects: 764, done.
remote: Compressing objects: 100% (670/670), done.
remote: Total 764 (delta 420), reused 111 (delta 18)
Receiving objects: 100% (764/764), 279.30 KiB | 454.00 KiB/s, done.
Resolving deltas: 100% (420/420), done.
Checking connectivity... done.
Submodule path 'gnu-efi': checked out 'ab54e2b40e914d0ca01dc3d44c8d4eb8517bf999'
stappers op nero:~/orkest
$ ls a-new-directory/
codepage dos gpxe man now.pl version
com32 dosutil libfat mbr README version.pl
COPYING dummy.c libinstaller memdisk sample win
core efi linux mime syslinux.spec.in win32
devel extlinux lzo mk tests win64
diag gen-id.sh Makefile mtools txt
doc gnu-efi Makefile.private NEWS utils
stappers op nero:~/orkest
$ echo HTTP is not the only network protocol
HTTP is not the only network protocol
More information about the Syslinux
mailing list