[syslinux] git clone of syslinux with http - submodule issue

Elliott, Robert (Persistent Memory) elliott at hpe.com
Sun Nov 22 10:02:19 PST 2015

The wiki:
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:]: errno=Connection timed out
	Clone of 'git://git.code.sf.net/p/gnu-efi/code' into submodule path 'gnu-efi' failed

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... but is there a direct
way to get the submodules to use http?

Robert Elliott, HPE Persistent Memory

More information about the Syslinux mailing list