[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] gitmodules: use qemu.org git mirrors
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] gitmodules: use qemu.org git mirrors |
Date: |
Thu, 25 Apr 2019 15:51:54 +0100 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Thu, Apr 25, 2019 at 03:14:29PM +0200, Philippe Mathieu-Daudé wrote:
> Hi Stefan,
>
> On 4/25/19 2:56 PM, Stefan Hajnoczi wrote:
> > 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 <address@hidden>
> > ---
> > Based-on: <address@hidden>
> > "[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(-)
> >
> > diff --git a/.gitmodules b/.gitmodules
> > index aa77ce6f50..84b260031c 100644
> > --- a/.gitmodules
> > +++ b/.gitmodules
> > @@ -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
>
> 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:
>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Tested-by: Philippe Mathieu-Daudé <address@hidden>
Doh, I should have run "git submodule update --init" in addition to
./configure && make.
Will fix in v2.
Stefan
signature.asc
Description: PGP signature