gitmodules: use qemu.org git mirrors
PATCH 1/1 gitmodules: use qemu.org git mirrors
qemu.org hosts git repository mirrors of all submodules. Update .gitmodules to use the mirrors and not the upstream repositories.
Mirroring upstream repositories ensures that QEMU continues to build even when upstream repositories are deleted or temporarily offline.
---
Based-on: <[email protected]>
"[PATCH v2 0/2] slirp: move slirp as git submodule project"
Peter: Please apply Marc-André's series. I have set up the necessary mirrors and this patch will fix up the libsirp URL as well as the other URLs.
.gitmodules | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
.gitmodules +5 -5
@@ -39,19 +39,19 @@ url = https://git.qemu.org/git/capstone.git [submodule "roms/seabios-hppa"] path = roms/seabios-hppa - url = https://github.com/hdeller/seabios-hppa.git + url = https://git.qemu.org/git/seabios-hppa.git [submodule "roms/u-boot-sam460ex"] path = roms/u-boot-sam460ex url = https://git.qemu.org/git/u-boot-sam460ex.git [submodule "tests/fp/berkeley-testfloat-3"] path = tests/fp/berkeley-testfloat-3 - url = https://github.com/cota/berkeley-testfloat-3 + url = https://git.qemu.org/git/berkeley-testfloat-3.git [submodule "tests/fp/berkeley-softfloat-3"] path = tests/fp/berkeley-softfloat-3 - url = https://github.com/cota/berkeley-softfloat-3 + url = https://git.qemu.org/git/berkeley-softfloat-3.git [submodule "roms/edk2"] path = roms/edk2 - url = https://github.com/tianocore/edk2.git + url = https://git.qemu.org/git/tianocore/edk2.git [submodule "slirp"] path = slirp - url = https://gitlab.freedesktop.org/slirp/libslirp.git + url = https://git.qemu.org/git/libslirp.git
Signature · 1 line
2.20.1
Hi Stefan,
Quoted 33 lines · Stefan Hajnoczi
qemu.org hosts git repository mirrors of all submodules. Update .gitmodules to use the mirrors and not the upstream repositories.
Mirroring upstream repositories ensures that QEMU continues to build even when upstream repositories are deleted or temporarily offline.
Signed-off-by Stefan Hajnoczi <[email protected]>---
Based-on: <[email protected]>
"[PATCH v2 0/2] slirp: move slirp as git submodule project"Peter: Please apply Marc-André's series. I have set up the necessary mirrors and this patch will fix up the libsirp URL as well as the other URLs.
.gitmodules | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-).gitmodules +1
-1@@ -39,19 +39,19 @@ url = https://git.qemu.org/git/capstone.git [submodule "roms/seabios-hppa"] path = roms/seabios-hppa - url = https://github.com/hdeller/seabios-hppa.git + url = https://git.qemu.org/git/seabios-hppa.git [submodule "roms/u-boot-sam460ex"] path = roms/u-boot-sam460ex url = https://git.qemu.org/git/u-boot-sam460ex.git [submodule "tests/fp/berkeley-testfloat-3"] path = tests/fp/berkeley-testfloat-3
.gitmodules line 54
Quoted 10 lines
.gitmodules +3
-3- url = https://github.com/cota/berkeley-testfloat-3 + url = https://git.qemu.org/git/berkeley-testfloat-3.git [submodule "tests/fp/berkeley-softfloat-3"] path = tests/fp/berkeley-softfloat-3 - url = https://github.com/cota/berkeley-softfloat-3 + url = https://git.qemu.org/git/berkeley-softfloat-3.git [submodule "roms/edk2"] path = roms/edk2 - url = https://github.com/tianocore/edk2.git + url = https://git.qemu.org/git/tianocore/edk2.git
I'm getting:
Entering 'roms/edk2'
fatal: repository 'https://git.qemu.org/git/tianocore/edk2.git/' not found
OK, got it, the correct URL is https://git.qemu.org/git/edk2.git
(without 'tianocore')
With the URL or the path locally updated:
Quoted 5 lines
.gitmodules +1
-1[submodule "slirp"] path = slirp - url = https://gitlab.freedesktop.org/slirp/libslirp.git + url = https://git.qemu.org/git/libslirp.git
Quoted 52 lines · Philippe Mathieu-Daudé
Hi Stefan,
Quoted 33 lines · Stefan Hajnoczi
qemu.org hosts git repository mirrors of all submodules. Update .gitmodules to use the mirrors and not the upstream repositories.
Mirroring upstream repositories ensures that QEMU continues to build even when upstream repositories are deleted or temporarily offline.
Signed-off-by Stefan Hajnoczi <[email protected]>---
Based-on: <[email protected]>
"[PATCH v2 0/2] slirp: move slirp as git submodule project"Peter: Please apply Marc-André's series. I have set up the necessary mirrors and this patch will fix up the libsirp URL as well as the other URLs.
.gitmodules | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-).gitmodules +1
-1@@ -39,19 +39,19 @@ url = https://git.qemu.org/git/capstone.git [submodule "roms/seabios-hppa"] path = roms/seabios-hppa - url = https://github.com/hdeller/seabios-hppa.git + url = https://git.qemu.org/git/seabios-hppa.git [submodule "roms/u-boot-sam460ex"] path = roms/u-boot-sam460ex url = https://git.qemu.org/git/u-boot-sam460ex.git [submodule "tests/fp/berkeley-testfloat-3"] path = tests/fp/berkeley-testfloat-3.gitmodules line 54
Quoted 10 lines
.gitmodules +3
-3- url = https://github.com/cota/berkeley-testfloat-3 + url = https://git.qemu.org/git/berkeley-testfloat-3.git [submodule "tests/fp/berkeley-softfloat-3"] path = tests/fp/berkeley-softfloat-3 - url = https://github.com/cota/berkeley-softfloat-3 + url = https://git.qemu.org/git/berkeley-softfloat-3.git [submodule "roms/edk2"] path = roms/edk2 - url = https://github.com/tianocore/edk2.git + url = https://git.qemu.org/git/tianocore/edk2.gitI'm getting:
Entering 'roms/edk2'
fatal: repository 'https://git.qemu.org/git/tianocore/edk2.git/' not found
Quoted 7 lines
OK, got it, the correct URL is https://git.qemu.org/git/edk2.git
(without 'tianocore')With the URL or the path locally updated:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Doh, I should have run "git submodule update --init" in addition to ./configure && make.
Will fix in v2.
Stefan